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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user