NullPointerException for Internet quick panel(slice) in Settings
Add the networkToIconLookup icon mapping for NETWORK_TYPE_GPRS. Bug: 203672925 Test: build pass Change-Id: I6de4e624ef762605c78a42c20b77e02153ac4953
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user