Add AndroidPermissionsDelegate override to LocationBarLayoutTest
#testShowingVoiceSearchButtonIfUrlBarIsEmpty flakes with a screenshot of the omnibox lacking a mic button. This will only happen if mic permissions for the app have been completely revoked. Specifying a mock AndroidPermissionsDelegate to ensure this check passes and the mic is visible. Bug: 1091646 Change-Id: Ib4412c3e7e055657cab9f75f3e2ae25621d10084 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2582943Reviewed-by:Patrick Noland <pnoland@chromium.org> Reviewed-by:
Filip Gorski <fgorski@chromium.org> Commit-Queue: Brandon Wylie <wylieb@chromium.org> Cr-Commit-Position: refs/heads/master@{#835891}
Showing
Please register or sign in to comment