Merge "NullPointerException for Internet quick panel(slice) in Settings" into sc-v2-dev am: 7d75b59495

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16260923

Change-Id: Ic0c2640a78d9941071ea58a1916cae7edae44596
This commit is contained in:
SongFerng Wang
2021-11-16 10:32:43 +00:00
committed by Automerger Merge Worker

View File

@@ -113,6 +113,8 @@ public class MobileMappings {
TelephonyIcons.UNKNOWN);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EDGE),
TelephonyIcons.E);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_GPRS),
TelephonyIcons.G);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_CDMA),
TelephonyIcons.ONE_X);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_1xRTT),
@@ -122,6 +124,8 @@ public class MobileMappings {
TelephonyIcons.THREE_G);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_EDGE),
TelephonyIcons.THREE_G);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_GPRS),
TelephonyIcons.THREE_G);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_CDMA),
TelephonyIcons.THREE_G);
networkToIconLookup.put(toIconKey(TelephonyManager.NETWORK_TYPE_1xRTT),