summaryrefslogtreecommitdiff
path: root/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-31 11:52:44 +0100
committercyBerta <cyberta@riseup.net>2023-10-31 18:53:25 +0100
commitf08d2e6f92fce4beb1b94e4324c57a5f1c5eb22e (patch)
tree083f41c2bbeb41406186833c5b1de4b303807122 /app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java
parent3197444d9da4cf3a22d4c5aaf41da81f36d76bdf (diff)
fix regression in fatweb builds after switch to encrypted shared preferences
Diffstat (limited to 'app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java')
-rw-r--r--app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java
index 69c6feb3..92291a43 100644
--- a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java
+++ b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java
@@ -55,7 +55,7 @@ public class InstallActivity extends Activity {
}
protected void installUpdate() {
- PreferenceHelper.restartOnUpdate(this.getApplicationContext(), true);
+ PreferenceHelper.restartOnUpdate(true);
Intent installIntent = new Intent(Intent.ACTION_VIEW);
File update = UpdateDownloadManager.getUpdateFile(this.getApplicationContext());