Merge "Fix StatusBarMobileView to use correct shade" into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
6e49f3a4a6
@@ -212,7 +212,7 @@ public class StatusBarMobileView extends FrameLayout implements DarkReceiver,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mMobileDrawable.setTintList(
|
mMobileDrawable.setTintList(
|
||||||
ColorStateList.valueOf(mDualToneHandler.getFillColor(darkIntensity)));
|
ColorStateList.valueOf(mDualToneHandler.getSingleColor(darkIntensity)));
|
||||||
ColorStateList color = ColorStateList.valueOf(getTint(area, this, tint));
|
ColorStateList color = ColorStateList.valueOf(getTint(area, this, tint));
|
||||||
mIn.setImageTintList(color);
|
mIn.setImageTintList(color);
|
||||||
mOut.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
|
// 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.
|
// surfaces. In this way, we can pass a theme to the view.
|
||||||
mMobileDrawable.setTintList(
|
mMobileDrawable.setTintList(
|
||||||
ColorStateList.valueOf(mDualToneHandler.getFillColor(intensity)));
|
ColorStateList.valueOf(mDualToneHandler.getSingleColor(intensity)));
|
||||||
mIn.setImageTintList(list);
|
mIn.setImageTintList(list);
|
||||||
mOut.setImageTintList(list);
|
mOut.setImageTintList(list);
|
||||||
mMobileType.setImageTintList(list);
|
mMobileType.setImageTintList(list);
|
||||||
|
|||||||
Reference in New Issue
Block a user