Fix omnibox suggestions when downloads home v2 is enabled.
The bug manifested itself if you had the downloads page visible and was the first time you focused the omnibox. The problem was caused by two views using the ID toolbar in their XML. Then findViewById on the root was unpredictable and would return the first it finds, and when downloads is showing it would be the downloads toolbar. This just makes the downloads toolbar use a unique ID. BUG=901736 Change-Id: I4b67fb828909f1ac443569faa691b953c94e73a1 Reviewed-on: https://chromium-review.googlesource.com/c/1318370Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Commit-Queue: Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#605438}
Showing
Please register or sign in to comment