mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
@Override
|
||||||
public int compareTo(@NonNull PendingMessage other) {
|
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) {
|
if (res == 0 && this != other) {
|
||||||
res = Long.compare(this.sequenceNumber, other.sequenceNumber);
|
res = Util.compareLong(this.sequenceNumber, other.sequenceNumber);
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue