Skip to content

Commit

Permalink
chore: code clean
Browse files Browse the repository at this point in the history
  • Loading branch information
freeboub committed Jun 9, 2024
1 parent 8dd32db commit f7cc6cd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions android/src/main/java/com/brentvatne/exoplayer/ExoPlayerView.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.brentvatne.exoplayer;

import android.annotation.SuppressLint;
import android.content.Context;

import androidx.annotation.NonNull;
Expand All @@ -15,7 +16,6 @@
import androidx.media3.exoplayer.ExoPlayer;
import androidx.media3.ui.SubtitleView;

import android.util.AttributeSet;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.SurfaceView;
Expand All @@ -32,6 +32,7 @@

import java.util.List;

@SuppressLint("ViewConstructor")
public final class ExoPlayerView extends FrameLayout implements AdViewProvider {

private final static String TAG = "ExoPlayerView";
Expand All @@ -48,15 +49,7 @@ public final class ExoPlayerView extends FrameLayout implements AdViewProvider {
private boolean hideShutterView = false;

public ExoPlayerView(Context context, @ViewType.ViewType int viewType) {
this(context, null, viewType);
}

public ExoPlayerView(Context context, AttributeSet attrs, @ViewType.ViewType int viewType) {
this(context, attrs, 0, viewType);
}

public ExoPlayerView(Context context, AttributeSet attrs, int defStyleAttr, @ViewType.ViewType int viewType) {
super(context, attrs, defStyleAttr);
super(context, null, 0);

this.context = context;

Expand Down

0 comments on commit f7cc6cd

Please sign in to comment.