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

Commit 92979713 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: I66abed6e3719160f8e9a80dba4802a0435dc4012
parents d9db7c76 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();