summaryrefslogtreecommitdiff
path: root/libs/hwui/FeatureFlags.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/FeatureFlags.h')
-rw-r--r--libs/hwui/FeatureFlags.h17
1 files changed, 5 insertions, 12 deletions
diff --git a/libs/hwui/FeatureFlags.h b/libs/hwui/FeatureFlags.h
index ac75c077b58f..fddcf29b9197 100644
--- a/libs/hwui/FeatureFlags.h
+++ b/libs/hwui/FeatureFlags.h
@@ -25,25 +25,18 @@ namespace android {
namespace text_feature {
-inline bool fix_double_underline() {
-#ifdef __ANDROID__
- return com_android_text_flags_fix_double_underline();
-#else
- return true;
-#endif // __ANDROID__
-}
-
-inline bool deprecate_ui_fonts() {
+inline bool letter_spacing_justification() {
#ifdef __ANDROID__
- return com_android_text_flags_deprecate_ui_fonts();
+ return com_android_text_flags_letter_spacing_justification();
#else
return true;
#endif // __ANDROID__
}
-inline bool letter_spacing_justification() {
+inline bool typeface_redesign() {
#ifdef __ANDROID__
- return com_android_text_flags_letter_spacing_justification();
+ static bool flag = com_android_text_flags_typeface_redesign();
+ return flag;
#else
return true;
#endif // __ANDROID__