Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java +4 −3 Original line number Diff line number Diff line Loading @@ -428,13 +428,14 @@ public class KeyguardStatusBarView extends RelativeLayout { /** Should only be called from {@link KeyguardStatusBarViewController}. */ void onOverlayChanged() { int theme = Utils.getThemeAttr(mContext, com.android.internal.R.attr.textAppearanceSmall); mCarrierLabel.setTextAppearance(theme); final int carrierTheme = R.style.TextAppearance_StatusBar_Clock; mCarrierLabel.setTextAppearance(carrierTheme); mBatteryView.updatePercentView(); final int userSwitcherTheme = R.style.TextAppearance_StatusBar_UserChip; TextView userSwitcherName = mUserSwitcherContainer.findViewById(R.id.current_user_name); if (userSwitcherName != null) { userSwitcherName.setTextAppearance(theme); userSwitcherName.setTextAppearance(userSwitcherTheme); } } Loading Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardStatusBarView.java +4 −3 Original line number Diff line number Diff line Loading @@ -428,13 +428,14 @@ public class KeyguardStatusBarView extends RelativeLayout { /** Should only be called from {@link KeyguardStatusBarViewController}. */ void onOverlayChanged() { int theme = Utils.getThemeAttr(mContext, com.android.internal.R.attr.textAppearanceSmall); mCarrierLabel.setTextAppearance(theme); final int carrierTheme = R.style.TextAppearance_StatusBar_Clock; mCarrierLabel.setTextAppearance(carrierTheme); mBatteryView.updatePercentView(); final int userSwitcherTheme = R.style.TextAppearance_StatusBar_UserChip; TextView userSwitcherName = mUserSwitcherContainer.findViewById(R.id.current_user_name); if (userSwitcherName != null) { userSwitcherName.setTextAppearance(theme); userSwitcherName.setTextAppearance(userSwitcherTheme); } } Loading