Correct some other small lints
This commit is contained in:
parent
e4d0578d19
commit
290751ba78
9 changed files with 20 additions and 25 deletions
|
|
@ -1545,8 +1545,7 @@ public abstract class BasePlayer implements
|
|||
if (simpleExoPlayer == null) {
|
||||
return PlaybackParameters.DEFAULT;
|
||||
}
|
||||
final PlaybackParameters parameters = simpleExoPlayer.getPlaybackParameters();
|
||||
return parameters == null ? PlaybackParameters.DEFAULT : parameters;
|
||||
return simpleExoPlayer.getPlaybackParameters();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ public class VideoPlayerImpl extends VideoPlayer
|
|||
view.setFixedTextSize(TypedValue.COMPLEX_UNIT_PX,
|
||||
(float) minimumLength / captionRatioInverse);
|
||||
}
|
||||
view.setApplyEmbeddedStyles(captionStyle.equals(CaptionStyleCompat.DEFAULT));
|
||||
view.setApplyEmbeddedStyles(captionStyle == CaptionStyleCompat.DEFAULT);
|
||||
view.setStyle(captionStyle);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue