1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

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 intent = new Intent(Intent.ACTION_VIEW, uri);
intent.addCategory(Intent.CATEGORY_BROWSABLE); intent.addCategory(Intent.CATEGORY_BROWSABLE);
intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName()); intent.putExtra(Browser.EXTRA_APPLICATION_ID, context.getPackageName());
intent.putExtra(Browser.EXTRA_CREATE_NEW_TAB, true);
return intent; return intent;
} }