commit | 394cec3c77b140c7b0f05f3dd4a5c7c1cc53b524 | [log] [tgz] |
---|---|---|
author | Chaohui Wang <chaohuiw@google.com> | Mon May 08 20:31:56 2023 +0800 |
committer | Chaohui Wang <chaohuiw@google.com> | Mon May 08 20:32:57 2023 +0800 |
tree | c2b11f138fb4cc9f1fc0b7f9ca8af0e12d85ff71 | |
parent | 23d3eda96775dd0fe48191415f5af255a2f6d15f [diff] |
Fix ANR of SimSlotChangeService The JobService.onStartJob() is run on main thread, should return in time instead of wait for job complete, otherwise will cause ANR. Not wait the job finish, and call jobFinished() when finished to fix this issue. Fix: 277031144 Test: Manual check with log that onStartJob() is returned in time Test: Manual check with log that job is not run in main thread Change-Id: I1e83363ca87a29fb9424100bf99b3f2d212fd9d0