From f08d2e6f92fce4beb1b94e4324c57a5f1c5eb22e Mon Sep 17 00:00:00 2001 From: cyBerta Date: Tue, 31 Oct 2023 11:52:44 +0100 Subject: fix regression in fatweb builds after switch to encrypted shared preferences --- .../fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/InstallActivity.java') 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()); -- cgit v1.2.3