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

Commit 38613cfc authored by Zhu Youhua's avatar Zhu Youhua Committed by Linux Build Service Account
Browse files

SystemUI: Fix no LED indication for missed call when screen off

When device is going to sleep, showKeyguard() will be invoked to show
lock screen. It shouldn't clear the LED notification at this moment.
Do not clear the LED notification in showKeyguard(). This should only
happen when user is actively viewing notification.

Change-Id: Id81b9e854df9510d436f6eb8185ee4411c914dd9
CRs-Fixed: 783613
parent 92068faa
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2620,8 +2620,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        // Expand the window to encompass the full screen in anticipation of the drag.
        // This is only possible to do atomically because the status bar is at the top of the screen!
        mStatusBarWindowManager.setPanelVisible(true);

        if(!force){
            visibilityChanged(true);
        }
        mWaitingForKeyguardExit = false;
        disable(mDisabledUnmodified1, mDisabledUnmodified2, !force /* animate */);
        setInteracting(StatusBarManager.WINDOW_STATUS_BAR, true);