Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2900992
authored
Oct 15, 2019
by
olly
Committed by
Oliver Woodman
Oct 15, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove dead code
PiperOrigin-RevId: 274848191
parent
5e538a2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
14 deletions
demos/gvr/src/main/java/com/google/android/exoplayer2/gvrdemo/PlayerActivity.java
demos/gvr/src/main/java/com/google/android/exoplayer2/gvrdemo/PlayerActivity.java
View file @
a2900992
...
@@ -24,7 +24,6 @@ import com.google.android.exoplayer2.C;
...
@@ -24,7 +24,6 @@ import com.google.android.exoplayer2.C;
import
com.google.android.exoplayer2.C.ContentType
;
import
com.google.android.exoplayer2.C.ContentType
;
import
com.google.android.exoplayer2.DefaultRenderersFactory
;
import
com.google.android.exoplayer2.DefaultRenderersFactory
;
import
com.google.android.exoplayer2.ExoPlaybackException
;
import
com.google.android.exoplayer2.ExoPlaybackException
;
import
com.google.android.exoplayer2.PlaybackPreparer
;
import
com.google.android.exoplayer2.Player
;
import
com.google.android.exoplayer2.Player
;
import
com.google.android.exoplayer2.SimpleExoPlayer
;
import
com.google.android.exoplayer2.SimpleExoPlayer
;
import
com.google.android.exoplayer2.ext.gvr.GvrPlayerActivity
;
import
com.google.android.exoplayer2.ext.gvr.GvrPlayerActivity
;
...
@@ -44,7 +43,7 @@ import com.google.android.exoplayer2.util.EventLogger;
...
@@ -44,7 +43,7 @@ import com.google.android.exoplayer2.util.EventLogger;
import
com.google.android.exoplayer2.util.Util
;
import
com.google.android.exoplayer2.util.Util
;
/** An activity that plays media using {@link SimpleExoPlayer}. */
/** 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"
;
public
static
final
String
EXTENSION_EXTRA
=
"extension"
;
...
@@ -108,18 +107,6 @@ public class PlayerActivity extends GvrPlayerActivity implements PlaybackPrepare
...
@@ -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
// Internal methods
private
void
initializePlayer
()
{
private
void
initializePlayer
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment