diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2014-06-20 00:41:24 +0100 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2014-06-20 00:41:24 +0100 |
commit | b3af9e06c097c587ad7340ff5a67b6cb8f4cc2b0 (patch) | |
tree | 33758f50c5b89050a21ef1d5537f2d8a27d33a32 | |
parent | 552470ba3b3a3dcf2e80061f0089c06be0fd52d2 (diff) | |
parent | 7a7dce808e1545e859b80b86f0279ee68ce3f0cc (diff) | |
download | android_frameworks_webview-shipping/cm-11.0.tar.gz android_frameworks_webview-shipping/cm-11.0.tar.bz2 android_frameworks_webview-shipping/cm-11.0.zip |
Merge tag 'android-4.4.4_r1' into HEADcm-11.0-XNPH44S-bacon-5fa8c79c0bcm-11.0-XNPH33R-bacon-3628510d76cm-11.0-XNPH30O-bacon-4f280f505acm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNG3Cstable/cm-11.0-XNG2Sstable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0cm-11.0
Android 4.4.4 Release 1
-rw-r--r-- | chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java b/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java index 8749985..3a81c0d 100644 --- a/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java +++ b/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java @@ -189,6 +189,11 @@ public class WebViewContentsClientAdapter extends AwContentsClient { // security (only access to BROWSABLE activities). intent.addCategory(Intent.CATEGORY_BROWSABLE); intent.setComponent(null); + Intent selector = intent.getSelector(); + if (selector != null) { + selector.addCategory(Intent.CATEGORY_BROWSABLE); + selector.setComponent(null); + } // Pass the package name as application ID so that the intent from the // same application can be opened in the same tab. intent.putExtra(Browser.EXTRA_APPLICATION_ID, |