diff options
| author | 2023-07-14 15:23:38 -0700 | |
|---|---|---|
| committer | 2025-01-27 22:11:13 +0000 | |
| commit | 2945b46dd7e8346fa6228067683ac57a2a338e86 (patch) | |
| tree | c1736c1630fa85ef0d80d728d1a14dc78c354a18 /libs/androidfw/Idmap.cpp | |
| parent | 28cef9b76c59eb2e8dd4b2614a70217608b978fb (diff) | |
Stop non-tool A11yServices from injecting gestures onto sensitive views.
Sensitive views should continue responding to gestures injected by
Accessibility Tools.
Bug: 284180538
Flag: android.view.accessibility.prevent_a11y_nontool_from_injecting_into_sensitive_views
Test: atest AccessibilityEndToEndTest (CTS)
Test: atest MotionEventInjectorTest
Test: atest AccessibilityServiceConnectionTest
Test: Manual: Create a test service with isAccessibilityTool=true;
dispatch a swipe gesture on the Settings >
Security & Privacy page; observe swipe is successful.
Repeat the above with isAccessibilityTool=false;
observe swipe is ignored.
Change-Id: I4298bb86062e25fa6c9e7f077a3016991d8cb91a
Diffstat (limited to 'libs/androidfw/Idmap.cpp')
0 files changed, 0 insertions, 0 deletions