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

Commit 3e3c9b80 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Revert "[Floaty] Don't emit cancel event when effect is disabled"

This reverts commit 67c1a6b2.

Reason for revert: b/433842249

In some cases we actually want to emit a CANCEL_SQUEEZE event when the
squeeze effect is disabled. Namely, when the effect gets disabled while
an animation is in progress. This happens on tablets sometimes because
the active assistant changes frequently on tablets. While locked,
tablets have Google Assistant active and while unlocked tablets have
Gemini active. So whenever the device is locked or unlocked, the active
assistant changes.

Bug: 433842249
Test: SqueezeEffectInteractorTest
Test: Manual, i.e. verified on tablets that invocation effect never
      plays when turning on the display with the power button.
Change-Id: Ide6ec19dc74672ca0860aba3f74f4f285c53076b
parent 67c1a6b2
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