Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72d45c0a authored by d34d's avatar d34d Committed by Gerrit Code Review
Browse files

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
parent 079dfef1
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -361,7 +361,6 @@ public class NotificationPanelView extends PanelView implements
                mCanDismissKeyguard = true;
                mShowingExternalKeyguard = false;
                mStatusBar.showBouncer();
                mStatusBar.unfocusKeyguardExternalView();
                return true;
            }

+2 −0
Original line number Diff line number Diff line
@@ -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();
        }