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

Commit f4cc30c3 authored by alukin's avatar alukin
Browse files

Extend the watchdog timeout when calling #mount operation

Bug: 301366172
Test: verified manually + atest FileUtilsTest
Change-Id: I9287c37717515b4da48c0c342431631e61aeb5ec
parent c6b82720
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2338,6 +2338,8 @@ class StorageManagerService extends IStorageManager.Stub
        try {
            // TODO(b/135341433): Remove cautious logging when FUSE is stable
            Slog.i(TAG, "Mounting volume " + vol);
            Watchdog.getInstance().setOneOffTimeoutForMonitors(
                    SLOW_OPERATION_WATCHDOG_TIMEOUT_MS, "#mount might be slow");
            mVold.mount(vol.id, vol.mountFlags, vol.mountUserId, new IVoldMountCallback.Stub() {
                @Override
                public boolean onVolumeChecking(FileDescriptor fd, String path,