Auto prolong oneshot

This commit is contained in:
M66B
2019-06-01 08:44:46 +02:00
parent 0816a5deb1
commit 6fa14c93e7
2 changed files with 26 additions and 3 deletions

View File

@@ -19,7 +19,21 @@ package eu.faircode.email;
Copyright 2018-2019 by Marcel Bokhorst (M66B)
*/
import androidx.annotation.Nullable;
import java.util.Objects;
public class TupleAccountStats {
public Integer accounts = 0;
public Integer operations = 0;
@Override
public boolean equals(@Nullable Object obj) {
if (obj instanceof TupleAccountStats) {
TupleAccountStats other = (TupleAccountStats) obj;
return (Objects.equals(this.accounts, other.accounts) &&
Objects.equals(this.operations, other.operations));
} else
return false;
}
}