diff options
| author | 2014-11-10 19:27:54 +0100 | |
|---|---|---|
| committer | 2014-11-12 15:02:19 +0100 | |
| commit | d6f440e0fff6c76dffacacf9d054124b7e9a6ce4 (patch) | |
| tree | 0957528b893e0fe1af2528a4445991d7aa215377 | |
| parent | 44f60cca7bb31e2f9b4b7bf25bb2e0cfb0e3e1e1 (diff) | |
Correctly handle launch animations for affordances
Bug: 15991916
Change-Id: I019d28b960bc74f3c0f05081bea4a303b16df204
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index 169764653c3a..881b38ef91f8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -3123,18 +3123,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, protected void dismissKeyguardThenExecute(final OnDismissAction action, boolean afterKeyguardGone) { if (mStatusBarKeyguardViewManager.isShowing()) { - if (UnlockMethodCache.getInstance(mContext).isMethodInsecure() - && mNotificationPanel.isLaunchTransitionRunning() && !afterKeyguardGone) { - action.onDismiss(); - mNotificationPanel.setLaunchTransitionEndRunnable(new Runnable() { - @Override - public void run() { - mStatusBarKeyguardViewManager.dismiss(); - } - }); - } else { - mStatusBarKeyguardViewManager.dismissWithAction(action, afterKeyguardGone); - } + mStatusBarKeyguardViewManager.dismissWithAction(action, afterKeyguardGone); } else { action.onDismiss(); } |