Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8b28e859 authored by Nick Chameyev's avatar Nick Chameyev
Browse files

[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
parent f1f50ee2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment