Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4bc72005 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by android-build-merger
Browse files

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

am: 92979713

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

Change-Id: Ia8ec0225283a7c41fe8e91ee087b6ccd3bab8dee
parents a2368e30 92979713
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();