am d9e88d22: Merge "Add "none" for vold and deprecate mkobb -c" into gingerbread

Merge commit 'd9e88d22f0ffefdc6a3b9c59168bd1bb6d402486' into gingerbread-plus-aosp

* commit 'd9e88d22f0ffefdc6a3b9c59168bd1bb6d402486':
  Add "none" for vold and deprecate mkobb -c
This commit is contained in:
Kenny Root
2010-10-01 15:11:22 -07:00
committed by Android Git Automerger
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);

View File

@@ -161,11 +161,10 @@ eval set -- "$args"
while true; do \
case "$1" in
-c) use_crypto=1; shift;;
-d) directory=$2; shift 2;;
-h) usage; exit 1;;
-k) key=$2; shift 2;;
-K) prompt_key=1; shift;;
-k) key=$2; use_crypto=1; shift 2;;
-K) prompt_key=1; use_crypto=1; shift;;
-v) verbose=1; shift;;
-o) filename=$2; shift 2;;
--) shift; break;;