1package: "com.android.text.flags"
2container: "system"
3
4flag {
5  name: "vendor_custom_locale_fallback"
6  namespace: "text"
7  description: "A feature flag that adds custom locale fallback to the vendor customization XML. This enables vendors to add their locale specific fonts, e.g. Japanese font."
8  is_fixed_read_only: true
9  bug: "278768958"
10}
11
12flag {
13  name: "new_fonts_fallback_xml"
14  is_exported: true
15  namespace: "text"
16  description: "Feature flag for deprecating fonts.xml. By setting true for this feature flag, the new font configuration XML, /system/etc/font_fallback.xml is used. The new XML has a new syntax and flexibility of variable font declarations, but it is not compatible with the apps that reads fonts.xml. So, fonts.xml is maintained as a subset of the font_fallback.xml"
17  # Make read only, as it could be used before the Settings provider is initialized.
18  is_fixed_read_only: true
19  bug: "281769620"
20}
21
22flag {
23  name: "fix_double_underline"
24  namespace: "text"
25  description: "Feature flag for fixing double underline because of the multiple font used in the single line."
26  bug: "297336724"
27}
28
29flag {
30  name: "fix_line_height_for_locale"
31  is_exported: true
32  namespace: "text"
33  description: "Feature flag that preserve the line height of the TextView and EditText even if the the locale is different from Latin"
34  bug: "303326708"
35}
36
37flag {
38  name: "no_break_no_hyphenation_span"
39  is_exported: true
40  namespace: "text"
41  description: "A feature flag that adding new spans that prevents line breaking and hyphenation."
42  bug: "283193586"
43}
44
45flag {
46  name: "use_optimized_boottime_font_loading"
47  namespace: "text"
48  description: "Feature flag ensuring that font is loaded once and asynchronously."
49  # Make read only, as font loading is in the critical boot path which happens before the read-write
50  # flags propagate to the device.
51  is_fixed_read_only: true
52  bug: "304406888"
53}
54
55flag {
56  name: "complete_font_load_in_system_services_ready"
57  namespace: "text"
58  description: "Fix to ensure that font loading is complete on system-services-ready boot phase."
59  # Make read only, as font loading is in the critical boot path which happens before the read-write
60  # flags propagate to the device.
61  is_fixed_read_only: true
62  bug: "327941215"
63  metadata {
64    purpose: PURPOSE_BUGFIX
65  }
66}
67
68flag {
69  name: "phrase_strict_fallback"
70  namespace: "text"
71  description: "Feature flag for automatic fallback from phrase based line break to strict line break."
72  bug: "281970875"
73}
74
75flag {
76  name: "use_bounds_for_width"
77  is_exported: true
78  namespace: "text"
79  description: "Feature flag for preventing horizontal clipping."
80  bug: "63938206"
81}
82
83flag {
84  name: "deprecate_ui_fonts"
85  namespace: "text"
86  description: "Feature flag for deprecating UI fonts. By setting true for this feature flag, the elegant text height of will be turned on by default unless explicitly setting it to false by attribute or Java API call."
87  bug: "279646685"
88}
89
90flag {
91  name: "word_style_auto"
92  is_exported: true
93  namespace: "text"
94  description: "A feature flag that implements line break word style auto."
95  bug: "280005585"
96}
97
98flag {
99  name: "letter_spacing_justification"
100  is_exported: true
101  namespace: "text"
102  description: "A feature flag that implement inter character justification."
103  bug: "283193133"
104}
105
106flag {
107  name: "escape_clears_focus"
108  namespace: "text"
109  description: "Feature flag for clearing focus when the escape key is pressed."
110  bug: "312921137"
111}
112
113flag {
114  name: "insert_mode_crash_when_delete"
115  namespace: "text"
116  description: "A feature flag for fixing the crash while delete text in insert mode."
117  bug: "314254153"
118}
119
120flag {
121  name: "insert_mode_not_update_selection"
122  namespace: "text"
123  description: "Fix that InputService#onUpdateSelection is not called when insert mode gesture is performed."
124  bug: "300850862"
125}
126
127flag {
128  name: "icu_bidi_migration"
129  namespace: "text"
130  description: "A flag for replacing AndroidBidi with android.icu.text.Bidi."
131  bug: "317144801"
132}
133
134flag {
135  name: "lazy_variation_instance"
136  namespace: "text"
137  description: "A flag for enabling lazy variation instance creation."
138  # Make read only, as it could be used before the Settings provider is initialized.
139  is_fixed_read_only: true
140  bug: "324676775"
141}
142
143flag {
144  name: "handwriting_end_of_line_tap"
145  namespace: "text"
146  description: "Initiate handwriting when stylus taps at the end of a line in a focused non-empty TextView with the cursor at the end of that line"
147  bug: "323376217"
148}
149
150flag {
151  name: "handwriting_cursor_position"
152  namespace: "text"
153  description: "When handwriting is initiated in an unfocused TextView, cursor is placed at the end of the closest paragraph."
154  bug: "323376217"
155}
156
157flag {
158  name: "handwriting_unsupported_message"
159  namespace: "text"
160  description: "Feature flag for showing error message when user tries stylus handwriting on a text field which doesn't support it"
161  bug: "297962571"
162}
163
164flag {
165  name: "fix_font_update_failure"
166  namespace: "text"
167  description: "There was a bug of updating system font from Android 13 to 14. This flag for fixing the migration failure."
168  is_fixed_read_only: true
169  bug: "331717791"
170  metadata {
171    purpose: PURPOSE_BUGFIX
172  }
173}
174
175flag {
176  name: "fix_misaligned_context_menu"
177  namespace: "text"
178  description: "Fix the context menu misalignment and incosistent icon size."
179  bug: "332542108"
180  metadata {
181    purpose: PURPOSE_BUGFIX
182  }
183}
184
185flag {
186  name: "missing_getter_apis"
187  namespace: "text"
188  description: "Fix the lint warning about missing getters."
189  bug: "340875345"
190  metadata {
191    purpose: PURPOSE_BUGFIX
192  }
193}
194
195flag {
196  name: "disable_handwriting_initiator_for_ime"
197  namespace: "text"
198  description: "Don't initiate handwriting for IME views."
199  bug: "343304685"
200  metadata {
201    purpose: PURPOSE_BUGFIX
202  }
203}
204
205flag {
206  name: "fix_null_typeface_bolding"
207  namespace: "text"
208  description: "Use a bold typeface when bolding is enabled and the original typeface is null"
209  bug: "314811487"
210  metadata {
211    purpose: PURPOSE_BUGFIX
212  }
213}
214
215flag {
216  name: "rust_hyphenator"
217  namespace: "text"
218  description: "Reimplement hyphenator for safe file read"
219  # Hyphenator is initialized in Zygote
220  is_fixed_read_only: true
221  bug: "346915432"
222}
223