Fix min api check in RobolectricUtil

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188716201
This commit is contained in:
olly 2018-03-12 06:56:35 -07:00 committed by Oliver Woodman
parent f44a96f184
commit 29839ab6a6

View file

@ -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;
}