summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2010-02-11 06:50:20 -0800
committerSan Mehat <san@google.com>2010-02-11 06:50:31 -0800
commita181b21305e0bcf171e2112a3ca5c08eb4fd2434 (patch)
tree2d710c52e471992a454f7115042f3a8ff79be06d /core
parent2980d10c1a77172556acf7875a2781ffc9881c15 (diff)
downloadframeworks_base-a181b21305e0bcf171e2112a3ca5c08eb4fd2434.zip
frameworks_base-a181b21305e0bcf171e2112a3ca5c08eb4fd2434.tar.gz
frameworks_base-a181b21305e0bcf171e2112a3ca5c08eb4fd2434.tar.bz2
MountService: Fix some mountset bugs and tighten up some return values
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'core')
-rw-r--r--core/java/android/os/storage/StorageResultCode.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/core/java/android/os/storage/StorageResultCode.java b/core/java/android/os/storage/StorageResultCode.java
index 584f160..249bacf 100644
--- a/core/java/android/os/storage/StorageResultCode.java
+++ b/core/java/android/os/storage/StorageResultCode.java
@@ -53,8 +53,15 @@ public class StorageResultCode
public static final int OperationFailedMediaCorrupt = -4;
/**
- * Operation failed: Media not mounted.
+ * Operation failed: Storage not mounted.
* @see android.os.storage.StorageManager
*/
- public static final int OperationFailedVolumeNotMounted = -5;
+ public static final int OperationFailedStorageNotMounted = -5;
+
+ /**
+ * Operation failed: Storage is mounted.
+ * @see android.os.storage.StorageManager
+ */
+ public static final int OperationFailedStorageMounted = -6;
+
}