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

Commit 997917d4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Prevent Caching the Invalid Resource" am: a997cf44 am: 00330273 am: 3915c76a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1646975

Change-Id: I0b366685c74f53f0a93f3790646b6a038a28f38e
parents 6b2d6fbe 3915c76a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2633,7 +2633,10 @@ public class SubscriptionManager {
        if (subInfo != null) {
            overrideConfig.mcc = subInfo.getMcc();
            overrideConfig.mnc = subInfo.getMnc();
            if (overrideConfig.mnc == 0) overrideConfig.mnc = Configuration.MNC_ZERO;
            if (overrideConfig.mnc == 0) {
                overrideConfig.mnc = Configuration.MNC_ZERO;
                cacheKey = null;
            }
        }

        if (useRootLocale) {