Skip to content

Commit

Permalink
Automated g4 rollback of changelist 651422787
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 658415973
  • Loading branch information
hunterstich authored and drchen committed Aug 5, 2024
1 parent ef1e1cd commit d3f2ca8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void setTextAppearance(@NonNull Context context, int resId) {
if (canApplyLineHeight) {
applyLineHeightFromViewAppearance(appearance);
}
if (VERSION.SDK_INT >= VERSION_CODES.O) {
if (canForceRefreshFontVariationSettings) {
maybeForceApplyFontVariationSettingsFromViewAppearance(appearance);
}
appearance.recycle();
Expand All @@ -150,7 +150,7 @@ private void initialize(@Nullable AttributeSet attrs, int defStyleAttr, int defS
if (canApplyLineHeight) {
applyLineHeightFromViewAppearance(appearance);
}
if (VERSION.SDK_INT >= VERSION_CODES.O) {
if (canForceRefreshFontVariationSettings) {
maybeForceApplyFontVariationSettingsFromViewAppearance(appearance);
}
appearance.recycle();
Expand Down

0 comments on commit d3f2ca8

Please sign in to comment.