mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
Fix min api check in RobolectricUtil
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188716201
This commit is contained in:
parent
f44a96f184
commit
29839ab6a6
1 changed files with 2 additions and 2 deletions
|
|
@ -185,9 +185,9 @@ public final class RobolectricUtil {
|
|||
|
||||
@Override
|
||||
public int compareTo(@NonNull PendingMessage other) {
|
||||
int res = Long.compare(this.when, other.when);
|
||||
int res = Util.compareLong(this.when, other.when);
|
||||
if (res == 0 && this != other) {
|
||||
res = Long.compare(this.sequenceNumber, other.sequenceNumber);
|
||||
res = Util.compareLong(this.sequenceNumber, other.sequenceNumber);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue