Update SubscriptionInfoUpdater to use TM#getCarrierServicePackageName
The implementation for TelephonyManager#getCarrierServicePackageName has been highly optimized. Internally, the cached values are directly returned instead of performing a heavy query from package manager. Besides the performance improvement, the switch may also largely reduce the deadlock and IPC thread blocking due to the removal of IPC call in most time. Bug: 217442920 Test: atest SubscriptionInfoUpdaterTest Merged-In: I3545bd3b807c9efe5ea525b0bf6ebde42386486a Change-Id: I3545bd3b807c9efe5ea525b0bf6ebde42386486a (cherry picked from commit d89bc9d4)
Loading
Please register or sign in to comment