diff options
| author | 2024-09-04 23:44:55 +0000 | |
|---|---|---|
| committer | 2024-09-04 23:51:54 +0000 | |
| commit | 900c31fd6c460f57d8c5ec4af4cac65c3bc656f6 (patch) | |
| tree | 898bba2853ffb16a9441d1742a9bca7a1f758cf9 /libs/input/PointerController.cpp | |
| parent | 67271f5bb119609a4f9400b505537de5449cea83 (diff) | |
Sends ACTION_CANCEL before the very first touch exploration HOVER event.
This resets the InputDispatcher state in case the user had a pointer
down (and kept it down) before enabling TalkBack or while booting up
the device before TalkBack has started up.
Fix: 364408887
Test: atest TouchExplorerTest
Test: touch and hold on the screen;
      start TalkBack with a shortcut or adb shell;
      lift your finger off the screen;
      touch the screen again, and observe that touch exploration
      functions properly.
Flag: com.android.server.accessibility.reset_input_dispatcher_before_first_touch_exploration
Change-Id: I1c2bdb7b3d32cd124257e60e8c91c073c3040f50
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions