From 85e4de62201e6385db23e13cfe8bd2c18c021fdf Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 5 Aug 2024 16:07:46 +0200 Subject: [PATCH] Fix Signed-off-by: alperozturk --- .../java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt index 1d5d3e4e4c6d..cdaae8d3600d 100644 --- a/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt +++ b/app/src/main/java/com/owncloud/android/ui/preview/PreviewMediaActivity.kt @@ -549,6 +549,7 @@ class PreviewMediaActivity : } R.id.action_remove_file -> { + exoPlayer?.stop() val dialog = RemoveFilesDialogFragment.newInstance(file) dialog.show(supportFragmentManager, ConfirmationDialogFragment.FTAG_CONFIRMATION) }