[Provider model] Update the Wi-Fi icons in the Settings
- Use the same Wi-Fi icons between "Network details" Settings and Internet Panel Bug: 188660580 Test: manual test make RunSettingsRoboTests ROBOTEST_FILTER=WifiDetailPreferenceController2Test Change-Id: Icefc08eb47d2d573e26ff82b6a141cf55ce787c5
This commit is contained in:
@@ -1054,7 +1054,7 @@ public class WifiDetailPreferenceController2 extends AbstractPreferenceControlle
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Drawable getIcon(boolean showX, int level) {
|
public Drawable getIcon(boolean showX, int level) {
|
||||||
return mContext.getDrawable(Utils.getWifiIconResource(showX, level)).mutate();
|
return mContext.getDrawable(WifiUtils.getInternetIconResource(level, showX)).mutate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user