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
d596fcd9
authored
Oct 31, 2019
by
olly
Committed by
Oliver Woodman
Nov 05, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Remove unnecessary warning suppressions
PiperOrigin-RevId: 277709114
parent
a7b24299
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
library/core/src/main/java/com/google/android/exoplayer2/Player.java
library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java
library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderRenderer.java
library/core/src/main/java/com/google/android/exoplayer2/Player.java
View file @
d596fcd9
...
...
@@ -478,7 +478,6 @@ public interface Player {
abstract
class
DefaultEventListener
implements
EventListener
{
@Override
@SuppressWarnings
(
"deprecation"
)
public
void
onTimelineChanged
(
Timeline
timeline
,
@TimelineChangeReason
int
reason
)
{
Object
manifest
=
null
;
if
(
timeline
.
getWindowCount
()
==
1
)
{
...
...
library/core/src/main/java/com/google/android/exoplayer2/trackselection/DefaultTrackSelector.java
View file @
d596fcd9
...
...
@@ -820,7 +820,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
* @deprecated This instance does not have {@link Context} constraints configured. Use {@link
* #getDefaults(Context)} instead.
*/
@SuppressWarnings
(
"deprecation"
)
@Deprecated
public
static
final
Parameters
DEFAULT
=
DEFAULT_WITHOUT_CONTEXT
;
...
...
@@ -1458,7 +1457,6 @@ public class DefaultTrackSelector extends MappingTrackSelector {
/** @deprecated Use {@link #DefaultTrackSelector(Context, TrackSelection.Factory)}. */
@Deprecated
@SuppressWarnings
(
"deprecation"
)
public
DefaultTrackSelector
(
TrackSelection
.
Factory
trackSelectionFactory
)
{
this
(
Parameters
.
DEFAULT_WITHOUT_CONTEXT
,
trackSelectionFactory
);
}
...
...
library/core/src/main/java/com/google/android/exoplayer2/video/VideoDecoderRenderer.java
View file @
d596fcd9
...
...
@@ -89,7 +89,6 @@ import javax.microedition.khronos.opengles.GL10;
// Kept in field rather than a local variable in order not to get garbage collected before
// glDrawArrays uses it.
@SuppressWarnings
(
"FieldCanBeLocal"
)
private
FloatBuffer
[]
textureCoords
;
private
int
program
;
...
...
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