diff options
| author | 2022-03-02 17:16:45 +0800 | |
|---|---|---|
| committer | 2022-03-02 11:47:11 +0000 | |
| commit | 271edc361c46561ee15ee45629853619ca30aa30 (patch) | |
| tree | e5651870ee61c2dc90ba5b469640f5967e56d126 /libs/androidfw/StringPool.cpp | |
| parent | 7c6f6b809b2a90c5d0d0499987b75fbf2aef8744 (diff) | |
Unset last orientation for fixed orientation transient launch
The commit 7c6f6b8 uses the requested orientation. That is fine
if the next app has different requested orientation. But if the
next app is still the transient launch app itself, then no change
will be detected by DisplayRotation#updateOrientation, and then
the display stay in previous rotation.
Change to use UNSET so it is similar to force update for the next
time calling updateOrientation().
Bug: 216169338
Test: atest TransitionTests#testDeferRotationForTransientLaunch
Change-Id: Id467d1910b32d8699fb34e7fdc04c91c7b450c71
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions