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

Commit af94ad46 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
am: 38d04942

Change-Id: Ife4b8bd70ad64ea8568c0c7c1883b1eb16f80555
parents f98b2781 38d04942
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();
    }