commit | eae6ef3ebfd6894d533f5554052cc1b3f16f97e6 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Wed May 13 01:07:33 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Thu May 14 16:46:01 2020 +0800 |
tree | 29e49834af0aaa3da29511012778ed53c82b7a42 | |
parent | 742313e4c3e406c8a3aedb8310e208ad0b01764c [diff] |
Only use snapshot starting window for the same rotation So the snapshot won't show half if the its has a delta of 90 degree rotation with the actual activity. If the snapshot is not compatible with the activity, the starting window type will be splash screen. Bug: 155862858 Test: atest ActivityRecordTests#testIsSnapshotCompatible Change-Id: I8d8a926d057f1d18d028fcc03bddbb17ffbbf96b