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

Commit 5c9f677b authored by Hui Wang's avatar Hui Wang
Browse files

Improve the performance to avoid the potential ANR

The operation of onReceive may take a longer time than expected,
which can be posted to the handler thread to prevent the potential
ANR. The synchronized block is not necessary and can be replaced
by the concurrent collection.

Flag: EXEMPT bugfix
Bug: 369750121
Test: atest TelecomUnitTests:DefaultDialerCacheTest
Change-Id: Id30792c9bf3d32a813c4d2eb27dda350139bb93e
parent 6b2d00fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment