commit | 77b80c06af064403d9d6e8fbe04d76dd6f7d2dbb | [log] [tgz] |
---|---|---|
author | Svetoslav Ganov <svetoslavganov@google.com> | Tue Mar 15 20:52:58 2011 -0700 |
committer | Svetoslav Ganov <svetoslavganov@google.com> | Tue Mar 15 20:53:10 2011 -0700 |
tree | f64dab2210c8e769b62c40e5d09835279b5fb059 | |
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