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

Commit 8957eded authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

Fix StatusBarMobileView to use correct shade

As SignalDrawable now uses a single color to draw, it should get
DualToneHandler#getSingleColor passed to it.

Test: manual on QS Header and launcher (white background). The shade of
gray matches the other icons.
Fixes: 133258347

Change-Id: Id9e324623d0e82753b1a31a7908df9399e75c827
parent 738c9823
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -212,7 +212,7 @@ public class StatusBarMobileView extends FrameLayout implements DarkReceiver,
            return;
        }
        mMobileDrawable.setTintList(
                ColorStateList.valueOf(mDualToneHandler.getFillColor(darkIntensity)));
                ColorStateList.valueOf(mDualToneHandler.getSingleColor(darkIntensity)));
        ColorStateList color = ColorStateList.valueOf(getTint(area, this, tint));
        mIn.setImageTintList(color);
        mOut.setImageTintList(color);
@@ -238,7 +238,7 @@ public class StatusBarMobileView extends FrameLayout implements DarkReceiver,
        // We want the ability to change the theme from the one set by SignalDrawable in certain
        // surfaces. In this way, we can pass a theme to the view.
        mMobileDrawable.setTintList(
                ColorStateList.valueOf(mDualToneHandler.getFillColor(intensity)));
                ColorStateList.valueOf(mDualToneHandler.getSingleColor(intensity)));
        mIn.setImageTintList(list);
        mOut.setImageTintList(list);
        mMobileType.setImageTintList(list);