Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0329749e authored by Rambo Wang's avatar Rambo Wang
Browse files

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)
parent 6777a92c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment