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

Commit 08d2aab9 authored by Olivier Gaillard's avatar Olivier Gaillard
Browse files

Extend the watchdog timeout to allow for slow resets (might results in unmount)

Bug: 223256297
Change-Id: I9a87f7edf7366ee229bf3da66a801c7398cea30a
parent 698dcbb0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1076,6 +1076,7 @@ class StorageManagerService extends IStorageManager.Stub
            final UserManager userManager = mContext.getSystemService(UserManager.class);
            final List<UserInfo> users = userManager.getUsers();

            extendWatchdogTimeout("#onReset might be slow");
            mStorageSessionController.onReset(mVold, () -> {
                mHandler.removeCallbacksAndMessages(null);
            });