summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2021-08-02 13:06:50 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2021-08-02 13:06:50 +0000
commitcfcd14326e67953e52668363b74c123fe87abe5c (patch)
treecf16e0aa48752db8f4954af9f1df0de8f5706a00
parentd6d30bf7f6051371f5495438bae63aa1c68a4edc (diff)
parent1d3166e69dc0dcf787f0f500d5ab39e054faa5da (diff)
Merge "Password bouncer landscape fix" into sc-dev am: 1d3166e69d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15429525 Change-Id: Iebba984b76b2daa9b6b7c9a6444e94168e1e68dd
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java b/packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
index 90c1e402d248..3a3d30861132 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
@@ -209,6 +209,11 @@ public class KeyguardPasswordView extends KeyguardAbsKeyInputView {
@Override
public void onCancelled(
@Nullable WindowInsetsAnimationController controller) {
+ // It is possible to be denied control of ime insets, which means onReady
+ // is never called. We still need to notify the runnables in order to
+ // complete the bouncer disappearing
+ runOnFinishImeAnimationRunnable();
+ finishRunnable.run();
}
});
return true;