Do not cache the resource if the active sub info is null

Bug: 214602826
Test: atest CtsTelephonyTestCases:SubscriptionManagerTest
Change-Id: Ib107faa06b9544c2890e93d852af4ab1a090a086
This commit is contained in:
Hui Wang
2022-03-15 21:53:49 +00:00
parent bce590e356
commit 00e633cbea

View File

@@ -2767,6 +2767,8 @@ public class SubscriptionManager {
overrideConfig.mnc = Configuration.MNC_ZERO;
cacheKey = null;
}
} else {
cacheKey = null;
}
if (useRootLocale) {