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

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

Made the drag down anywhere on lockscreen go to the shade locked

am: 5f1fb46e

Change-Id: I302c89b74927728f3c7e34ef434fd8db1d6f4263
parents e27a2f25 5f1fb46e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1967,7 +1967,8 @@ public class NotificationPanelView extends PanelView implements
     * @return Whether we should intercept a gesture to open Quick Settings.
     */
    private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) {
        if (!mQsExpansionEnabled || mCollapsedOnDown) {
        if (!mQsExpansionEnabled || mCollapsedOnDown
                || (mKeyguardShowing && mKeyguardBypassController.getBypassEnabled())) {
            return false;
        }
        View header = mKeyguardShowing || mQs == null ? mKeyguardStatusBar : mQs.getHeader();
+1 −1
Original line number Diff line number Diff line
@@ -419,7 +419,7 @@ public class StatusBarWindowView extends FrameLayout {
        if (mNotificationPanel.isFullyExpanded()
                && mStatusBarStateController.getState() == StatusBarState.KEYGUARD
                && !mService.isBouncerShowing()
                && (!mBypassController.getBypassEnabled() || mNotificationPanel.isQsExpanded())
                && !mBypassController.getBypassEnabled()
                && !mService.isDozing()) {
            intercept = mDragDownHelper.onInterceptTouchEvent(ev);
        }