Update CarrierServiceBindHelper 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 CarrierServiceBindHelperTest Change-Id: Ia69a0f684ec52fee45382c36f0a4be7f3e159b51 Merged-In: Ia69a0f684ec52fee45382c36f0a4be7f3e159b51 (cherry picked from commit a4bee6dd)
Loading
Please register or sign in to comment