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

Commit a8909012 authored by Kyrylo Mikos's avatar Kyrylo Mikos Committed by Steve Kondik
Browse files

frameworks/base: Fix key remapping after toggling navigationbar.

Change-Id: I8069e3106601caf3990cbcdc5056ffc64ddf7bcd
parent 10656747
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1622,8 +1622,6 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                updateWakeGestureListenerLp();
            }

            updateKeyAssignments();

            final boolean useEdgeService = Settings.System.getIntForUser(resolver,
                    Settings.System.USE_EDGE_SERVICE_FOR_GESTURES, 1, UserHandle.USER_CURRENT) == 1;
            if (useEdgeService ^ mUsingEdgeGestureServiceForGestures && mSystemReady) {
@@ -1643,6 +1641,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
                mDevForceNavbar = devForceNavbar;
            }

            updateKeyAssignments();

            // Configure rotation lock.
            int userRotation = Settings.System.getIntForUser(resolver,
                    Settings.System.USER_ROTATION, Surface.ROTATION_0,