Bug fix for DateUtils not working as documented
This commit is contained in:
parent
2c5248aebb
commit
1d3a464c62
@ -199,7 +199,11 @@ public class VideoPlayerFragment extends Fragment implements VideoRendererEventL
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
public void useController(boolean value){
|
||||||
|
if (mBound){
|
||||||
|
simpleExoPlayerView.setUseController(value);
|
||||||
|
}
|
||||||
|
}
|
||||||
private void playVideo(Video video) {
|
private void playVideo(Video video) {
|
||||||
|
|
||||||
Context context = getContext();
|
Context context = getContext();
|
||||||
@ -259,6 +263,11 @@ public class VideoPlayerFragment extends Fragment implements VideoRendererEventL
|
|||||||
mService.player.setPlayWhenReady(false);
|
mService.player.setPlayWhenReady(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public void pauseToggle() {
|
||||||
|
if (mBound) {
|
||||||
|
mService.player.setPlayWhenReady(!mService.player.getPlayWhenReady());
|
||||||
|
}
|
||||||
|
}
|
||||||
public void unPauseVideo() {
|
public void unPauseVideo() {
|
||||||
if (mBound) {
|
if (mBound) {
|
||||||
mService.player.setPlayWhenReady(true);
|
mService.player.setPlayWhenReady(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user