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

Consider requested orientation for snapshot compatible

For example, the display is portrait so the task is also portrait.
But the activity in the task requested landscape which will make
the display update to landscape later. Then if the snapshot was
taken in landscape, the snapshot should be compatible because
the activity will be pre-rotated with fixed rotation.

Bug: 216079545
Test: ActivityRecordTests#testIsSnapshotCompatibleTaskSizeChanged
Test: Swipe quickstep to an existing activity with different
      orientation. There should not be splash screen window.
Change-Id: Ic87ead99c918de19438f88472f01541208469a36
parent 08c570a8
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