diff options
author | Jim Miller <jaggies@google.com> | 2015-03-03 17:12:09 -0800 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2015-03-03 17:12:09 -0800 |
commit | 25d7e51a10828e4433fcca90410d13a4b2342c34 (patch) | |
tree | 4d182ff5535597cc71bd9f7fef9d8f10b14ff58a /packages | |
parent | 4bd091414a8eab104875d0115347307411e27ebd (diff) | |
download | frameworks_base-25d7e51a10828e4433fcca90410d13a4b2342c34.zip frameworks_base-25d7e51a10828e4433fcca90410d13a4b2342c34.tar.gz frameworks_base-25d7e51a10828e4433fcca90410d13a4b2342c34.tar.bz2 |
Change fingerprint behavior in keyguard to dismiss on notification
This changes fingerprint to dismiss the notification screen rather
than moving to a trusted state.
Fixes bug 19592835
Change-Id: I5020408df2e8b73a34c264b5ac052251e3a17b8d
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java | 2 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 1cf0129..0168b95 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -439,6 +439,8 @@ public class KeyguardViewMediator extends SystemUI { public void onFingerprintRecognized(int userId) { if (mStatusBarKeyguardViewManager.isBouncerShowing()) { mViewMediatorCallback.keyguardDone(true); + } else { + mStatusBarKeyguardViewManager.animateCollapsePanels(); } }; diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java index 2f3a159..6369d5e 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/StatusBarKeyguardViewManager.java @@ -31,6 +31,7 @@ import com.android.internal.policy.IKeyguardShowCallback; import com.android.internal.widget.LockPatternUtils; import com.android.keyguard.KeyguardUpdateMonitor; import com.android.keyguard.ViewMediatorCallback; +import com.android.systemui.statusbar.CommandQueue; import static com.android.keyguard.KeyguardHostView.OnDismissAction; @@ -439,4 +440,8 @@ public class StatusBarKeyguardViewManager { public void keyguardGoingAway() { mPhoneStatusBar.keyguardGoingAway(); } + + public void animateCollapsePanels() { + mPhoneStatusBar.animateCollapsePanels(CommandQueue.FLAG_EXCLUDE_NONE, true /* force */); + } } |