[Android] Avoid overriding with intent when lazy loading a frozen tab.
Opening a link in a new tab on low end devices freezes the tab to be lazily loaded when the tab is used for the first time. Opening links with intents from a frozen state causes us to override the URL handling with the external intent which results in an app being launched on selecting that tab, or the picker being shown, instead of seeing the contents at the URL displayed in the tab. This patch treats the page transition type sent to #loadUrl as RELOAD whenever we're loading a URL for the first time in a frozen tab which avoids starting another activity. Bug: 758027 Change-Id: I89e63fb51b00d1c62b12c8f6d827e3e907e463b1 Reviewed-on: https://chromium-review.googlesource.com/956558Reviewed-by:Maria Khomenko <mariakhomenko@chromium.org> Commit-Queue: Troy Hildebrandt <thildebr@chromium.org> Cr-Commit-Position: refs/heads/master@{#542250}
Showing
Please register or sign in to comment