fix(android): onSeek called instantly (#3530)
This commit is contained in:
@@ -1889,8 +1889,8 @@ public class ReactExoplayerView extends FrameLayout implements
|
||||
|
||||
public void seekTo(long positionMs) {
|
||||
if (player != null) {
|
||||
seekTime = positionMs;
|
||||
player.seekTo(positionMs);
|
||||
eventEmitter.seek(player.getCurrentPosition(), positionMs);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user