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

Commit 07a8472e authored by Justin Weir's avatar Justin Weir
Browse files

Split color out of the shade header font update flag

These need to be two flags in case we decide not to ship shade blur.
The text color of the shade header should only be updated to a
dynamic value that responds to the theme if the blur flag is enabled,
because when it is disabled the shade header background is always
black with the font hard coded to white.

Test: manual
Bug: 405266952
Bug: 370555223
Flag: com.android.systemui.shade_header_blur_font_color
Change-Id: I698b875a174bfb62f97d0f02950846fb372997a0
parent 198c0c89
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -1713,6 +1713,17 @@ flag {
  is_fixed_read_only: true
}

flag {
  name: "shade_header_blur_font_color"
  namespace: "systemui"
  description: "Updates the font colors of the shade header for blur"
  bug: "393609960"
  is_fixed_read_only: true
  metadata {
    purpose: PURPOSE_BUGFIX
  }
}

flag {
    name: "keyboard_shortcut_helper_shortcut_customizer"
    namespace: "systemui"
+2 −2
Original line number Diff line number Diff line
@@ -184,8 +184,8 @@
    <style name="TextAppearance.QS.Status">
        <item name="android:fontFamily" android:featureFlag="!com.android.systemui.shade_header_font_update">@*android:string/config_headlineFontFamily</item>
        <item name="android:fontFamily" android:featureFlag="com.android.systemui.shade_header_font_update">variable-body-medium-emphasized</item>
        <item name="android:textColor" android:featureFlag="!com.android.systemui.shade_header_font_update">@color/shade_header_text_color</item>
        <item name="android:textColor" android:featureFlag="com.android.systemui.shade_header_font_update">@androidprv:color/materialColorOnSurface</item>
        <item name="android:textColor" android:featureFlag="!com.android.systemui.shade_header_blur_font_color">@color/shade_header_text_color</item>
        <item name="android:textColor" android:featureFlag="com.android.systemui.shade_header_blur_font_color">@androidprv:color/materialColorOnSurface</item>
        <item name="android:textSize">14sp</item>
        <item name="android:letterSpacing">0.01</item>
    </style>