1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Fix Play with Kodi button in Player always prompts to install Kore

This commit is contained in:
TiA4f8R 2021-06-05 12:48:34 +02:00
parent 332b90d6c1
commit 9fc3ddeab7
No known key found for this signature in database
GPG Key ID: E6D3E7F5949450DD

View File

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