summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2025-03-18 15:11:32 +0000
committer Matt Pietal <mpietal@google.com> 2025-03-21 07:44:49 -0700
commit239be4b944034a3bdc0d9c62c002517fdb912f17 (patch)
tree97359dc5f1c78896725680a56f9daaabbd986e56
parent0fda000bd2d420f9faf5b0c82e91b1db77aef506 (diff)
Update lockscreen fonts
Indication area first Bug: 393610165 Test: manual Flag: com.android.systemui.lockscreen_font Change-Id: I48d87e97efa4a61336193b16664ed51a8ec89b96
-rw-r--r--packages/SystemUI/aconfig/systemui.aconfig8
-rw-r--r--packages/SystemUI/res-keyguard/values/styles.xml8
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/SystemUI/aconfig/systemui.aconfig b/packages/SystemUI/aconfig/systemui.aconfig
index 91492b2959d8..462f775163eb 100644
--- a/packages/SystemUI/aconfig/systemui.aconfig
+++ b/packages/SystemUI/aconfig/systemui.aconfig
@@ -2126,6 +2126,14 @@ flag {
}
flag {
+ name: "lockscreen_font"
+ namespace: "systemui"
+ description: "Read-only flag for lockscreen font"
+ bug: "393610165"
+ is_fixed_read_only: true
+}
+
+flag {
name: "always_compose_qs_ui_fragment"
namespace: "systemui"
description: "Have QQS and QS scenes in the Compose fragment always composed, not just when it should be visible."
diff --git a/packages/SystemUI/res-keyguard/values/styles.xml b/packages/SystemUI/res-keyguard/values/styles.xml
index e7d6b2fe08f4..877360594fc6 100644
--- a/packages/SystemUI/res-keyguard/values/styles.xml
+++ b/packages/SystemUI/res-keyguard/values/styles.xml
@@ -137,7 +137,13 @@
<item name="android:gravity">start</item>
<item name="android:ellipsize">end</item>
<item name="android:maxLines">2</item>
- <item name="android:fontFamily">@*android:string/config_headlineFontFamily</item>
+ <item name="android:fontFamily" android:featureFlag="!com.android.systemui.lockscreen_font">
+ @*android:string/config_headlineFontFamily
+ </item>
+ <item name="android:fontFamily" android:featureFlag="com.android.systemui.lockscreen_font">
+ variable-title-small
+ </item>
+ <item name="android:fontFamily"></item>
<item name="android:shadowColor">@color/keyguard_shadow_color</item>
<item name="android:shadowRadius">?attr/shadowRadius</item>
</style>