summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Program.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-10-21 17:12:53 -0700
committerDianne Hackborn <hackbod@google.com>2015-10-21 17:15:37 -0700
commit865907db099eed08cac7ab177161361f5c82e656 (patch)
treeedecb4034deb82fed9008efac616b4e509845196 /rs/java/android/renderscript/Program.java
parentb8cfc12c3f0b83e9d00b1f324be4ff5c977645ce (diff)
Hopefully fix issue #25153459: Sandboxed_process1 thrashing
There is a race where if you unbind to a service before its process has come up, we would leave the service record active and keep it running. Fix this by checking the service state after its process up and proceed to bring it down if it is no longer needed. Also added a similar check when restarting a service, just in case there are other ways we can get into this situation. And while I am at it, I tweaked the broadcast queue dump output a bit to hopefully make it a lot easier to figure out how long it is taking to process broadcasts. Change-Id: I46b98f1fe394ab8039ea4cc81fb5d3afb6391a31
Diffstat (limited to 'rs/java/android/renderscript/Program.java')
0 files changed, 0 insertions, 0 deletions