[Android] PiP: add log for init failure
Duncan McNamara
git at videolan.org
Thu Jul 4 05:02:21 UTC 2024
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Wed Jul 3 14:15:12 2024 +0200| [0d9c8eff5cad827fcfdfc66dfce4680a31ccf9af] | committer: Duncan McNamara
PiP: add log for init failure
> https://code.videolan.org/videolan/vlc-android/commit/0d9c8eff5cad827fcfdfc66dfce4680a31ccf9af
---
.../vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
index c55f9d59cf..1f962069ee 100644
--- a/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
+++ b/application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
@@ -830,6 +830,7 @@ open class VideoPlayerActivity : AppCompatActivity(), PlaybackService.Callback,
service?.updateWidgetState()
enterPictureInPictureMode(paramBuilder.build())
} catch (e: IllegalArgumentException) { // Fallback with default parameters
+ Log.w(TAG, e.message, e)
enterPictureInPictureMode()
}
else enterPictureInPictureMode()
More information about the Android
mailing list