commit | 8246a1434c12b607743222c22285b72c9a96497b | [log] [tgz] |
---|---|---|
author | Mac Duy Hai <haim@google.com> | Wed Oct 16 13:46:04 2013 +0100 |
committer | Mac Duy Hai <haim@google.com> | Wed Oct 16 14:00:17 2013 +0100 |
tree | c88a781aab686b4c9892d009448392c68a173c81 | |
parent | b6d33df9092cacfda1768ffdb96a0770c861566d [diff] |
Shortcut show/hideSearchBar with new conditions. This is effectively a revert of: https://googleplex-android-review.googlesource.com/374556 With the new rules, we won't shortcut if: - the search bar is in an opposite visibility OR - a non-animated change has been requested AND there is an ongoing animation. This makes sure that showSearchBar(false) called after showSearchBar(true) is not ignored. Bug: 11105305 Bug: 11237729 Change-Id: I92668dfac072e62506b2872e8bfbe9f707c9cc69