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

Commit a385f7d2 authored by Selim Cinek's avatar Selim Cinek Committed by android-build-merger
Browse files

Merge "HeadsUpManager: escalate via wakefulness lifecycle instead of broadcast" into oc-dr1-dev

am: 02be5d1d

Change-Id: Ice2cd4a549cdfd4a39c331d9d8063476ec48f518
parents 53a3bcdb 02be5d1d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3720,7 +3720,6 @@ public class StatusBar extends SystemUI implements DemoMode,
                }
            }
            else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
                notifyHeadsUpScreenOff();
                finishBarAnimations();
                resetUserExpandedStates();
            }
@@ -5162,6 +5161,7 @@ public class StatusBar extends SystemUI implements DemoMode,

        @Override
        public void onStartedGoingToSleep() {
            notifyHeadsUpGoingToSleep();
            dismissVolumeDialog();
        }

@@ -7254,7 +7254,7 @@ public class StatusBar extends SystemUI implements DemoMode,
        setAreThereNotifications();
    }

    protected void notifyHeadsUpScreenOff() {
    protected void notifyHeadsUpGoingToSleep() {
        maybeEscalateHeadsUp();
    }