Resetting long-press effect state for clicks when keyguard is showing.

The state of the long-press effect resets to IDLE in the broader case in
which the keyguard is showing. This ensures that the state resets
properly if the click action does not launch an animation but requires
the keyguard to be dismissed.

Test: atest SystemUiRoboTests:QSLongPressEffectTest
Bug: 353979684
Flag: com.android.systemui.quick_settings_visual_haptics_longpress

Change-Id: I56ac704df313993637f8c8e96a07db7ecd37a89a
3 files changed