Skip to content
Commit 6af4d096 authored by Matthew Ng's avatar Matthew Ng
Browse files

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
parent 74cfe567
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment