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

Commit 8d85beca authored by Kenny Root's avatar Kenny Root Committed by Android Git Automerger
Browse files

am 8b28441a: Merge "Being already unmounted is not a failure" into gingerbread

Merge commit '8b28441a' into gingerbread-plus-aosp

* commit '8b28441a':
  Being already unmounted is not a failure
parents c38e6ae4 8b28441a
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2062,6 +2062,9 @@ class MountService extends IMountService.Stub
                    int code = e.getCode();
                    if (code == VoldResponseCode.OpFailedStorageBusy) {
                        rc = StorageResultCode.OperationFailedStorageBusy;
                    } else if (code == VoldResponseCode.OpFailedStorageNotFound) {
                        // If it's not mounted then we've already won.
                        rc = StorageResultCode.OperationSucceeded;
                    } else {
                        rc = StorageResultCode.OperationFailedInternalError;
                    }