diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2011-03-15 20:52:58 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2011-03-15 20:53:10 -0700 |
commit | 77b80c06af064403d9d6e8fbe04d76dd6f7d2dbb (patch) | |
tree | f64dab2210c8e769b62c40e5d09835279b5fb059 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 0e5e2e2b2bb3d6c3a0216181df29e6bfdc71256f (diff) |
Pressed state not cleared if view is disabled in long click handler
bug:2133127
If a View is disabled its onTouchEvent handler uses a shortcut
path for efficient handling which does not clear the pressed
flag. As a result if the view is disabled in a long click
handler the view keeps being in pressed state. The fix is to
clear if needed the pressed flag in the shortcut path
of onTouchEvent.
Change-Id: I046a62c2fce751c27fec3cfb756b74431fc003c3
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions