Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,16 @@ public void onActivityResumed(Activity activity) {
}
keyboardKey.post(() -> onPayDialogShownByKeyboard(activity, decorView, keyboardKey));
} else if (!keyboardVisible && wasVisible[0]) {
// Remove both cover layouts
removeFingerprintCover(decorView);
View kbCover = decorView.findViewWithTag("keyboardCoverLayout");
if (kbCover != null) {
ViewUtils.removeFromSuperView(kbCover);
}
restoreKeyboardContainerHeight(mKeyboardContainer);
cancelFingerprintIdentify();
// Restore child view states before clearing
restoreChildViewStates(mKeyboardPasswordLayout, true, mSavedAlphaMap, mSavedClickableMap);
mSavedAlphaMap.clear();
mSavedClickableMap.clear();
Comment on lines 193 to 198

Copilot AI Mar 5, 2026

Copy link

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.
if (Config.from(listenerContext).isVolumeDownMonitorEnabled()) {
Expand Down Expand Up @@ -394,6 +401,10 @@ public void onWindowDetached() {
final ViewGroup finalKeyboardContainer = keyboardContainer;
final Runnable switchToPasswordRunnable = () -> {
removeFingerprintCover(rootView);
View kbCover = rootView.findViewWithTag("keyboardCoverLayout");
if (kbCover != null) {
ViewUtils.removeFromSuperView(kbCover);
}
restoreKeyboardContainerHeight(finalKeyboardContainer);
restoreChildViewStates(finalPasswordLayout, true, mSavedAlphaMap, mSavedClickableMap);
cancelFingerprintIdentify();
Expand Down
Loading