8250912: Recording#copy() doesn't copy the flush interval

Reviewed-by: jbachorik
This commit is contained in:
Chihiro Ito 2020-08-06 23:47:55 +09:00
parent b0e4e9a2e4
commit db4d59cc0c

View file

@ -505,6 +505,7 @@ public final class PlatformRecorder {
copy.setInternalDuration(r.getDuration()); copy.setInternalDuration(r.getDuration());
copy.setStartTime(r.getStartTime()); copy.setStartTime(r.getStartTime());
copy.setStopTime(r.getStopTime()); copy.setStopTime(r.getStopTime());
copy.setFlushInterval(r.getFlushInterval());
if (r.getState() == RecordingState.NEW) { if (r.getState() == RecordingState.NEW) {
return newRec; return newRec;