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

Commit c3de534b authored by Danesh M's avatar Danesh M Committed by Gerrit Code Review
Browse files

Lockscreen : Disable left edge after showing keyguard

CYNGNOS-2816

Change-Id: Ie2ef88765f52e099d61d250faa9ae4100726abf3
parent 59cd5997
Loading
Loading
Loading
Loading
+9 −0
Original line number Original line Diff line number Diff line
@@ -1300,6 +1300,15 @@ public class KeyguardViewMediator extends SystemUI {
        if (mStatusBar.isAffordanceSwipeInProgress()) {
        if (mStatusBar.isAffordanceSwipeInProgress()) {
            return;
            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() {
        mHandler.post(new Runnable() {
            @Override
            @Override
            public void run() {
            public void run() {
+3 −0
Original line number Original line Diff line number Diff line
@@ -1349,6 +1349,9 @@ public class NotificationPanelView extends PanelView implements
                statusBarState == StatusBarState.SHADE_LOCKED) {
                statusBarState == StatusBarState.SHADE_LOCKED) {
            updateDozingVisibilities(false /* animate */);
            updateDozingVisibilities(false /* animate */);
        }
        }
        if (statusBarState == StatusBarState.KEYGUARD) {
            mShowingExternalKeyguard = false;
        }
        resetVerticalPanelPosition();
        resetVerticalPanelPosition();
        updateQsState();
        updateQsState();
    }
    }