fix(android): suppress lint PrivateResource
(#3531)
This commit is contained in:
parent
af6aea8934
commit
38e3625541
@ -1,5 +1,6 @@
|
|||||||
package com.brentvatne.exoplayer;
|
package com.brentvatne.exoplayer;
|
||||||
|
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
@ -9,6 +10,7 @@ import android.widget.ImageButton;
|
|||||||
import androidx.activity.OnBackPressedCallback;
|
import androidx.activity.OnBackPressedCallback;
|
||||||
import androidx.media3.ui.LegacyPlayerControlView;
|
import androidx.media3.ui.LegacyPlayerControlView;
|
||||||
|
|
||||||
|
@SuppressLint("PrivateResource")
|
||||||
public class FullScreenPlayerView extends Dialog {
|
public class FullScreenPlayerView extends Dialog {
|
||||||
private final LegacyPlayerControlView playerControlView;
|
private final LegacyPlayerControlView playerControlView;
|
||||||
private final ExoPlayerView exoPlayerView;
|
private final ExoPlayerView exoPlayerView;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<resources>
|
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||||
<style name="ExoMediaButton.FullScreen">
|
<style name="ExoMediaButton.FullScreen" tools:ignore="PrivateResource">
|
||||||
<item name="android:src">@drawable/exo_icon_fullscreen_enter</item>
|
<item name="android:src">@drawable/exo_icon_fullscreen_enter</item>
|
||||||
<item name="android:contentDescription">@string/exo_controls_fullscreen_enter_description</item>
|
<item name="android:contentDescription">@string/exo_controls_fullscreen_enter_description</item>
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user