Skip to content

Commit 24ff6a4

Browse files
committed
Rename videoURL to streamUrl
1 parent c2968a3 commit 24ff6a4

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

  • app/src/main/java/org/schabi/newpipe/util/external_communication

app/src/main/java/org/schabi/newpipe/util/external_communication/KoreUtils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static boolean shouldShowPlayWithKodi(@NonNull final Context context,
3636
/**
3737
* Start an activity to install Kore.
3838
*
39-
* @param context the context
39+
* @param context the context to use
4040
*/
4141
public static void installKore(final Context context) {
4242
installApp(context, context.getString(R.string.kore_package));
@@ -51,13 +51,13 @@ public static void installKore(final Context context) {
5151
* Kore source code
5252
* </a>.
5353
*
54-
* @param context the context to use
55-
* @param videoURL the url to the video
54+
* @param context the context to use
55+
* @param streamUrl the url to the stream to play
5656
*/
57-
public static void playWithKore(final Context context, final Uri videoURL) {
57+
public static void playWithKore(final Context context, final Uri streamUrl) {
5858
final Intent intent = new Intent(Intent.ACTION_VIEW)
5959
.setPackage(context.getString(R.string.kore_package))
60-
.setData(videoURL)
60+
.setData(streamUrl)
6161
.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
6262

6363
if (!tryOpenIntentInApp(context, intent)) {

0 commit comments

Comments
 (0)