am 8b28441a: Merge "Being already unmounted is not a failure" into gingerbread
Merge commit '8b28441adab59f2bb0d92c8a717af75331249e08' into gingerbread-plus-aosp * commit '8b28441adab59f2bb0d92c8a717af75331249e08': Being already unmounted is not a failure
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user