Skip to content

Commit

Permalink
fix window deprecated check
Browse files Browse the repository at this point in the history
  • Loading branch information
SpecialYang committed Dec 13, 2024
1 parent 8ff2297 commit ef9dc9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public boolean isWindowDeprecated(/*@NonNull*/ WindowWrap<T> windowWrap) {
}

public boolean isWindowDeprecated(long time, WindowWrap<T> windowWrap) {
return time - windowWrap.windowStart() > intervalInMs;
return time - windowWrap.windowStart() >= intervalInMs;
}

/**
Expand Down

0 comments on commit ef9dc9d

Please sign in to comment.