diff options
| author | 2023-07-06 14:22:08 -0700 | |
|---|---|---|
| committer | 2025-01-27 21:13:34 +0000 | |
| commit | 8a1be9125beb41e22d59e55ce64627be1a2c2880 (patch) | |
| tree | b1cd983662018699d11ab1f9f1ebac75070f5b1b /libs/gui/ConsumerBase.cpp | |
| parent | c09f9fa24c60880b92ed7b42a454824e559b2027 (diff) | |
Tracks whether an injected MotionEvent came from an accessibility tool.
This property can be checked by the View to allow sensitive views
to ignore gestures injected by non-tool accessibility services.
Sensitive views should continue responding to gestures injected
by Accessibility Tools.
Note: The files in this change do not reference the new flag, but this
change is a no-op if the flag is not enabled. See other change in this
topic.
Bug: 284180538
Flag: android.view.accessibility.prevent_a11y_nontool_from_injecting_into_sensitive_views
Test: atest InputDispatcher_test.cpp
Test: See other change in topic for tests using this property
Change-Id: I40ba79852045aaefe84f7ab87d5e08c42509f1e7
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions