Check whether a second intent should be ignored in custom tabs
commit466bf49ffe26f66554e044fd1e9dbb29665bb7ac
authoryusufo <yusufo@chromium.org>
Wed, 8 Jul 2015 19:24:29 +0000 (8 12:24 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 8 Jul 2015 19:26:08 +0000 (8 19:26 +0000)
treed1927621c72777ea79fe3779569b9e20da5badf1
parent70fbde6ab4743547c986ad53168b4150d23a2861
Check whether a second intent should be ignored in custom tabs

A custom tab can clobber a second intent that comes with the same
session id. When this happens we should be using IntentHandler#shouldIgnoreIntent
to check the validity of the intent like we do in
ChromeActivity#onNewIntentWithNative

BUG=507976

Review URL: https://codereview.chromium.org/1223023002

Cr-Commit-Position: refs/heads/master@{#337879}
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java
chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabContentHandler.java