summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2021-08-23 00:12:30 +0800
committerRiddle Hsu <riddlehsu@google.com>2021-08-24 19:25:19 +0800
commit6f0cd1ecca8f839ac9d730dd509071ddd7a2b6d9 (patch)
treee211e9cd3a18e0987ac7c074514a3c265592f0af /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent5cbb831c10a64bab5f3aa40e34ff6018d9922440 (diff)
Use non finishing activity for remote animation opening target
If an existing task is moving to front by launching a trampoline activity on top of the task, the finishing trampoline activity should be skipped when choosing the remote animation target. Otherwise there is no opening animation because the topmost activity of the task may not have a window, i.e. RemoteAnimationController skips the animation due to ActivityRecord#createRemoteAnimationTarget returns null. Now the mode of remote animation target is set explicitly when requesting the animation, so the animatable container can choose the proper target according to the mode. Bug: 196636209 Test: atest RemoteAnimationControllerTest# \ testOpeningTaskWithTopFinishingActivity Change-Id: I0642dabec8889e101f831465a98707caba708362
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions