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

Commit d01651bd authored by Kevin Chyn's avatar Kevin Chyn Committed by android-build-merger
Browse files

Merge "Add method to cancel StatusBar touch" into oc-mr1-dev am: d180d763

am: a69bdd0a

Change-Id: I26e40e49003c377de18df68d3da014cb173ccd69
parents 2f9d43e3 a69bdd0a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -5153,6 +5153,14 @@ public class StatusBar extends SystemUI implements DemoMode,
        recomputeDisableFlags(true /* animate */);
    }

    public void cancelCurrentTouch() {
        if (mNotificationPanel.isTracking()) {
            mStatusBarWindow.cancelCurrentTouch();
            if (mState == StatusBarState.SHADE) {
                animateCollapsePanels();
            }
        }
    }

    WakefulnessLifecycle.Observer mWakefulnessObserver = new WakefulnessLifecycle.Observer() {
        @Override