From 95be5705b003deaacb2059a6434bbde8346b94c8 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 1 Mar 2024 13:43:26 +0100 Subject: [PATCH] Fix lint - Unsafe opt-in usage intended to be error-level severity Signed-off-by: Andy Scherzinger --- .../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 2c522850634a..09f685869f2f 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 @@ -390,6 +390,7 @@ class PreviewMediaActivity : } } + @OptIn(markerClass = [UnstableApi::class]) private fun applyWindowInsets() { val playerView = binding.exoplayerView val exoControls = playerView.findViewById(R.id.exo_bottom_bar)