summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-10-12 18:37:47 -0700
committerEvan Rosky <erosky@google.com>2021-10-19 15:50:41 -0700
commitc6d5abe414ad825d8cb9aa3271a3ae9c3f190efa (patch)
tree2d7c92e1719cdea45458c2debe1c40c0cd51826b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent10e6377fd1c1bc24b8ba2e3043026668df24fa20 (diff)
Fix PiP Shell Transitions
PiP Shell Transitions needs to be more robust to pass CTS tests reliably. Some changes: 1. DELIVERED_TO_TOP intents don't create a transition since there is no change to the WM hierarchy. This way the app-launch transition won't conflict with activityRestartAttempt. 2. If PiP started an expand transition while an enter transition is ongoing, cancel the enter transition. a. Additionally, because PiP doesn't resize task until the enter transition finishes, the expand transition will actually be a no-op. If we see this pattern, also cancel the enter transition. 3. When taskVanished, make sure to call any pending finishCallback because it doesn't allow the running animator to properly finish. Transition systems require the finish callback to function properly. 4. Minimize the uses of finishTransition with a sync callback. We probably need to phase this out because it can conflict with subsequent startTransition calls (because only 1 sync is supported at a time). Bug: 183993924 Test: atest PinnedStackTests Change-Id: Ieb573032839a2f31b0bb371410484fc93a1714fa
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions