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

Commit e38c9622 authored by Michał Brzeziński's avatar Michał Brzeziński Committed by Automerger Merge Worker
Browse files

Merge "Disable opening expanded QS from the lockscreen on large screen...

Merge "Disable opening expanded QS from the lockscreen on large screen devices" into sc-v2-dev am: 1574259e

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16004856

Change-Id: I190ef99c8227e9c2f479784920a7bb3095549a55
parents f904b4c8 1574259e
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2690,8 +2690,9 @@ public class NotificationPanelViewController extends PanelViewController {
     * @return Whether we should intercept a gesture to open Quick Settings.
     */
    private boolean shouldQuickSettingsIntercept(float x, float y, float yDiff) {
        if (!isQsExpansionEnabled() || mCollapsedOnDown || (mKeyguardShowing
                && mKeyguardBypassController.getBypassEnabled())) {
        if (!isQsExpansionEnabled() || mCollapsedOnDown
                || (mKeyguardShowing && mKeyguardBypassController.getBypassEnabled())
                || (mKeyguardShowing && mShouldUseSplitNotificationShade)) {
            return false;
        }
        View header = mKeyguardShowing || mQs == null ? mKeyguardStatusBar : mQs.getHeader();