SampleApp: Make android_install_app and android_launch_app work consistently
authorkkinnunen <kkinnunen@nvidia.com>
Thu, 14 Jan 2016 14:07:40 +0000 (06:07 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 14 Jan 2016 14:07:40 +0000 (06:07 -0800)
commit4c7040bf8a30a191d5c9a3a7286b0ae3ed162611
tree12af1a69011bf99c6c56ca5a2c788620571ba9c1
parent1de87df0b743e30619b8ba93ab0169fd41d0feae
SampleApp: Make android_install_app and android_launch_app work consistently

Make android_install_app work more consistently:
* App can be "SampleApp" or "VisualBench"

Make android_launch_app work more consistently:
* Parameters to SampleApp are passed correctly
* SampleApp is actually launched

The parameters to "am" need to be quoted, since the command
is run on the device shell.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1589883002

Review URL: https://codereview.chromium.org/1589883002
platform_tools/android/bin/android_install_app
platform_tools/android/bin/android_launch_app