forked from openkylin/platform_build
Add missing adbOptions in runhat.
One of the adb commands in runhat was not using the adbOptions and would fail if specifying a single serial device with multiple connected devices. Change-Id: I804a6fccc51090cdc78dc2af76bbc0a24d843e3d
This commit is contained in:
parent
b063aac67e
commit
764b4f80fd
|
@ -1060,7 +1060,7 @@ function runhat()
|
|||
fi
|
||||
|
||||
# issue "am" command to cause the hprof dump
|
||||
local sdcard=$(adb shell echo -n '$EXTERNAL_STORAGE')
|
||||
local sdcard=$(adb ${adbOptions} shell echo -n '$EXTERNAL_STORAGE')
|
||||
local devFile=$sdcard/hprof-$targetPid
|
||||
#local devFile=/data/local/hprof-$targetPid
|
||||
echo "Poking $targetPid and waiting for data..."
|
||||
|
|
Loading…
Reference in New Issue