Allowing IDLE long clicks on QSLongPressEffect.

If the View's OnLongClickListener detects a long click, we dispatch the
long click action if the QSLongPressEffect state is IDLE. This allows
accessibility services from Voice Access to perform actions on the QS
tiles.

Test: QSLongPressEffectTest
Flag: com.android.systemui.quick_settings_visual_haptics_longpress
Bug: 379225278
Change-Id: I2caa7ddac47d0e39e1a43980cbab05ce2c0875e3
3 files changed