Skip to content
Commit db94bfd6 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent eae6ef3e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment