code: public void invokeSeekCompleteListener() {
      int duration = getMediaInfo().duration;
      setCurrentPosition(pendingSeek > duration ? duration
          : pendingSeek < 0 ? 0 : pendingSeek);
      pendingSeek = -1;
      if (state == STARTED) {
        doStart();
      }
      if (seekCompleteListener == null) {
        return;
      }
      seekCompleteListener.onSeekComplete(player);
    }
docs: Allows test cases to simulate seek completion by invoking callback.