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

Commit 1ca365dd authored by Bharat Singh's avatar Bharat Singh
Browse files

[SysUI][Floaty] Ignore invocation effect in power key combinations

* Changes the initial wait time to 150ms (key combination timeout)
* Intercept the power key in key combination and not run animation

To be taken in follow-up:
* Detect other keys in combination between duration 150ms to LPP

Bug: 409229366
Flag: com.android.systemui.shared.enable_lpp_assist_invocation_effect
Test: manual
1. Invocation effect not player when power key + volume key pressed in
   combination (in that order), tested it for both up and down volume key
2. Invocation effect played when volume key + power key pressed in
   combination (in that order), assistant also launches in this case
Test: atest SqueezeEffectRepositoryTest TopLevelWindowEffectsTest
SqueezeEffectInteractorTest

Change-Id: I152f7cf3d3cc2defafcb77751ab94b80dec46df1
parent 0a9c02b2
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