Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b39c715c authored by Martijn Coenen's avatar Martijn Coenen Committed by Android (Google) Code Review
Browse files

Merge "StorageManagerService: increase watchdog timeout." into main

parents 6252d93a f3425917
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ class StorageManagerService extends IStorageManager.Stub
    public static final int FAILED_MOUNT_RESET_TIMEOUT_SECONDS = 10;

    /** Extended timeout for the system server watchdog. */
    private static final int SLOW_OPERATION_WATCHDOG_TIMEOUT_MS = 20 * 1000;
    private static final int SLOW_OPERATION_WATCHDOG_TIMEOUT_MS = 30 * 1000;

    /** Extended timeout for the system server watchdog for vold#partition operation. */
    private static final int PARTITION_OPERATION_WATCHDOG_TIMEOUT_MS = 3 * 60 * 1000;
@@ -3251,7 +3251,7 @@ class StorageManagerService extends IStorageManager.Stub
        if (Binder.getCallingUid() != android.os.Process.SYSTEM_UID) {
            throw new SecurityException("no permission to commit checkpoint changes");
        }

        extendWatchdogTimeout("vold#commitChanges might be slow");
        mVold.commitChanges();
    }