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

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

Merge "HeadsUpManager: escalate via wakefulness lifecycle instead of...

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

Change-Id: Id4d16a264df2865d4066632d9a5e3b0d1a2d6d5f
parents f7ff0c87 a385f7d2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3731,7 +3731,6 @@ public class StatusBar extends SystemUI implements DemoMode,
                }
            }
            else if (Intent.ACTION_SCREEN_OFF.equals(action)) {
                notifyHeadsUpScreenOff();
                finishBarAnimations();
                resetUserExpandedStates();
            }
@@ -5173,6 +5172,7 @@ public class StatusBar extends SystemUI implements DemoMode,

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

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

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