+134
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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