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

Commit c5491982 authored by Zixuan Qu's avatar Zixuan Qu
Browse files

Make InputDeviceDescriptors map private in InputController.

We added a getter method in ag/20559693 so mInputDeviceDescriptors can stay private now.

Bug: 237537306
Test: atest InputControllerTest

Change-Id: I7c44db6e53cb45047e90d0db470a0a2153ad3cd6
parent 3ee31de1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -78,9 +78,8 @@ class InputController {
    final Object mLock;

    /* Token -> file descriptor associations. */
    @VisibleForTesting
    @GuardedBy("mLock")
    final Map<IBinder, InputDeviceDescriptor> mInputDeviceDescriptors = new ArrayMap<>();
    private final Map<IBinder, InputDeviceDescriptor> mInputDeviceDescriptors = new ArrayMap<>();

    private final Handler mHandler;
    private final NativeWrapper mNativeWrapper;