Fix setting initial 0 position in PlayerControlView

This commit is contained in:
Andrew Shu 2021-10-03 15:58:05 -07:00
parent b192465bba
commit e883c04006

View File

@ -343,8 +343,8 @@ public class PlayerControlView extends FrameLayout {
private long[] extraAdGroupTimesMs;
private boolean[] extraPlayedAdGroups;
private long currentWindowOffset;
private long currentPosition;
private long currentBufferedPosition;
private long currentPosition = C.POSITION_UNSET;
private long currentBufferedPosition = C.POSITION_UNSET;
public PlayerControlView(Context context) {
this(context, /* attrs= */ null);