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

Skip to content
Commit b41574aa authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Avoiding click dispatching after long-clicks on QS tiles.

When the QSLongPressEffect is enabled, the a no-op long-click listener
is added to the view so that the long-click gesture is fully consumed.
This avoids clicks from being dispacthed by the View when the tiles are
long-pressed.

Test: manual. Verified no clicks are detected after a long-press is
  processed.
Test: atest QSTileViewImplTest
Flag: com.android.systemui.quick_settings_visual_haptics_longpress
Bug: 367952297
Change-Id: Idebe980e23bcba41a69e1f0f27f137d4607116c0
parent 20792fe6
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