fix(android): suppress lint PrivateResource
(#3531)
This commit is contained in:
parent
af6aea8934
commit
38e3625541
@ -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;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="ExoMediaButton.FullScreen">
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<style name="ExoMediaButton.FullScreen" tools:ignore="PrivateResource">
|
||||
<item name="android:src">@drawable/exo_icon_fullscreen_enter</item>
|
||||
<item name="android:contentDescription">@string/exo_controls_fullscreen_enter_description</item>
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user