From c057256828743fd1f7ee9d735d84b3a077dac2a8 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 28 Dec 2020 00:48:35 +0100 Subject: remove never implemented multi-profile feature version code --- app/src/main/java/se/leap/bitmaskclient/FeatureVersionCode.java | 1 - app/src/main/java/se/leap/bitmaskclient/StartActivity.java | 3 --- 2 files changed, 4 deletions(-) (limited to 'app/src/main') diff --git a/app/src/main/java/se/leap/bitmaskclient/FeatureVersionCode.java b/app/src/main/java/se/leap/bitmaskclient/FeatureVersionCode.java index 3b67d96b..519e4fc2 100644 --- a/app/src/main/java/se/leap/bitmaskclient/FeatureVersionCode.java +++ b/app/src/main/java/se/leap/bitmaskclient/FeatureVersionCode.java @@ -1,7 +1,6 @@ package se.leap.bitmaskclient; public interface FeatureVersionCode { - int MULTIPLE_PROFILES = 132; int RENAMED_EIP_IN_PREFERENCES = 132; int GEOIP_SERVICE = 148; } diff --git a/app/src/main/java/se/leap/bitmaskclient/StartActivity.java b/app/src/main/java/se/leap/bitmaskclient/StartActivity.java index 9d49d5da..1a679b1c 100644 --- a/app/src/main/java/se/leap/bitmaskclient/StartActivity.java +++ b/app/src/main/java/se/leap/bitmaskclient/StartActivity.java @@ -133,9 +133,6 @@ public class StartActivity extends Activity{ * execute necessary upgrades for version change */ private void executeUpgrade() { - if (hasNewFeature(FeatureVersionCode.MULTIPLE_PROFILES)) { - // TODO prepare usage of multiple profiles - } if (hasNewFeature(FeatureVersionCode.RENAMED_EIP_IN_PREFERENCES)) { String eipJson = preferences.getString(PROVIDER_KEY, null); if (eipJson != null) { -- cgit v1.2.3