kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #6429 from TiA4f8R/fix-play-with-kodi-player-button
Fix Play with Kodi button in Player always prompts to install Korepull/6430/head
commit
932eb94f9d
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue