Add WIFI_LEVEL_UNREACHABLE logs
- Add WIFI_LEVEL_UNREACHABLE logs in Wi-Fi details settings Bug: 362269742 Flag: EXEMPT add logs only Test: Manual testing Change-Id: I9a2b01df06417bafa85d300f1abe41797ec08143
This commit is contained in:
@@ -556,6 +556,7 @@ public class WifiDetailPreferenceController2 extends AbstractPreferenceControlle
|
|||||||
return mContext.getDrawable(getHotspotIconResource(deviceType));
|
return mContext.getDrawable(getHotspotIconResource(deviceType));
|
||||||
}
|
}
|
||||||
if (mWifiEntry.getLevel() == WifiEntry.WIFI_LEVEL_UNREACHABLE) {
|
if (mWifiEntry.getLevel() == WifiEntry.WIFI_LEVEL_UNREACHABLE) {
|
||||||
|
Log.w(TAG, "WiFi level is WIFI_LEVEL_UNREACHABLE(-1)");
|
||||||
return mContext.getDrawable(R.drawable.empty_icon);
|
return mContext.getDrawable(R.drawable.empty_icon);
|
||||||
}
|
}
|
||||||
return mIconInjector.getIcon(wifiEntry.shouldShowXLevelIcon(), wifiEntry.getLevel());
|
return mIconInjector.getIcon(wifiEntry.shouldShowXLevelIcon(), wifiEntry.getLevel());
|
||||||
|
Reference in New Issue
Block a user