Revert "Reland "[Omnibox] Use ActivityState to check if we are in browser mode""
This reverts commit 5ae112d1. Reason for revert: still flaky https://test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&testType=chrome_public_test_apk%20(with%20patch)&tests=org.chromium.chrome.browser.omnibox.suggestions.SwitchToTabTest%23testSwitchToTabInSearchActivity Original change's description: > Reland "[Omnibox] Use ActivityState to check if we are in browser mode" > > This is a reland of be1e9636 > > Update the test to run on UI thread. > > Original change's description: > > [Omnibox] Use ActivityState to check if we are in browser mode > > > > > > In multi windows mode, check if we are in browser mode by WindowAndroid > > is not working, should check ActivityState instead. > > > > Bug: 1102640 > > Change-Id: I35a720a2aa6f337cc9f9ae43e39d83c9368fcb5a > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2286478 > > Commit-Queue: Gang Wu <gangwu@chromium.org> > > Reviewed-by: Ted Choc <tedchoc@chromium.org> > > Cr-Commit-Position: refs/heads/master@{#786636} > > Bug: 1102640 > Change-Id: Iefba5a5d0c181535bd7fb86cf0e073be2ebdbcdb > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2293074 > Reviewed-by: Ted Choc <tedchoc@chromium.org> > Commit-Queue: Gang Wu <gangwu@chromium.org> > Cr-Commit-Position: refs/heads/master@{#788816} TBR=tedchoc@chromium.org,gangwu@chromium.org Change-Id: Ie40eb459891875511457c2f0ddf86a8452db396e No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1102640 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2301283Reviewed-by:Gang Wu <gangwu@chromium.org> Commit-Queue: Gang Wu <gangwu@chromium.org> Cr-Commit-Position: refs/heads/master@{#788916}
Showing
Please register or sign in to comment