From ab6a95483e2c5f726d15216cbb32af0281334485 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Fri, 24 Jul 2020 13:41:05 +0200 Subject: remove timestamps from providers equals() check and reset timestamps in reset method --- app/src/main/java/se/leap/bitmaskclient/Provider.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/src/main') 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; } } -- cgit v1.2.3