diff options
author | Christopher Tate <ctate@google.com> | 2019-05-01 16:46:46 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2019-05-01 18:08:45 -0700 |
commit | 6ac3980275817a32847c95d16b5c3e484e253d84 (patch) | |
tree | 7b8ad2ade468dc9470ef752c85399bae759a532d /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 1d40ffcabf16870ba2b0587662548f8599e272c4 (diff) |
Properly handle activity start tokens for unordered broadcasts
Unordered broadcasts are (sometimes) fire-and-forget, with no final call
back to the system process indicating completion. This means that we
were leaking the tokens associated with a process's capability to start
activities while in a background state. This is now fixed: we ensure
that unordered broadcasts also have a capability-revoke operation
regardless of the behavior of the app process.
Along the way, we fix a latent potential leak that arose in the case of
delivery failure.
Fixes: 131309007
Test: sample app found at that bug
Test: atest WmTests:ActivityStarterTests
Change-Id: I9a2d7aba291cd2e52dd1ee7e9560a16ba5e42be5
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions