commit | 7ccbefcc569ac341bae84bf4c18bae44dcedd80d | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Thu Jan 11 15:29:50 2018 +0000 |
committer | Tony Mak <tonymak@google.com> | Thu Jan 11 15:55:24 2018 +0000 |
tree | 9f49c20277c8147b7c0c9de986d13d994a25ef21 | |
parent | b5d047ca14698fff562a12f1ef012134b1a5a7ee [diff] |
Fix work tab is gone when leaving search mode 1. onSearchResultsChanged is not called if the query is empty. Introduce onClearSearchResult and restore the tab there 2. rebindAdapters should only perform the actual logic if showTabs != mShowTabs, except the first time when we init the layout in onFinishInflate. Fix: 71737947 Change-Id: I5485d6be0fc33b73aa6e0709be66cef8d43b4dbd