diff options
author | d34d <clark@cyngn.com> | 2016-05-16 10:24:39 -0700 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2016-05-16 15:49:53 -0700 |
commit | 72d45c0ad37d6d0431d29bbc4900070800639278 (patch) | |
tree | ded089cb95abd52d330a85f9d19aeb677f6b2fbf /packages | |
parent | 079dfef1ddf7843425522fbaf6233b6166db44dd (diff) | |
download | frameworks_base-72d45c0ad37d6d0431d29bbc4900070800639278.zip frameworks_base-72d45c0ad37d6d0431d29bbc4900070800639278.tar.gz frameworks_base-72d45c0ad37d6d0431d29bbc4900070800639278.tar.bz2 |
LLS: Ensure LLS loses focus when showing bouncer
Let showBouncer take care of removing focus from the LLS instead of
relying on the callers to do so.
Change-Id: Iaec9ad74b3498ea385bdecbfc5173a9d482b043e
TICKET: FEIJ-531
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java | 1 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index cc246d7..7eb9ef9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -361,7 +361,6 @@ public class NotificationPanelView extends PanelView implements mCanDismissKeyguard = true; mShowingExternalKeyguard = false; mStatusBar.showBouncer(); - mStatusBar.unfocusKeyguardExternalView(); return true; } 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 cd7049d..1de18d9 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -4684,6 +4684,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode, public void showBouncer() { if (!mRecreating && mNotificationPanel.mCanDismissKeyguard) { + // ensure external keyguard view does not have focus + unfocusKeyguardExternalView(); mWaitingForKeyguardExit = mStatusBarKeyguardViewManager.isShowing(); mStatusBarKeyguardViewManager.dismiss(); } |