summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2022-04-20 18:39:53 +0800
committer Riddle Hsu <riddlehsu@google.com> 2022-04-20 10:40:31 +0000
commitd89a58046c606c67ae3128d6388e40020e0aa2ca (patch)
tree50bf7b5a3cdca93caefb1f27b16724b70dc3ee1c /libs/androidfw/ResourceTimer.cpp
parent08c570a8764376855b41fee6d43b6b52b4bc016a (diff)
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions