"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "3a54a57dceed78f7f3c35991d6d4a064a0c2e343"
Cache the getActiveSubscriptionInfoList() in SubscriptionController
To fast reading the active subscription info list (the subinfo list currently in the phone slotes), a cache is created and maintained inside the SubscriptionController. To protect cache, refresh the content of the cache every time there is an update on the database, populate/regenerate the cache with the updated information and thereby the reference of the cache object will be changed. When getting an Active Subscription Info list, get a deep copy of the cache instead of its reference. Test: Manual Bug: 29877775 Change-Id: Ib26c550d63d4befa6f71ef82dfd6d73579b17e24 Merged-In: Ib26c550d63d4befa6f71ef82dfd6d73579b17e24
Loading
Please register or sign in to comment