Merge "Handle mnc 00 while retrieving the Resources based on subid" into nyc-dev

This commit is contained in:
Robert Greenwalt
2016-04-18 16:25:02 +00:00
committed by Android (Google) Code Review

View File

@@ -1347,6 +1347,7 @@ public class SubscriptionManager {
if (subInfo != null) {
newConfig.mcc = subInfo.getMcc();
newConfig.mnc = subInfo.getMnc();
if (newConfig.mnc == 0) newConfig.mnc = Configuration.MNC_ZERO;
}
DisplayMetrics metrics = context.getResources().getDisplayMetrics();
DisplayMetrics newMetrics = new DisplayMetrics();