Merge pull request #6429 from TiA4f8R/fix-play-with-kodi-player-button

Fix Play with Kodi button in Player always prompts to install Kore
This commit is contained in:
Tobi 2021-06-05 14:32:09 +02:00 committed by GitHub
commit 932eb94f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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