Allow TOUCHSCREEN event observing while TouchExploration is enabled.
Bug: 344604959
Flag: com.android.server.accessibility.always_allow_observing_touch_events
Test: atest AccessibilityEndToEndTest
Test: Verified by MotionEvent-observing service on the watch
Change-Id: I309846bfd22f0a84e4d985c4831bf5b147c11b26
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig
index 9353150..b4efae3 100644
--- a/services/accessibility/accessibility.aconfig
+++ b/services/accessibility/accessibility.aconfig
@@ -11,6 +11,16 @@
}
flag {
+ name: "always_allow_observing_touch_events"
+ namespace: "accessibility"
+ description: "Always allows InputFilter observing SOURCE_TOUCHSCREEN events, even if touch exploration is enabled."
+ bug: "344604959"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "resettable_dynamic_properties"
namespace: "accessibility"
description: "Maintains initial copies of a11yServiceInfo dynamic properties so they can reset on disconnect."