Merge "Handle mnc 00 while retrieving the Resources based on subid" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
37c26e4d13
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user