summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorWale Ogunwale <ogunwale@google.com>2016-05-05 09:16:47 -0700
committerWale Ogunwale <ogunwale@google.com>2016-05-05 16:47:45 -0700
commit2ba712905fe70d70024912fc27f99dfe0dc4bf94 (patch)
treee07c5b666a7b4c522a234d3255509764889e426c /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent957df516f006129198847ff9448004c097e1be98 (diff)
Fixed deadlock between AM and WM when animating pinned stack.
In Ie18cc04ceeabd94093017f79676253e1189f5249 we delay ending the pinned stack animation until app transition is done. However, the signal that app transition is done comes in with the window manager lock held and the we call into AM to do some additional work which requires AM lock to be aquired. Since AM depends on WM we shouldn't be holding the WM lock while calling into AM since AM can call into WM with its lock held. We now post a runnable to finish the pinned stack animation without the WM lock held. Bug: 28564514 Change-Id: I8450123e992e569a74609883de810cdc611ced81
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions