summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2020-07-24 13:41:05 +0200
committercyBerta <cyberta@riseup.net>2020-07-24 13:41:05 +0200
commitab6a95483e2c5f726d15216cbb32af0281334485 (patch)
tree7cbd802e3fe3a1ccf77caa37f544e8b39bffb5cc /app/src
parent20c02163b83912d7dc2f85499c118799c95f9e25 (diff)
remove timestamps from providers equals() check and reset timestamps in reset method
Diffstat (limited to 'app/src')
-rw-r--r--app/src/main/java/se/leap/bitmaskclient/Provider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/Provider.java b/app/src/main/java/se/leap/bitmaskclient/Provider.java
index 9d1b0095..3aa66cc2 100644
--- a/app/src/main/java/se/leap/bitmaskclient/Provider.java
+++ b/app/src/main/java/se/leap/bitmaskclient/Provider.java
@@ -423,9 +423,7 @@ public final class Provider implements Parcelable {
privateKey.equals(p.getPrivateKey()) &&
vpnCertificate.equals(p.getVpnCertificate()) &&
allowAnonymous == p.allowsAnonymous() &&
- allowRegistered == p.allowsRegistered() &&
- lastEipServiceUpdate == p.getLastEipServiceUpdate() &&
- lastGeoIpUpdate == p.getLastGeoIpUpdate();
+ allowRegistered == p.allowsRegistered();
} else return false;
}
@@ -596,5 +594,7 @@ public final class Provider implements Parcelable {
vpnCertificate = "";
allowRegistered = false;
allowAnonymous = false;
+ lastGeoIpUpdate = 0L;
+ lastEipServiceUpdate = 0L;
}
}