[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:
Weng Su
2021-05-26 21:45:13 +08:00
parent 9512d53697
commit 91ac1eb149

View File

@@ -1054,7 +1054,7 @@ public class WifiDetailPreferenceController2 extends AbstractPreferenceControlle
}
public Drawable getIcon(boolean showX, int level) {
return mContext.getDrawable(Utils.getWifiIconResource(showX, level)).mutate();
return mContext.getDrawable(WifiUtils.getInternetIconResource(level, showX)).mutate();
}
}