summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2013-11-13 17:42:28 -0800
committerChristopher Tate <ctate@google.com>2013-11-14 12:37:31 -0800
commitba629da331d01d74067afdda5d4255682d4b24d7 (patch)
tree9c1044d486111af341585ca377e0877880e6aa88 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta951fa56f1855cd0337bddacc01e35868c6d66d6 (diff)
Ensure recipient can be launched before attempting broadcast delivery
User removal or eviction inherently races with broadcast delivery. This patch introduces a latest-possible recheck of the availbility of the target application before attempting to send it a broadcast. Once the process has actually been spun up the system is essentially committed to presenting it as a running application, and there is no later check of the availability of the app: the failure mode for continuing to attempt delivery is a crash *in the app process*, and is user-visible. We now check the app+userid existence of the intended recipient just prior to committing to launch its process for receipt, and if it is no longer available we simply skip that receiver and continue normally. Bug 11652784 Bug 11272019 Bug 8263020 Change-Id: Ib19ba2af493250890db7371c1a9f853772db1af0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions