1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 19:31:30 +00:00

Maybe fix root problems since v1.5.0+ / STMONITORED="1" (fixes #655) (#1505)

This commit is contained in:
Catfriend1 2020-05-17 16:51:31 +02:00 committed by Simon Frei
parent 78e1aa2084
commit 74b460d3e1

View file

@ -412,7 +412,7 @@ public class SyncthingRunnable implements Runnable {
File externalFilesDir = mContext.getExternalFilesDir(null); File externalFilesDir = mContext.getExternalFilesDir(null);
if (externalFilesDir != null) if (externalFilesDir != null)
targetEnv.put("STGUIASSETS", externalFilesDir.getAbsolutePath() + "/gui"); targetEnv.put("STGUIASSETS", externalFilesDir.getAbsolutePath() + "/gui");
targetEnv.put("STNORESTART", "1"); targetEnv.put("STMONITORED", "1");
targetEnv.put("STNOUPGRADE", "1"); targetEnv.put("STNOUPGRADE", "1");
// Disable hash benchmark for faster startup. // Disable hash benchmark for faster startup.
// https://github.com/syncthing/syncthing/issues/4348 // https://github.com/syncthing/syncthing/issues/4348