Refactored account/folder monitoring

This commit is contained in:
M66B
2018-08-15 19:34:22 +00:00
parent b0588f0a6c
commit c04ce42eff
44 changed files with 372 additions and 401 deletions

View File

@@ -115,7 +115,8 @@ public class EntityFolder implements Parcelable {
public boolean equals(Object obj) {
if (obj instanceof EntityFolder) {
EntityFolder other = (EntityFolder) obj;
return ((this.account == null ? other.account == null : this.account.equals(other.account)) &&
return (this.id.equals(other.id) &&
(this.account == null ? other.account == null : this.account.equals(other.account)) &&
this.name.equals(other.name) &&
this.type.equals(other.type) &&
this.synchronize.equals(other.synchronize) &&