summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2020-05-15 15:25:47 -0700
committerSneh Bansal <snehb@codeaurora.org>2020-07-21 16:17:46 +0530
commit5a65328ddf207d626ee6bb2191aa6eac75817c6c (patch)
tree9d78d8141357cd4445d7a77e790b4a83e936f95f /rs/java/android/renderscript/ProgramStore.java
parent7c39eb6541ee2461e3e1f9817827e3df29c96c1c (diff)
Abort NetworkScans when Phone Process Crashes
If the phone process crashes during a network scan, today the scan hangs indefinitely. This CL adds a binder death recipient to the wakefulness binder so that if the phone process crashes, we detect it and cancel the scan. Because there's no error code for "Telephony crashed" today, the closest error code is to say that the modem is unavailable. In addition, fix an issue where onError() did not actually remove scans from the list of cached scans. This left dangling scan objects in the cache after an error. CRs-Fixed: 2679797 Bug: 155853346 Test: manual - 1) start scan 2) crash phone process 3) verify error is returned to scan request Change-Id: I8bd3823805fcc68623a685848517f2d11555e9c7 (cherry picked from commit e9d38721dbd3fc2e50ff7818555ccd2e9edcef2f)
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions