Initialize mStatusView in LocationBarPhone if SEL is enabled
When launching into an incognito tab initially, the status view wouldn't be initialized, and absent a search engine change, would never be initialized ever again. This caused populateFadeAnimations to hide everything in the location bar by accident, since the first visible focused view was null. We should always initialize mStatusView if the search engine logo feature is enabled, and it is safe to do so; there guards against using its padding etc. when not actually showing the logo. Bug: 1060503 Change-Id: Id43b667082b3016b11105d7fcfb4594c24a63ede Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2098266 Commit-Queue: Patrick Noland <pnoland@chromium.org> Reviewed-by:Ted Choc <tedchoc@chromium.org> Cr-Commit-Position: refs/heads/master@{#749324}
Showing
Please register or sign in to comment