summaryrefslogtreecommitdiff
path: root/app/src/notFatweb
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/notFatweb')
-rw-r--r--app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadBroadcastReceiver.java18
-rw-r--r--app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadServiceCommand.java19
2 files changed, 37 insertions, 0 deletions
diff --git a/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadBroadcastReceiver.java b/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadBroadcastReceiver.java
new file mode 100644
index 00000000..7adbb85d
--- /dev/null
+++ b/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadBroadcastReceiver.java
@@ -0,0 +1,18 @@
+package se.leap.bitmaskclient.appUpdate;
+
+import android.content.BroadcastReceiver;
+import android.content.Context;
+import android.content.Intent;
+
+/**
+ * DownloadBroadcastReceiver is only implemented in Fatweb builds
+ *
+ */
+public class DownloadBroadcastReceiver extends BroadcastReceiver {
+
+ public static final String ACTION_DOWNLOAD = "se.leap.bitmaskclient.appUpdate.ACTION_DOWNLOAD";
+ @Override
+ public void onReceive(Context context, Intent intent) {
+
+ }
+}
diff --git a/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadServiceCommand.java b/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadServiceCommand.java
new file mode 100644
index 00000000..157f04fe
--- /dev/null
+++ b/app/src/notFatweb/java/se/leap/bitmaskclient/appUpdate/DownloadServiceCommand.java
@@ -0,0 +1,19 @@
+package se.leap.bitmaskclient.appUpdate;
+
+import android.content.Context;
+
+/**
+ * DownloadServiceCommand is only implemented in Fatweb builds
+ *
+ */
+public class DownloadServiceCommand {
+
+ public final static String
+ CHECK_VERSION_FILE = "checkVersionFile",
+ DOWNLOAD_UPDATE = "downloadUpdate";
+
+
+ public static void execute(Context context, String action) {
+ // DO NOTHING.
+ }
+}