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

Commit b6eb7fab authored by Sandeep Gutta's avatar Sandeep Gutta Committed by android-build-merger
Browse files

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

am: 37c26e4d

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

Change-Id: I5d7cbd11c5739c96b3d316ebf51e9424fbe703bf
parents 4dc4d3ed 37c26e4d
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();