1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-23 11:21:29 +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 GitHub
parent d657bfdc09
commit 5cec53c8c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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