Loading services/java/com/android/server/MountService.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading tools/obbtool/mkobb.sh +2 −3 Original line number Diff line number Diff line Loading @@ -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;; Loading Loading
services/java/com/android/server/MountService.java +2 −1 Original line number Diff line number Diff line Loading @@ -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); Loading
tools/obbtool/mkobb.sh +2 −3 Original line number Diff line number Diff line Loading @@ -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;; Loading