Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,8 @@ public long leftSeconds() {
}
if (lockTime.get() > 0 && passwordLockSeconds == UNBOUNDED) {
// unbounded lock
return 0;
// Returns 9999 seconds every time instead of 9999 seconds countdown
return 9999;
}
return Math.max(0, passwordLockSeconds - ((System.currentTimeMillis() - lockTime.get()) / 1000));
}
Expand Down