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

Commit 29626966 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Initialize the map before usage"

parents 289bb6d5 626240f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -317,6 +317,7 @@ public class InputManagerService extends IInputManager.Stub
        this.mContext = context;
        this.mHandler = new InputManagerHandler(DisplayThread.get().getLooper());

        mStaticAssociations = loadStaticInputPortAssociations();
        mUseDevInputEventForAudioJack =
                context.getResources().getBoolean(R.bool.config_useDevInputEventForAudioJack);
        Slog.i(TAG, "Initializing input manager, mUseDevInputEventForAudioJack="
@@ -328,7 +329,6 @@ public class InputManagerService extends IInputManager.Stub
        mDoubleTouchGestureEnableFile = TextUtils.isEmpty(doubleTouchGestureEnablePath) ? null :
            new File(doubleTouchGestureEnablePath);

        mStaticAssociations = loadStaticInputPortAssociations();
        LocalServices.addService(InputManagerInternal.class, new LocalService());
    }