Skip to content

修复遮罩不能消失#262

Merged
eritpchy merged 2 commits intoeritpchy:mainfrom
GreenTeodoro839:main
Mar 6, 2026
Merged

修复遮罩不能消失#262
eritpchy merged 2 commits intoeritpchy:mainfrom
GreenTeodoro839:main

Conversation

@GreenTeodoro839
Copy link

No description provided.

Copilot AI review requested due to automatic review settings March 4, 2026 14:36
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

该 PR 旨在修复微信支付(LiteApp 键盘检测路径)中指纹遮罩/键盘遮罩在键盘收起后无法正确消失的问题,确保 UI 状态能被完整恢复。

Changes:

  • 在检测到键盘从“显示”切换到“隐藏”时,同时移除指纹遮罩与键盘遮罩(keyboardCoverLayout)。
  • 在清理保存的状态映射前,先恢复密码区域子 View 的 alpha/clickable 状态,避免残留不可见/不可点击状态。

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines 193 to 198
restoreKeyboardContainerHeight(mKeyboardContainer);
cancelFingerprintIdentify();
// Restore child view states before clearing
restoreChildViewStates(mKeyboardPasswordLayout, true, mSavedAlphaMap, mSavedClickableMap);
mSavedAlphaMap.clear();
mSavedClickableMap.clear();
Copy link

Copilot AI Mar 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this LiteApp keyboard-hide path you rely on cancelFingerprintIdentify() to stop the biometric flow, but cancelFingerprintIdentify() is a no-op when fingerprintScanStateReady == false and also won’t reset mMockCurrentUser. If the dialog is dismissed while identify is initializing, the mock-user state can remain enabled. Consider either (a) setting mMockCurrentUser = false here and clearing mFingerprintIdentify, or (b) updating cancelFingerprintIdentify() to always call cancelIdentify() regardless of fingerprintScanStateReady.

Copilot uses AI. Check for mistakes.
@eritpchy eritpchy merged commit 2b7b8d9 into eritpchy:main Mar 6, 2026
3 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants