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

Commit a69bdd0a 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

Change-Id: I90a1f8c87a7042f96d30c0ebc1017ef953be31d1
parents f2cf0af2 d180d763
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