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

Commit 7f3d1546 authored by Danesh M's avatar Danesh M Committed by Danesh M
Browse files

Lockscreen : Disable left edge after showing keyguard

CYNGNOS-2816

Change-Id: Ie2ef88765f52e099d61d250faa9ae4100726abf3
(cherry picked from commit c3de534b)
parent 45c97cd4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1300,6 +1300,15 @@ public class KeyguardViewMediator extends SystemUI {
        if (mStatusBar.isAffordanceSwipeInProgress()) {
            return;
        }

        // Disable edge detector once we're back on lockscreen
        try {
            WindowManagerGlobal.getWindowManagerService()
                    .setLiveLockscreenEdgeDetector(false);
        } catch (RemoteException e){
            Log.e(TAG, e.getMessage());
        }

        mHandler.post(new Runnable() {
            @Override
            public void run() {
+3 −0
Original line number Diff line number Diff line
@@ -1349,6 +1349,9 @@ public class NotificationPanelView extends PanelView implements
                statusBarState == StatusBarState.SHADE_LOCKED) {
            updateDozingVisibilities(false /* animate */);
        }
        if (statusBarState == StatusBarState.KEYGUARD) {
            mShowingExternalKeyguard = false;
        }
        resetVerticalPanelPosition();
        updateQsState();
    }