Merge "Prevent Caching the Invalid Resource"

This commit is contained in:
Treehugger Robot
2021-04-06 17:32:13 +00:00
committed by Gerrit Code Review

View File

@@ -2465,7 +2465,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) {