Skip to content

Commit 404754c

Browse files
committed
io.appium.settings: recording: Fixup timer logic
Signed-off-by: sirmordred <[email protected]>
1 parent ee1bb4e commit 404754c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/io/appium/settings/recorder/RecorderThread.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public void run() {
416416
break;
417417
}
418418

419-
if ((System.currentTimeMillis() - recordingStartTime) < this.recordingMaxDuration) {
419+
if ((System.currentTimeMillis() - recordingStartTime) >= this.recordingMaxDuration) {
420420
Log.v(TAG, "Recording stopped, reached maximum duration");
421421
stopped = true;
422422
}

0 commit comments

Comments
 (0)