Skip to content

Commit

Permalink
SystemUI: Fixed battery text color
Browse files Browse the repository at this point in the history
  • Loading branch information
umikaki authored and lindwurm committed May 11, 2019
1 parent e153d84 commit 6669744
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -412,7 +412,11 @@ public void onDarkChanged(Rect area, float darkIntensity, int tint) {
intensity, mLightModeBackgroundColor,mDarkModeBackgroundColor);

if (!mUseWallpaperTextColors) {
updateColors(mNonAdaptedForegroundColor, mNonAdaptedBackgroundColor);
mDrawable.setColors(mNonAdaptedForegroundColor, mNonAdaptedBackgroundColor);
mTextColor = DarkIconDispatcher.getTint(area, this, tint);
if (mBatteryPercentView != null) {
mBatteryPercentView.setTextColor(DarkIconDispatcher.getTint(area, this, tint));
}
}
}

Expand Down

0 comments on commit 6669744

Please sign in to comment.