commit | 3e5f0af085293004b378c07d2c52e51f1b32d1a2 | [log] [tgz] |
---|---|---|
author | Winson <winsonc@google.com> | Tue Apr 26 10:22:47 2016 -0700 |
committer | Winson <winsonc@google.com> | Tue Apr 26 11:39:28 2016 -0700 |
tree | 842cb89d876c199bdbad83843545955edb45be60 | |
parent | f71d7feef22db9e0cab2f32edc7440aedb86fdfe [diff] |
Mark header bar buttons as clickable only when they are made visible. - We were incorrectly setting the OnClickListener to null to try to do this, which still causes the touch event to be consumed by the button view, so instead we should just set the clickable state directly. Bug: 27859552 Change-Id: Ida3b4a467c6f325ce8fe5a90b0b77c2bdda5a936