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

This commit is contained in:
Kenny Root
2010-10-01 14:06:46 -07:00
committed by Android (Google) Code Review
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;;