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
This commit is contained in:
Zixuan Qu
2022-12-06 19:11:46 +00:00
parent 3ee31de144
commit c5491982b4

View File

@@ -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;