summaryrefslogtreecommitdiff
path: root/services/accessibility/accessibility.aconfig
diff options
context:
space:
mode:
author Riley Jones <jonesriley@google.com> 2025-03-12 23:03:21 +0000
committer Riley Jones <jonesriley@google.com> 2025-03-14 11:44:10 -0700
commit2dfa5c67b432c1e861fbf3ddd2fdb659080837af (patch)
tree93dad55b897ad31d3e62ea51883e46fb7cf29f71 /services/accessibility/accessibility.aconfig
parentcfec003e6b777fc813f68592a79a115685aa0cbe (diff)
Changing A11yManagerService to respond to user switching from Lifecycle instead of Intents.
This shrinks the window in which AMS holds an incorrect userId to near non-existence, preventing most if not all user-incurred bugs regarding wrong userIds. Test: atest AccessibilityManagerServiceTest Flag: com.android.server.accessibility.manager_lifecycle_user_change Bug: 393626471 Change-Id: I9a8d21a7449da9f27cbf283584e0960d8c79d37e
Diffstat (limited to 'services/accessibility/accessibility.aconfig')
-rw-r--r--services/accessibility/accessibility.aconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig
index 35db3c6f0a6d..a133131a1d3f 100644
--- a/services/accessibility/accessibility.aconfig
+++ b/services/accessibility/accessibility.aconfig
@@ -223,6 +223,16 @@ flag {
}
flag {
+ name: "manager_lifecycle_user_change"
+ namespace: "accessibility"
+ description: "Use A11yManagerService's Lifecycle to change users, instead of listening for user changed events."
+ bug: "393626471"
+ metadata {
+ purpose: PURPOSE_BUGFIX
+ }
+}
+
+flag {
name: "motion_event_injector_cancel_fix"
namespace: "accessibility"
description: "Fix the ACTION_CANCEL logic used in MotionEventInjector to avoid InputDispatcher inconsistency"