diff options
author | 2025-01-10 16:32:07 +0000 | |
---|---|---|
committer | 2025-01-13 16:37:10 +0000 | |
commit | 7ac1560567c86fec8ab569598f17701a1ab71f45 (patch) | |
tree | a1feb25e995ea78f215db36a6914b8dea9d0e8ad /libs/androidfw/ApkParsing.cpp | |
parent | 4a11b4917f5dcb8296f959ff1487855c6308b195 (diff) |
Fixing success animation during rotation
Because setting "Finished" state triggers animation, rotating the device also triggers that animation when it's no longer needed (it's meant to be continuation of "in progress" animation).
Lottie internally uses `remember` instead of `rememberSaveable` so we need to manage state after rotation externally.
Bug: 369945129
Test: finish tutorial, rotate the screen and see animation not played again
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: I6996762876164454f331d9751a0b4defe134c727
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions