commit | 5c9f677b2bb37784654ce1343f509f296c7fcbe5 | [log] [tgz] |
---|---|---|
author | Hui Wang <huiwang@google.com> | Wed Nov 13 12:33:33 2024 -0600 |
committer | Hui Wang <huiwang@google.com> | Wed Nov 13 13:48:56 2024 -0600 |
tree | cde1fc610a720f18f51446665b8254bb61a26729 | |
parent | 6b2d00fc7f2b60ea45b3cfc263fa69188823e2ba [diff] |
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