summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Vinit Nayak <peanutbutter@google.com> 2025-03-12 12:11:23 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-12 12:11:23 -0700
commit620d39409e53609318b35e5c69c4cf42a549c34f (patch)
treee04bb7b48f786e08ad876252d7af06af79810c18
parentad87661f436b3048ade53f1af95f01dd0e808337 (diff)
parent747781c80a63243d11d0b455c4eb00b61f717da0 (diff)
Merge "Update Task Bar and Split-Screen with new font type." into main
-rw-r--r--libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt b/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt
index 9bf56b075112..f4efcca28003 100644
--- a/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt
+++ b/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt
@@ -80,7 +80,7 @@ class TypefaceUtils {
fontStyle: Int = Typeface.NORMAL,
) {
if (!Flags.enableGsf()) return
- textView?.typeface = Typeface.create(fontFamily.name, fontStyle)
+ textView?.typeface = Typeface.create(fontFamily.value, fontStyle)
}
}
}