diff --git a/android-studio-project/ExoPlayer-AirPlay-Receiver/src/main/java/com/github/warren_bank/exoplayer_airplay_receiver/ui/exoplayer2/VideoActivity.java b/android-studio-project/ExoPlayer-AirPlay-Receiver/src/main/java/com/github/warren_bank/exoplayer_airplay_receiver/ui/exoplayer2/VideoActivity.java index 890beff..db9a8f2 100644 --- a/android-studio-project/ExoPlayer-AirPlay-Receiver/src/main/java/com/github/warren_bank/exoplayer_airplay_receiver/ui/exoplayer2/VideoActivity.java +++ b/android-studio-project/ExoPlayer-AirPlay-Receiver/src/main/java/com/github/warren_bank/exoplayer_airplay_receiver/ui/exoplayer2/VideoActivity.java @@ -251,7 +251,7 @@ private void handleIntent(Intent intent) { requiresExternalStoragePermission = true; } if (ExternalStorageUtils.isFileUri(caption)) { - uri = ExternalStorageUtils.normalizeFileUri(caption); + caption = ExternalStorageUtils.normalizeFileUri(caption); requiresExternalStoragePermission = true; } if (requiresExternalStoragePermission && !ExternalStorageUtils.has_permission(this)) {