From 6a631e191500a72badbea473c675122563145184 Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Tue, 9 Jan 2018 14:02:32 +0100 Subject: [PATCH] forece select activity when opening with browser --- .../java/org/schabi/newpipe/fragments/BaseStateFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java b/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java index 2ee467758..297da7eed 100644 --- a/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java +++ b/app/src/main/java/org/schabi/newpipe/fragments/BaseStateFragment.java @@ -249,7 +249,7 @@ public abstract class BaseStateFragment extends BaseFragment implements ViewC protected void openUrlInBrowser(String url) { Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); - startActivity(intent); + startActivity(Intent.createChooser(intent, activity.getString(R.string.share_dialog_title))); } protected void shareUrl(String url) {