From 38e3625541753340e912e474b753e0f4fac4e9c1 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Wed, 14 Feb 2024 13:13:36 +0100 Subject: [PATCH] fix(android): suppress lint `PrivateResource` (#3531) --- .../java/com/brentvatne/exoplayer/FullScreenPlayerView.java | 2 ++ android/src/main/res/values/styles.xml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.java b/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.java index 93080eae..f207ce8f 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.java +++ b/android/src/main/java/com/brentvatne/exoplayer/FullScreenPlayerView.java @@ -1,5 +1,6 @@ package com.brentvatne.exoplayer; +import android.annotation.SuppressLint; import android.app.Dialog; import android.content.Context; import android.view.ViewGroup; @@ -9,6 +10,7 @@ import android.widget.ImageButton; import androidx.activity.OnBackPressedCallback; import androidx.media3.ui.LegacyPlayerControlView; +@SuppressLint("PrivateResource") public class FullScreenPlayerView extends Dialog { private final LegacyPlayerControlView playerControlView; private final ExoPlayerView exoPlayerView; diff --git a/android/src/main/res/values/styles.xml b/android/src/main/res/values/styles.xml index 3459d9d6..076e61ef 100644 --- a/android/src/main/res/values/styles.xml +++ b/android/src/main/res/values/styles.xml @@ -1,6 +1,6 @@ - -