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

am: 9297971

* commit '92979713906907c85b557532ec54199c584aa32e':
  Handle mnc 00 while retrieving the Resources based on subid

Change-Id: Ia8ec0225283a7c41fe8e91ee087b6ccd3bab8dee
This commit is contained in:
Robert Greenwalt
2016-04-18 16:38:50 +00:00
committed by android-build-merger

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();