Add "none" for vold and deprecate mkobb -c

If vold isn't told "none" for the key, it will try to mount it as an
encrypted container.

Also remove the -c option from mkobb since it can be triggered by
including a key as well.

Change-Id: I40a8ff3f778bfda682312630e6687ecc14b51844
This commit is contained in:
Kenny Root
2010-10-01 12:56:59 -07:00
parent 2942391801
commit 12ffd9bf4c
2 changed files with 4 additions and 4 deletions

View File

@@ -1968,7 +1968,8 @@ class MountService extends IMountService.Stub
}
rc = StorageResultCode.OperationSucceeded;
String cmd = String.format("obb mount %s %s %d", mObbState.filename, mKey,
String cmd = String.format("obb mount %s %s %d", mObbState.filename,
mKey != null ? mKey : "none",
mObbState.callerUid);
try {
mConnector.doCommand(cmd);