commit | 05904655ba7e7a2cd188ecdf5ebd930ead78a48e | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Tue Apr 09 16:16:15 2019 -0700 |
committer | Lucas Dupin <dupin@google.com> | Tue Apr 09 16:34:38 2019 -0700 |
tree | ba425a2316ba950e3f155ba89b0398685a4ff30f | |
parent | a29d4340068943bc30508727d3d81da6f971e4cd [diff] [blame] |
Only show 'scanning' animation on bouncer We're trying to minimize how much information the user has to parse when authenticating. Fixes: 130223968 Test: manually swipe up and down Change-Id: I35fa0c417965dd64eefd67ec5a3b7b5076663752
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java index a87e50c..44542eb 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/KeyguardIndicationController.java
@@ -83,7 +83,7 @@ private final int mSlowThreshold; private final int mFastThreshold; - private LockIcon mLockIcon; + private final LockIcon mLockIcon; private StatusBarKeyguardViewManager mStatusBarKeyguardViewManager; private String mRestingIndication; @@ -686,5 +686,10 @@ updateIndication(false); } } + + @Override + public void onKeyguardBouncerChanged(boolean bouncer) { + mLockIcon.setBouncerVisible(bouncer); + } }; }