Update SyncthingRunnable.java

This commit is contained in:
Catfriend1 2025-08-14 14:55:14 +02:00
parent 7719e193f8
commit be2e29ba0e

View File

@ -491,9 +491,6 @@ public class SyncthingRunnable implements Runnable {
targetEnv.put("STMONITORED", "1");
targetEnv.put("STNOUPGRADE", "1");
// Since Syncthing v2+: purge deletes from database after 1 year.
targetEnv.put("STDBDELETERETENTIONINTERVAL", "8766h");
// Workaround SyncthingNativeCode denied to read gatewayIP by Android 14+ restriction.
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
final String gatewayIpV4 = getGatewayIpV4(mContext);