diff options
| author | 2024-09-23 11:17:09 -0700 | |
|---|---|---|
| committer | 2024-09-23 11:22:31 -0700 | |
| commit | b41574aa0a0431bf8ab751de8fe970b698ce33bb (patch) | |
| tree | 705a0a234130d716b34d29b946f08b783dab40b5 /libs/androidfw/StringPool.cpp | |
| parent | 20792fe62b2b512c6bbc0e73c304722403406585 (diff) | |
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions