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

Commit 46f4a5b6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Extend the watchdog timeout to allow for slow resets (might results in unmount)" into main

parents 01642009 08d2aab9
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1076,6 +1076,7 @@ class StorageManagerService extends IStorageManager.Stub
            final UserManager userManager = mContext.getSystemService(UserManager.class);
            final UserManager userManager = mContext.getSystemService(UserManager.class);
            final List<UserInfo> users = userManager.getUsers();
            final List<UserInfo> users = userManager.getUsers();


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