Fix Wifi-Detail page colors
There were some hardcoded colors in this page that should have been using colorControlNormal. This CL just updates it to use those. Test: Visual inspection Fixes: 37628554 Change-Id: I431744e7613eeb0ac751cf1505bcf2ef9e19d95d
This commit is contained in:
@@ -408,8 +408,7 @@ public class WifiDetailPreferenceController extends AbstractPreferenceController
|
||||
mEntityHeaderController.setIcon(wifiIcon).done(mFragment.getActivity(), true /* rebind */);
|
||||
|
||||
Drawable wifiIconDark = wifiIcon.getConstantState().newDrawable().mutate();
|
||||
wifiIconDark.setTint(mContext.getResources().getColor(
|
||||
R.color.wifi_details_icon_color, mContext.getTheme()));
|
||||
wifiIconDark.setTintList(Utils.getColorAttr(mContext, android.R.attr.colorControlNormal));
|
||||
mSignalStrengthPref.setIcon(wifiIconDark);
|
||||
|
||||
mSignalStrengthPref.setSummary(mSignalStr[mRssiSignalLevel]);
|
||||
|
Reference in New Issue
Block a user