summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorGustav Sennton <gsennton@google.com>2019-04-15 12:48:23 +0100
committerGustav Sennton <gsennton@google.com>2019-04-18 15:31:32 +0100
commit8a52dc3af4069e51f5b40553c2b027781d678963 (patch)
treed901dbd678d2662391fdcac5646a7d9ed0c49737 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent2a4e6f6e2d0588baf5ce8006abf418dd0edbfa92 (diff)
Block clicks on smart actions and replies just after creation/update.
To avoid accidental clicks on smart actions and replies we here block clicks on those buttons just after they are created. We block clicks on those buttons when a notification is updated - but only if the buttons are new, or different from previous buttons shown in the notification. I.e. if the notification is updated but the smart suggestion buttons stay the same we don't block clicks on them. Bug: 128683184 Test: manually ensure clicks are blocked within the initialization delay (for new / changed buttons), and ensure the delay changes when calling adb shell device_config put systemui ssin_onclick_init_delay X where X is the delay in ms. Test: SmartReplyConstantsTest, SmartReplyViewTest Change-Id: I9a44eb6ade6579a42e35b36cce4bd5863332c60e
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions