package: "com.android.text.flags" container: "system" flag { name: "use_optimized_boottime_font_loading" namespace: "text" description: "Feature flag ensuring that font is loaded once and asynchronously." # Make read only, as font loading is in the critical boot path which happens before the read-write # flags propagate to the device. is_fixed_read_only: true bug: "304406888" } flag { name: "complete_font_load_in_system_services_ready" namespace: "text" description: "Fix to ensure that font loading is complete on system-services-ready boot phase." # Make read only, as font loading is in the critical boot path which happens before the read-write # flags propagate to the device. is_fixed_read_only: true bug: "327941215" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "escape_clears_focus" namespace: "text" description: "Feature flag for clearing focus when the escape key is pressed." bug: "312921137" } flag { name: "insert_mode_crash_when_delete" namespace: "text" description: "A feature flag for fixing the crash while delete text in insert mode." bug: "314254153" } flag { name: "insert_mode_highlight_range" namespace: "text" description: "Make the highlight range stick after editing, this handles the corner cases where the entire text is replaced with itself(or transformed by developer) after each editing." bug: "355137282" } flag { name: "insert_mode_not_update_selection" namespace: "text" description: "Fix that InputService#onUpdateSelection is not called when insert mode gesture is performed." bug: "300850862" } flag { name: "insert_mode_crash_update_layout_span" namespace: "text" description: "Fix insert mode crash when the text has UpdateLayout span attached." bug: "355137282" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "handwriting_end_of_line_tap" namespace: "text" 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" bug: "323376217" } flag { name: "handwriting_cursor_position" namespace: "text" description: "When handwriting is initiated in an unfocused TextView, cursor is placed at the end of the closest paragraph." bug: "323376217" } flag { name: "handwriting_unsupported_message" namespace: "text" description: "Feature flag for showing error message when user tries stylus handwriting on a text field which doesn't support it" bug: "297962571" } flag { name: "missing_getter_apis" namespace: "text" description: "Fix the lint warning about missing getters." bug: "340875345" metadata { purpose: PURPOSE_BUGFIX } is_exported: true } flag { name: "disable_handwriting_initiator_for_ime" namespace: "text" description: "Don't initiate handwriting for IME views." bug: "343304685" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "fix_null_typeface_bolding" namespace: "text" description: "Use a bold typeface when bolding is enabled and the original typeface is null" bug: "314811487" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "rust_hyphenator" namespace: "text" description: "Reimplement hyphenator for safe file read" # Hyphenator is initialized in Zygote is_fixed_read_only: true bug: "346915432" } flag { name: "clear_font_variation_settings" namespace: "text" description: "The font variation settings must be cleared when the new Typeface is set" bug: "353609778" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "handwriting_gesture_with_transformation" namespace: "text" description: "Fix handwriting gesture is not working when view has transformation." bug: "342619429" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "typeface_cache_for_var_settings" namespace: "text" description: "Cache Typeface instance for font variation settings." bug: "355462362" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "context_menu_hide_unavailable_items" namespace: "text" description: "Hide rather than disable unavailable Editor context menu items." bug: "345709107" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "typeface_redesign_readonly" namespace: "text" description: "Decouple variation settings, weight and style information from Typeface class" bug: "361260253" # This feature does not support runtime flag switch which leads crash in System UI. is_fixed_read_only: true } flag { name: "handwriting_track_disabled" namespace: "text" description: "Handwriting initiator tracks focused view even if handwriting is disabled to fix initiation bug." bug: "361256391" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "handwriting_unsupported_show_soft_input_fix" namespace: "text" description: "Don't show soft keyboard on stylus input if text field doesn't support handwriting and getShowSoftInputOnFocus() returns false." bug: "363180475" metadata { purpose: PURPOSE_BUGFIX } } flag { name: "tts_span_duration" namespace: "text" description: "Feature flag for adding a TYPE_DURATION to TtsSpan" bug: "337103893" is_exported: true } flag { name: "deprecate_elegant_text_height_api" namespace: "text" description: "Deprecate the Paint#elegantTextHeight API and stick it to true" bug: "349519475" is_exported: true } flag { name: "vertical_text_layout" namespace: "text" description: "Make Paint class work for vertical layout text." bug: "355296926" is_exported: true } flag { name: "use_fontation_by_default" namespace: "text" description: "Use Fontation(Skrifa) as a default text reader." bug: "405267306" } flag { name: "language_specific_extent" namespace: "text" description: "Use BASE table in OpenType for fixing vertical clipping." bug: "400594036" # Being read only because this is used in the performance critical path. is_fixed_read_only: true } flag { name: "custom_fallback_for_customization" namespace: "text" description: "Add fallback attribute for custom fallback for customization" bug: "430485331" } flag { name: "do_not_overwrite_static_final_field" namespace: "text" description: "Removing code that write static final field which will not be supported in the upcoming Java" bug: "421199194" # Being read only because this is used in Zygote is_fixed_read_only: true } flag { name: "fix_paint_reset_inconsistency" namespace: "text" description: "Paint.reset method clears members but some of them doesn't clear in native members. Call setter to clear members and native instances." bug: "417989314" } flag { name: "fix_shift_drawing_amount" namespace: "text" description: "Fixing shift_drawing_offset_for_start_overhang that had an issue." bug: "434885800" } flag { name: "fix_shift_drawing_amount_test_api" namespace: "text" description: "Fixing shift_drawing_offset_for_start_overhang that had an issue." bug: "434885800" }