summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Linnan Li <lilinnan@xiaomi.corp-partner.google.com> 2024-04-22 14:29:54 +0800
committer Prabir Pradhan <prabirmsp@google.com> 2024-05-20 14:56:21 +0000
commitdb69719a37eaa99cf5f87c5ff4dfaebe9ec8dcc6 (patch)
tree87779eea191d71c51135090e8b40796d6e3fb7f1 /libs/input/PointerController.cpp
parentc791ff7edfc9aa3a1a036e114b0ef933f7cd7d33 (diff)
Add enabled state to InputDevice and remove isInputDeviceEnabled(1/n)
Since we have added a field for the enabled state to InputDeviceInfo, we have also added the same status field to InputDevice.java. This way, we won't need to call the isInputDeviceEnabled method in InputManager again to send a request to InputManagerService to check if the device is enabled. At this point, we can directly remove the isInputDeviceEnabled method in InputManager, which is used as a hidden API, since it is no longer in use. Bug: 336420877 Test: build & atest InputTests Change-Id: I9274f0bc66b64b81f9375049cc7bf9535c27d06f Signed-off-by: Linnan Li <lilinnan@xiaomi.corp-partner.google.com>
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions