summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Nicolo' Mazzucato <nicomazz@google.com> 2022-10-12 13:40:40 +0000
committer Nicolo' Mazzucato <nicomazz@google.com> 2022-10-13 12:30:59 +0000
commit0def5f9805ca7f35a678f2437e1add37350b1bb1 (patch)
treea2f29aea07608d49bf71b48f05cb03ee6a981f66 /libs/androidfw/StringPool.cpp
parent683cfc81cc00743b986ab88959b66588c6e297e4 (diff)
Cancel unfold animation when rotation changes
In DeviceFoldStateProvider.kt, FOLD_UPDATE_FINISH_HALF_OPEN is emitted if the rotation changes while the animation is in progress. This targets the case when the device goes to tabletop mode during the transition. + Using RotationChangeProvider to fix problems when the new orientation change was received in a background thread unexpectedly. This fixes: (1) wrong launcher icons movement after the rotation, and (2) wrong dark overlay scrim after rotation. + Minor formattig fixes by ktfmt Bug: 241743859 Test: DeviceFoldStateProviderTest && NaturalRotationUnfoldProgressProviderTest && manual stress testing Change-Id: I0ff6a823709e0891a7bcd13528a0e160d6f39c98
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions