summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorNathan Harold <nharold@google.com>2020-05-15 15:25:47 -0700
committerNathan Harold <nharold@google.com>2020-06-24 18:35:41 +0000
commite9d38721dbd3fc2e50ff7818555ccd2e9edcef2f (patch)
tree28e298339dc8617c4193ffa5436fbbf92437847b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent559419954312bafdf646a992b94834da9684494a (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. Bug: 155853346 Test: manual - 1) start scan 2) crash phone process 3) verify error is returned to scan request Change-Id: I8bd3823805fcc68623a685848517f2d11555e9c7
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions