Set EXTRA_CREATE_NEW_TAB to 'true' in browser view intent

This commit is contained in:
cketti 2015-04-04 00:57:47 +02:00
parent 09babb6e88
commit ba8cb6c85d

View file

@ -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;
}