Being already unmounted is not a failure
Change-Id: I5943096444e3d4d4cc5fd63f64a09c32f649a227
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