Commit 5c24d1cc by olly Committed by Oliver Woodman

Clean up unnecessary use of full package name

PiperOrigin-RevId: 329666401
parent b79e2e06
...@@ -396,7 +396,7 @@ public class StyledPlayerControlView extends FrameLayout { ...@@ -396,7 +396,7 @@ public class StyledPlayerControlView extends FrameLayout {
private final String fullScreenEnterContentDescription; private final String fullScreenEnterContentDescription;
@Nullable private Player player; @Nullable private Player player;
private com.google.android.exoplayer2.ControlDispatcher controlDispatcher; private ControlDispatcher controlDispatcher;
@Nullable private ProgressUpdateListener progressUpdateListener; @Nullable private ProgressUpdateListener progressUpdateListener;
@Nullable private PlaybackPreparer playbackPreparer; @Nullable private PlaybackPreparer playbackPreparer;
...@@ -537,8 +537,7 @@ public class StyledPlayerControlView extends FrameLayout { ...@@ -537,8 +537,7 @@ public class StyledPlayerControlView extends FrameLayout {
extraAdGroupTimesMs = new long[0]; extraAdGroupTimesMs = new long[0];
extraPlayedAdGroups = new boolean[0]; extraPlayedAdGroups = new boolean[0];
componentListener = new ComponentListener(); componentListener = new ComponentListener();
controlDispatcher = controlDispatcher = new DefaultControlDispatcher(fastForwardMs, rewindMs);
new com.google.android.exoplayer2.DefaultControlDispatcher(fastForwardMs, rewindMs);
updateProgressAction = this::updateProgress; updateProgressAction = this::updateProgress;
LayoutInflater.from(context).inflate(controllerLayoutId, /* root= */ this); LayoutInflater.from(context).inflate(controllerLayoutId, /* root= */ this);
...@@ -839,9 +838,9 @@ public class StyledPlayerControlView extends FrameLayout { ...@@ -839,9 +838,9 @@ public class StyledPlayerControlView extends FrameLayout {
} }
/** /**
* Sets the {@link com.google.android.exoplayer2.ControlDispatcher}. * Sets the {@link ControlDispatcher}.
* *
* @param controlDispatcher The {@link com.google.android.exoplayer2.ControlDispatcher}. * @param controlDispatcher The {@link ControlDispatcher}.
*/ */
public void setControlDispatcher(ControlDispatcher controlDispatcher) { public void setControlDispatcher(ControlDispatcher controlDispatcher) {
if (this.controlDispatcher != controlDispatcher) { if (this.controlDispatcher != controlDispatcher) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment