mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Fix Play with Kodi button in Player always prompts to install Kore
This commit is contained in:
parent
332b90d6c1
commit
9fc3ddeab7
@ -596,6 +596,7 @@ public final class NavigationHelper {
|
|||||||
final Intent intent = new Intent(Intent.ACTION_VIEW);
|
final Intent intent = new Intent(Intent.ACTION_VIEW);
|
||||||
intent.setPackage(context.getString(R.string.kore_package));
|
intent.setPackage(context.getString(R.string.kore_package));
|
||||||
intent.setData(videoURL);
|
intent.setData(videoURL);
|
||||||
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
||||||
context.startActivity(intent);
|
context.startActivity(intent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user