Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30ad8993 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Move fix_line_height_for_locale to 24Q3.aconfig

Bug: 303326708
Bug: 364533012
Flag: EXEMPT removing com.android.text.flags.fix_line_height_for_locale
Test: N/A
Change-Id: I8b68efc1ed3ecb046b4cdcc9ad04118b0c649ad9
parent 8f9218a5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -34,13 +34,6 @@ public class ClientFlags {
        return TextFlags.isFeatureEnabled(Flags.FLAG_NO_BREAK_NO_HYPHENATION_SPAN);
    }

    /**
     * @see Flags#fixLineHeightForLocale()
     */
    public static boolean fixLineHeightForLocale() {
        return TextFlags.isFeatureEnabled(Flags.FLAG_FIX_LINE_HEIGHT_FOR_LOCALE);
    }

    /**
     * @see Flags#fixMisalignedContextMenu()
     */
+0 −2
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ public final class TextFlags {
     */
    public static final String[] TEXT_ACONFIGS_FLAGS = {
            Flags.FLAG_NO_BREAK_NO_HYPHENATION_SPAN,
            Flags.FLAG_FIX_LINE_HEIGHT_FOR_LOCALE,
            Flags.FLAG_FIX_MISALIGNED_CONTEXT_MENU,
    };

@@ -67,7 +66,6 @@ public final class TextFlags {
     */
    public static final boolean[] TEXT_ACONFIG_DEFAULT_VALUE = {
            Flags.noBreakNoHyphenationSpan(),
            Flags.fixLineHeightForLocale(),
            Flags.fixMisalignedContextMenu(),
    };

+8 −0
Original line number Diff line number Diff line
@@ -26,3 +26,11 @@ flag {
  description: "A feature flag that implement inter character justification."
  bug: "283193133"
}

flag {
  name: "fix_line_height_for_locale"
  is_exported: true
  namespace: "text"
  description: "Feature flag that preserve the line height of the TextView and EditText even if the the locale is different from Latin"
  bug: "303326708"
}
+0 −8
Original line number Diff line number Diff line
@@ -11,14 +11,6 @@ flag {
  bug: "281769620"
}

flag {
  name: "fix_line_height_for_locale"
  is_exported: true
  namespace: "text"
  description: "Feature flag that preserve the line height of the TextView and EditText even if the the locale is different from Latin"
  bug: "303326708"
}

flag {
  name: "no_break_no_hyphenation_span"
  is_exported: true