Merge "[Provider model] Update the Wi-Fi icons in the Settings" into sc-dev am: 567e29adf0
am: 1e0d173f8b
am: bb2ec3777b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/14733191 Change-Id: Ie85a8214e58d584f3d3f4fb79b6ab6fd6e5adb64
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