commit | 41f94629c9f84f9fc1f81bcdc2a2653e732e25b2 | [log] [tgz] |
---|---|---|
author | Collin Fijalkovich <cfijalkovich@google.com> | Fri Apr 10 14:01:42 2020 -0700 |
committer | Collin Fijalkovich <cfijalkovich@google.com> | Tue Apr 28 16:30:40 2020 -0700 |
tree | 05069dd43f698d40217728b4d5fbb20a0fff2e4a | |
parent | 29b1874ffc19a3e520573b345eb306efe6248870 [diff] |
Cache getPhoneId and getSlotIndex binder calls. Use PropertyInvalidatedCache to avoid redundant calls to SubscriptionController getSlotIndex and getPhoneId. Bug: 151953109 Test: Verified cache operated correctly when phone process is killed. Test: atest SubscriptionControllerTest Test: atest android.telephony.cts.SubscriptionManagerTest Change-Id: I70552537af44f3e05b156cd190ebb28f0d940bf6