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

Commit e90cc2fb authored by Vaibhav Devmurari's avatar Vaibhav Devmurari Committed by Android (Google) Code Review
Browse files

Merge "Fix: unnecessary shortcut data and observer setup" into main

parents 8bbc20f0 30adda5c
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -623,10 +623,11 @@ public class InputManagerService extends IInputManager.Stub
        mKeyRemapper.systemRunning();
        mPointerIconCache.systemRunning();
        mKeyboardGlyphManager.systemRunning();
        if (useKeyGestureEventHandler()) {
            mKeyGestureController.systemRunning();

            initKeyGestures();
        }
    }

    private void reloadDeviceAliases() {
        if (DEBUG) {
@@ -2608,9 +2609,6 @@ public class InputManagerService extends IInputManager.Stub
    }

    private void initKeyGestures() {
        if (!useKeyGestureEventHandler()) {
            return;
        }
        InputManager im = Objects.requireNonNull(mContext.getSystemService(InputManager.class));
        im.registerKeyGestureEventHandler(new InputManager.KeyGestureEventHandler() {
            @Override