From ba8cb6c85d4d338212ac15eb9ff1455ba8bde90c Mon Sep 17 00:00:00 2001 From: cketti Date: Sat, 4 Apr 2015 00:57:47 +0200 Subject: [PATCH] Set EXTRA_CREATE_NEW_TAB to 'true' in browser view intent --- k9mail/src/main/java/com/fsck/k9/view/K9WebViewClient.java | 1 + 1 file changed, 1 insertion(+) diff --git a/k9mail/src/main/java/com/fsck/k9/view/K9WebViewClient.java b/k9mail/src/main/java/com/fsck/k9/view/K9WebViewClient.java index aaf02e126..95566847d 100644 --- a/k9mail/src/main/java/com/fsck/k9/view/K9WebViewClient.java +++ b/k9mail/src/main/java/com/fsck/k9/view/K9WebViewClient.java @@ -76,6 +76,7 @@ public abstract class K9WebViewClient extends WebViewClient { Intent intent = new Intent(Intent.ACTION_VIEW, uri); intent.addCategory(Intent.CATEGORY_BROWSABLE); intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); + intent.putExtra(Browser.EXTRA_CREATE_NEW_TAB, true); return intent; }