diff options
author | Fup Duck <fupduck@sacknagel.com> | 2017-12-06 01:58:21 +0100 |
---|---|---|
committer | Fup Duck <fupduck@sacknagel.com> | 2017-12-06 01:58:21 +0100 |
commit | da7293252f197e9b54c1abd8127b4abe45b95110 (patch) | |
tree | cf8185239d8c1394f89e2b90ce8932a2a876ad6a /app/src/main/java/se/leap/bitmaskclient/updates | |
parent | 38796aeb892379b8c2b7e4e1d7af00c4c050e8dc (diff) |
move constants
* move EIPConstants to Constants
* unify EIPConstants where possible
* create Updater
Diffstat (limited to 'app/src/main/java/se/leap/bitmaskclient/updates')
-rw-r--r-- | app/src/main/java/se/leap/bitmaskclient/updates/ConstantUnification.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/src/main/java/se/leap/bitmaskclient/updates/ConstantUnification.java b/app/src/main/java/se/leap/bitmaskclient/updates/ConstantUnification.java new file mode 100644 index 00000000..ba78fa00 --- /dev/null +++ b/app/src/main/java/se/leap/bitmaskclient/updates/ConstantUnification.java @@ -0,0 +1,18 @@ +package se.leap.bitmaskclient.updates; + +import android.content.SharedPreferences; + +public class ConstantUnification { + + private String OLD_ALLOWED_ANON = "allow_anonymous"; + private String OLD_ALLOWED_REGISTERED = "allow_registration"; + private String OLD_VPN_CERTIFICATE = "cert"; + private String OLD_PRIVATE_KEY = "Constants.PRIVATE_KEY"; + private String OLD_KEY = "Constants.KEY"; + private String OLD_PROVIDER_CONFIGURED = "Constants.PROVIDER_CONFIGURED"; + + public static void upgrade(SharedPreferences preferences) { + // TODO MOVE SAVED DATA + } + +} |