diff options
| author | Christopher Tate <ctate@google.com> | 2019-05-28 12:31:50 -0700 | 
|---|---|---|
| committer | Christopher Tate <ctate@google.com> | 2019-05-29 18:46:09 -0700 | 
| commit | 36c998c6b7905d31766390733ea0c8d542e8d7a0 (patch) | |
| tree | 8701a57b7229e2e6391db2a9c1dffd39e414ff70 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | a11f79120b0af53c33745bf712e3aaa9454f557d (diff) | |
Prevent double teardown of service connections
Asynchronicities in activity teardown -> service connection teardown
introduced a race in which the teardown could race with new service
bindings to "the same" service instance, and then wind up attempting to
shut down a new, valid instance inappropriately.  Fixed by making sure
to clear the "what needs to be torn down" bookkeeping as part of the
act of doing that teardown, removing the possibility for stale state.
Fixes: 131029480
Test: manual
Test: atest CtsAppTestCases
Change-Id: I33a63f524d147ff6ec97dd3efb0127dcace8bf3c
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
