xref: /aosp_15_r20/frameworks/base/core/java/android/view/accessibility/flags/accessibility_flags.aconfig (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1package: "android.view.accessibility"
2container: "system"
3
4# NOTE: Keep alphabetized to help limit merge conflicts from multiple simultaneous editors.
5
6flag {
7    name: "a11y_expansion_state_api"
8    namespace: "accessibility"
9    description: "Enables new APIs for an app to convey if a node is expanded or collapsed."
10    bug: "362782536"
11    is_exported: true
12}
13
14flag {
15    name: "a11y_is_required_api"
16    namespace: "accessibility"
17    description: "Adds an API to indicate whether a form field (or similar element) is required."
18    bug: "362784403"
19    is_exported: true
20}
21
22flag {
23    name: "a11y_overlay_callbacks"
24    is_exported: true
25    namespace: "accessibility"
26    description: "Whether to allow the passing of result callbacks when attaching a11y overlays."
27    bug: "304478691"
28}
29
30flag {
31    name: "a11y_qs_shortcut"
32    namespace: "accessibility"
33    description: "Add Quick Setting as one of the a11y shortcut options"
34    bug: "297554934"
35}
36
37flag {
38    name: "a11y_selection_api"
39    namespace: "accessibility"
40    description: "Enables new APIs for an AccessibilityService to control selection across nodes."
41    bug: "362782866"
42}
43
44flag {
45    name: "a11y_character_in_window_api"
46    namespace: "accessibility"
47    description: "Enables new extra data key for an AccessibilityService to request character bounds in unmagnified window coordinates."
48    bug: "375429616"
49    is_exported: true
50}
51
52flag {
53    namespace: "accessibility"
54    name: "allow_shortcut_chooser_on_lockscreen"
55    description: "Allows the a11y shortcut disambig dialog to appear on the lockscreen"
56    bug: "303871725"
57}
58
59flag {
60    namespace: "accessibility"
61    name: "braille_display_hid"
62    is_exported: true
63    description: "Enables new APIs for an AccessibilityService to communicate with a HID Braille display"
64    bug: "303522222"
65}
66
67flag {
68    name: "cleanup_accessibility_warning_dialog"
69    namespace: "accessibility"
70    description: "Cleans up duplicated or broken logic surrounding the accessibility warning dialog."
71    bug: "303511250"
72}
73
74flag {
75    namespace: "accessibility"
76    name: "collection_info_item_counts"
77    is_exported: true
78    description: "Fields for total items and the number of important for accessibility items in a collection"
79    bug: "302376158"
80}
81
82flag {
83    namespace: "accessibility"
84    name: "copy_events_for_gesture_detection"
85    description: "Creates copies of MotionEvents and GestureEvents in GestureMatcher"
86    bug: "280130713"
87}
88
89flag {
90    namespace: "accessibility"
91    name: "deprecate_accessibility_announcement_apis"
92    description: "Controls the deprecation of platform APIs related to disruptive accessibility announcements"
93    bug: "376727542"
94    is_exported: true
95}
96
97flag {
98    namespace: "accessibility"
99    name: "deprecate_ani_label_for_apis"
100    description: "Controls the deprecation of AccessibilityNodeInfo labelFor apis"
101    bug: "333783827"
102    is_exported: true
103}
104
105flag {
106    namespace: "accessibility"
107    name: "flash_notification_system_api"
108    is_exported: true
109    description: "Makes flash notification APIs as system APIs for calling from mainline module"
110    bug: "303131332"
111}
112
113flag {
114    namespace: "accessibility"
115    name: "focus_rect_min_size"
116    description: "Ensures the a11y focus rect is big enough to be drawn as visible"
117    bug: "368667566"
118    metadata {
119        purpose: PURPOSE_BUGFIX
120    }
121}
122
123flag {
124    namespace: "accessibility"
125    name: "force_invert_color"
126    description: "Enable force force-dark for smart inversion and dark theme everywhere"
127    bug: "282821643"
128}
129
130flag {
131    name: "migrate_enable_shortcuts"
132    namespace: "accessibility"
133    description: "Refactors deprecated code to use AccessibilityManager#enableShortcutsForTargets."
134    bug: "332006721"
135    metadata {
136        purpose: PURPOSE_BUGFIX
137    }
138}
139
140flag {
141    name: "motion_event_observing"
142    is_exported: true
143    namespace: "accessibility"
144    description: "Allows accessibility services to intercept but not consume motion events from specified sources."
145    bug: "297595990"
146}
147
148flag {
149    namespace: "accessibility"
150    name: "global_action_menu"
151    description: "Allow AccessibilityService to perform GLOBAL_ACTION_MENU"
152    bug: "334954140"
153    is_exported: true
154}
155
156flag {
157    namespace: "accessibility"
158    name: "global_action_media_play_pause"
159    description: "Allow AccessibilityService to perform GLOBAL_ACTION_MEDIA_PLAY_PAUSE"
160    bug: "334954140"
161    is_exported: true
162}
163
164flag {
165    namespace: "accessibility"
166    name: "granular_scrolling"
167    is_exported: true
168    description: "Allow the use of granular scrolling. This allows scrollable nodes to scroll by increments other than a full screen"
169    bug: "302376158"
170}
171
172flag {
173    namespace: "accessibility"
174    name: "reduce_window_content_changed_event_throttle"
175    description: "Reduces the throttle of AccessibilityEvent of TYPE_WINDOW_CONTENT_CHANGED"
176    bug: "277305460"
177}
178
179flag {
180    namespace: "accessibility"
181    name: "remove_child_hover_check_for_touch_exploration"
182    description: "Remove a check for a hovered child that prevents touch events from being delegated to non-direct descendants"
183    bug: "304770837"
184}
185
186flag {
187    name: "skip_accessibility_warning_dialog_for_trusted_services"
188    namespace: "accessibility"
189    description: "Skips showing the accessibility warning dialog for trusted services."
190    bug: "303511250"
191}
192
193flag {
194    namespace: "accessibility"
195    name: "enable_type_window_control"
196    is_exported: true
197    description: "adds new TYPE_WINDOW_CONTROL to AccessibilityWindowInfo for detecting Window Decorations"
198    bug: "320445550"
199}
200
201flag {
202    namespace: "accessibility"
203    name: "update_always_on_a11y_service"
204    description: "Updates the Always-On A11yService state when the user changes the enablement of the shortcut."
205    bug: "298869916"
206}
207
208flag {
209    name: "enable_system_pinch_zoom_gesture"
210    namespace: "accessibility"
211    description: "Feature flag for system pinch zoom gesture detector and related opt-out apis"
212    bug: "283323770"
213}
214
215flag {
216    name: "prevent_leaking_viewrootimpl"
217    namespace: "accessibility"
218    description: "Clear pending messages and callbacks of the handler in AccessibilityInteractionController when the ViewRootImpl is detached from Window to prevent leaking ViewRootImpl"
219    bug: "320701910"
220    metadata {
221        purpose: PURPOSE_BUGFIX
222    }
223}
224
225flag {
226    name: "restore_a11y_shortcut_target_service"
227    namespace: "accessibility"
228    description: "Perform merging and other bug fixes for SettingsProvider restore of ACCESSIBILITY_SHORTCUT_TARGET_SERVICES secure setting"
229    bug: "341374402"
230    metadata {
231        purpose: PURPOSE_BUGFIX
232    }
233}
234
235flag {
236    name: "supplemental_description"
237    namespace: "accessibility"
238    description: "Feature flag for supplemental description api"
239    bug: "375266174"
240    is_exported: true
241}
242
243flag {
244    name: "support_multiple_labeledby"
245    namespace: "accessibility"
246    description: "Feature flag for supporting multiple labels in AccessibilityNodeInfo labeledby api"
247    bug: "333780959"
248    is_exported: true
249}
250
251flag {
252    name: "support_system_pinch_zoom_opt_out_apis"
253    namespace: "accessibility"
254    description: "Feature flag for declaring system pinch zoom opt-out apis"
255    bug: "315089687"
256}
257
258flag {
259    name: "tri_state_checked"
260    namespace: "accessibility"
261    description: "Feature flag for adding tri-state checked api"
262    bug: "333784774"
263    is_exported: true
264}
265
266flag {
267    name: "warning_use_default_dialog_type"
268    namespace: "accessibility"
269    description: "Uses the default type for the A11yService warning dialog, instead of SYSTEM_ALERT_DIALOG"
270    bug: "336719951"
271    metadata {
272        purpose: PURPOSE_BUGFIX
273    }
274}
275
276flag {
277    name: "indeterminate_range_info"
278    namespace: "accessibility"
279    description: "Creates a way to create an INDETERMINATE RangeInfo"
280    bug: "376108874"
281    is_exported: true
282}
283