summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-05-13 01:50:17 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-05-14 16:46:10 +0800
commitdb94bfd6bde1dd9559f58ffccbf2658942f90add (patch)
treea3e4d9361bbdfa2a7780ce2f9c53f0d8dfb83e21 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenteae6ef3ebfd6894d533f5554052cc1b3f16f97e6 (diff)
Apply fixed rotation when showing snapshot starting window
Unlike splash screen starting window that inherits the size of activity directly, task snapshot needs the final size to draw right after adding to display. Otherwise the content will look like as cropped because the surface size uses different orientation. And because starting window is added before executing transition, assume there will have transition if the owner of starting window is also the top activity. Bug: 155862858 Test: ActivityRecordTests#testFixedRotationSnapshotStartingWindow Change-Id: Idb4f9a92a6e2594356416afd0ab6360e94e66497
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions