summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tyler Gunn <tgunn@google.com> 2022-03-17 14:10:32 -0700
committer Tyler Gunn <tgunn@google.com> 2022-03-18 09:07:44 -0700
commit6d9648b1025d76b2d37a576fa1942862d6bf8b91 (patch)
treeb838e59444826c11472e80669fba45104f8bf7d5 /libs/androidfw/StringPool.cpp
parent57794d59d779e9a32b7f3639c296aad706bd0367 (diff)
Add property invalidated cache for getSubscriptionId.
Telecom calls into TelephonyManager#getSubscriptionId quite often for phone account handle operations. Adding a property invalidated cache to TelephonyManager to cache those values. The cache is invalidated from Telephony whenever phone accounts are re-registered. Test: Added unit test which confirms the number of AIDL calls when the cache is operating as expected. Test: Manual test; verified that I can see the property invalidated cache logs which indicate that there are cache hits going on. Bug: 224654574 Change-Id: I62c992247921465d401442c2aff005384665258e
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions