[Unfold transition] Do not play haptics when hitting a timeout on folding
This change makes unfold haptics play only when unfolding a foldable device. It won't play haptics after starting folding and hitting the animation timeout. It is implemented by checking that we play haptics only for the first time after receiving unfold callback from the system. Bug: 265279748 Test: atest com.android.systemui.unfold.UnfoldHapticsPlayerTest Test: manual Change-Id: I18b6c0895c76e168cacc5492f134ca7634bc1ebe
Loading
Please register or sign in to comment