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

Commit f12e7981 authored by Adithya R's avatar Adithya R Committed by Nishith Khanna
Browse files

SystemUI: Remove visibility check in setting QSCarrier color

This fixes a corner case where the signal icon color is incorrect:
Have dual sim -> switch to dark theme -> turn off one sim -> switch
to light theme -> turn the other sim back on. QS carrier signal
is colored white instead of black.

Ensure that the signal icon color is always up to date, by removing
visibility check, to avoid this issue.

Fixes: 816b8ddf ("Follow light/dark theme in SplitShade Header")
Change-Id: I092c06053fc4bc8d9ca51d1d31128da27ef6a823
parent 2c7079de
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -152,12 +152,9 @@ public class ShadeCarrier extends LinearLayout {
    }

    public void updateColors(ColorStateList colorStateList) {
        final boolean visible = !mIsSingleCarrier;
        if (visible) {
        mMobileRoaming.setImageTintList(colorStateList);
        mMobileSignal.setImageTintList(colorStateList);
    }
    }

    @VisibleForTesting
    View getRSSIView() {