summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMatthew Ng <ngmatthew@google.com>2018-03-06 14:43:20 -0800
committerMatthew Ng <ngmatthew@google.com>2018-03-06 14:43:20 -0800
commit6af4d0965d09c8b918109b4e939681b0f90d3544 (patch)
treed26aae10416a8cdaa20a5cce18b8ebc87d448ae8 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent74cfe5674202a85f2779d5e8c9092edcf0ebd4db (diff)
Fixes KeyButtonView to dismiss ripple after aborting for long press
When set pressed state to true after aborting gesture to show ripple, the set pressed state was not set back to false even though it receives a cancel motion event. This leads to showing the ripple without dismissing it. To dismiss the ripple, when receiving the cancel motion event, set pressed state to false. Change-Id: Ic3b9c8e1ecd6cff8ba7a34c2c179a9810f962862 Fixes: 74136297 Test: With an app open in fullscreen, long press home
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions