mirror of
https://github.com/samsonjs/media.git
synced 2026-04-02 10:45:51 +00:00
Remove dead code
PiperOrigin-RevId: 274848191
This commit is contained in:
parent
5e538a2a28
commit
a2900992c3
1 changed files with 1 additions and 14 deletions
|
|
@ -24,7 +24,6 @@ import com.google.android.exoplayer2.C;
|
|||
import com.google.android.exoplayer2.C.ContentType;
|
||||
import com.google.android.exoplayer2.DefaultRenderersFactory;
|
||||
import com.google.android.exoplayer2.ExoPlaybackException;
|
||||
import com.google.android.exoplayer2.PlaybackPreparer;
|
||||
import com.google.android.exoplayer2.Player;
|
||||
import com.google.android.exoplayer2.SimpleExoPlayer;
|
||||
import com.google.android.exoplayer2.ext.gvr.GvrPlayerActivity;
|
||||
|
|
@ -44,7 +43,7 @@ import com.google.android.exoplayer2.util.EventLogger;
|
|||
import com.google.android.exoplayer2.util.Util;
|
||||
|
||||
/** An activity that plays media using {@link SimpleExoPlayer}. */
|
||||
public class PlayerActivity extends GvrPlayerActivity implements PlaybackPreparer {
|
||||
public class PlayerActivity extends GvrPlayerActivity {
|
||||
|
||||
public static final String EXTENSION_EXTRA = "extension";
|
||||
|
||||
|
|
@ -108,18 +107,6 @@ public class PlayerActivity extends GvrPlayerActivity implements PlaybackPrepare
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
// PlaybackControlView.PlaybackPreparer implementation
|
||||
|
||||
@Override
|
||||
public void preparePlayback() {
|
||||
initializePlayer();
|
||||
}
|
||||
|
||||
// Internal methods
|
||||
|
||||
private void initializePlayer() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue