launch some intents as new task

This commit is contained in:
Philipp Schaefer
2015-01-13 12:33:24 +01:00
parent 249f78859c
commit c551c41609
2 changed files with 6 additions and 2 deletions

View File

@ -237,6 +237,8 @@ public class IITC_WebViewClient extends WebViewClient {
} else {
Log.d("no ingress intel link, start external app to load url: " + url);
final Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
// make new activity independent from iitcm
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
mIitc.startActivity(intent);
}
return true;