commit | 418d0cf5c997491be8cfeb509e35c412dd31409d | [log] [tgz] |
---|---|---|
author | Yigit Boyar <yboyar@google.com> | Tue Mar 01 16:09:58 2016 -0800 |
committer | Yigit Boyar <yboyar@google.com> | Tue Mar 01 16:09:58 2016 -0800 |
tree | 0f25c516217fb683597535cef186e23cb8811027 | |
parent | ccb7f018e698d1abd7f9304b29ae5929896749b0 [diff] |
Check if item is selectable before calling on click This CL fixes a bug in ListView where it might call onClick on an un-clickable if a new touch arrives before up timeout. We could actually consider making child position non-changable but that will change behavior. This seems safer approach. Bug: 27198796 Change-Id: I7b15d04efa19d1d760a294bd027f3da3aaa3a445