[Provider Model] Move the Internet unavailable Wi-Fi down
- Check the Wifi network have both INTERNET and VALIDATED capabilities to achieve effective network access - Move the Internet unavailable Wi-Fi down to the top of Wi-Fi list - Don't paint color for the Internet unavailable Wi-Fi - Screenshot: https://screenshot.googleplex.com/w82kbALssdTZmg4 Bug: 178457619 Bug: 178926547 Bug: 178978070 Test: manual test on device atest -c InternetUpdaterTest \ NetworkProviderWorkerTest \ ProviderModelSliceTest Change-Id: Idf04e556ab5a87abc5bc96d1934f5e8fd91fbfaa
This commit is contained in:
@@ -164,7 +164,7 @@ public class WifiSlice implements CustomSliceable {
|
||||
return rowBuilder;
|
||||
}
|
||||
|
||||
private IconCompat getWifiSliceItemLevelIcon(WifiSliceItem wifiSliceItem) {
|
||||
protected IconCompat getWifiSliceItemLevelIcon(WifiSliceItem wifiSliceItem) {
|
||||
final @ColorInt int tint;
|
||||
if (wifiSliceItem.getConnectedState() == WifiEntry.CONNECTED_STATE_CONNECTED) {
|
||||
tint = Utils.getColorAccentDefaultColor(mContext);
|
||||
|
Reference in New Issue
Block a user