Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c34f078f authored by Fabian Kozynski's avatar Fabian Kozynski Committed by Android (Google) Code Review
Browse files

Merge "Fix tinting of battery percentage" into qt-dev

parents 4bea465d 7c35d339
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -401,10 +401,10 @@ public class BatteryMeterView extends LinearLayout implements
                || mShowPercentMode == MODE_ON || mShowPercentMode == MODE_ESTIMATE) {
            if (!showing) {
                mBatteryPercentView = loadPercentView();
                if (mTextColor != 0) mBatteryPercentView.setTextColor(mTextColor);
                if (mPercentageStyleId != 0) { // Only set if specified as attribute
                    mBatteryPercentView.setTextAppearance(mPercentageStyleId);
                }
                if (mTextColor != 0) mBatteryPercentView.setTextColor(mTextColor);
                updatePercentText();
                addView(mBatteryPercentView,
                        new ViewGroup.LayoutParams(