Index: platform_tools/android/bin/android_launch_app |
diff --git a/platform_tools/android/bin/android_launch_app b/platform_tools/android/bin/android_launch_app |
index 53b00e902312e6a5ccfbb7c2829fb76d8c81d855..3eddf3547e29efba4df2d4df48ce1d38237f88dd 100755 |
--- a/platform_tools/android/bin/android_launch_app |
+++ b/platform_tools/android/bin/android_launch_app |
@@ -21,7 +21,7 @@ fi |
if [[ ${app} == 'SampleApp' ]]; then |
$ADB ${DEVICE_SERIAL} shell am start -S -n "com.skia/.SkiaSampleActivity" --es "cmdLineFlags" "${APP_ARGS[*]:1}" |
elif [[ ${app} == "VisualBench" ]] ; then |
- $ADB ${DEVICE_SERIAL} shell am start -S -n "com.skia/.VisualBenchActivity" --es "cmdLineFlags" "${APP_ARGS[*]:1}" |
+ $ADB ${DEVICE_SERIAL} shell am start -S -n "com.skia/.VisualBenchActivity" --es "cmdLineFlags" \"${APP_ARGS[*]:1}\" |
else |
echo "ERROR: supports either 'SampleApp' or 'VisualBench' as valid apps" |
fi |