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
Loading
Please register or sign in to comment