[Android] Hide bookmarks edit button until bookmarks fully loaded
We attempt to hide the bookmark edit button until the model is loaded, but a call to show the normal menu group in SelectableListToolbar#showNormalView() makes the edit icon visible again. Override #showNormalView() in BookmarkActionBar and set the edit icon to invisible until search delegate is set. Also adds a test to prevent regressions. BUG=778024 Change-Id: I4a4311358a7828587eb01adfab2b0a2baa3069db Reviewed-on: https://chromium-review.googlesource.com/738316Reviewed-by:Matthew Jones <mdjones@chromium.org> Commit-Queue: Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#512329}
Showing
Please register or sign in to comment