diff options
| -rw-r--r-- | libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/TypefaceUtils.kt | 2 |
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) } } } |