summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2021-10-18 17:57:32 -0700
committerBen Lin <linben@google.com>2021-10-25 17:13:25 -0700
commitf71a1b2970c6a2c93201d38d4053814d3f3be392 (patch)
tree9fd4da583805c846ef7663050bcb21a520115ae3 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc2993b24458e7fa6bcb79d01a81ab5dad876a375 (diff)
PiP: Fix more Shell Transition potential issues.
If an animator is already running, we usually just update its end bounds - but we also end up over-writing the original callbacks. This used to work well since pre-shell transition, callbacks are always pulled from PipTaskOrganizer, but now we can have two places that supply callbacks (PipTransition). So let's just leave the callback alone. Another potential issue is that sometimes finish callbacks from one transition is not called before starting another one, and starting a new transition overwrites the old finishCallback. We will then finish the earlier callbacks to ensure the transition system does not hang the entire device, but throw an Exception to not gloss over the potential issue. Bug: 183993924 Test: atest PinnedStackTests Change-Id: Ib4c5926beec5745d8a0abccec5c67849488e532b
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions