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
Loading
Please register or sign in to comment