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

Commit 466abcd4 authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

[SysUI][Floaty] Adding squeeze effect haptics.

The new haptics mimic the previous assistant invocation haptics but also
take into account the new squeeze effect. To do so, a subtle rumble is
added as a pre-composition effect during the squeeze. The effect
culminates with the quick rise and tick haptics of the previous
assistant invocation as the Gemini floaty appears.

Test: SqueezeEffectHapticPlayerTest
Test: manual. Verified rumble haptics play during squeeze and play a
  rise and tick haptics with the Gemini Floaty.
Test: manual. Verified haptics are cancelled if the power button is
  released before a long-press is detected.
Flag: com.android.systemui.shared.enable_lpp_assist_invocation_haptic_effect
Bug: 412325043

Change-Id: I63640818762c382e05e5b930046651f7935d1ecc
parent 36bb1d84
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment