From 74b460d3e1f396b7cecf320f8c876bbef9110e15 Mon Sep 17 00:00:00 2001 From: Catfriend1 Date: Sun, 17 May 2020 16:51:31 +0200 Subject: [PATCH] Maybe fix root problems since v1.5.0+ / STMONITORED="1" (fixes #655) (#1505) --- .../com/nutomic/syncthingandroid/service/SyncthingRunnable.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java b/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java index 2442c439..6be374ae 100644 --- a/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java +++ b/app/src/main/java/com/nutomic/syncthingandroid/service/SyncthingRunnable.java @@ -412,7 +412,7 @@ public class SyncthingRunnable implements Runnable { File externalFilesDir = mContext.getExternalFilesDir(null); if (externalFilesDir != null) targetEnv.put("STGUIASSETS", externalFilesDir.getAbsolutePath() + "/gui"); - targetEnv.put("STNORESTART", "1"); + targetEnv.put("STMONITORED", "1"); targetEnv.put("STNOUPGRADE", "1"); // Disable hash benchmark for faster startup. // https://github.com/syncthing/syncthing/issues/4348