Provider model slice: The icon of mobile data's color is too light

Bug: 17752644
Test: (PASS)atest NetworkProviderWorkerTest
(PASS)atest ProviderModelSliceTest
(PASS)atest ProviderModelSliceHelperTest

Change-Id: I5474396b0a6464f513c76f0984917af083dcf54c
This commit is contained in:
SongFerngWang
2021-01-14 22:19:23 +08:00
committed by SongFerng Wang
parent 5d34370e2f
commit 25690691b2

View File

@@ -215,6 +215,8 @@ public class ProviderModelSliceHelper {
drawable = shared.get(); drawable = shared.get();
} }
drawable.setTint(
Utils.getColorAttrDefaultColor(mContext, android.R.attr.colorControlNormal));
if (isDataSimActive()) { if (isDataSimActive()) {
drawable.setTint(Utils.getColorAccentDefaultColor(mContext)); drawable.setTint(Utils.getColorAccentDefaultColor(mContext));
} }