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

Commit 87038509 authored by John Spurlock's avatar John Spurlock Committed by Android (Google) Code Review
Browse files

Merge "Doze: Ensure a doze reset happens after leaving keyguard." into lmp-dev

parents 5507b223 cf5d3c98
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1738,6 +1738,10 @@ public class NotificationPanelView extends PanelView implements
        updateKeyguardStatusBarVisibility();
    }

    public boolean isDozing() {
        return mDozing;
    }

    private static void setBackgroundColorAlpha(final View target, int rgb, int targetAlpha,
            boolean animate) {
        int currentAlpha = getBackgroundAlpha(target);
+1 −1
Original line number Diff line number Diff line
@@ -3641,7 +3641,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
    }

    private void updateDozingState() {
        if (mState != StatusBarState.KEYGUARD) {
        if (mState != StatusBarState.KEYGUARD && !mNotificationPanel.isDozing()) {
            return;
        }
        mNotificationPanel.setDozing(mDozing);