Fix argument parsing in android app launcher script
authorbrianosman <brianosman@google.com>
Thu, 2 Jun 2016 18:44:06 +0000 (11:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 2 Jun 2016 18:44:06 +0000 (11:44 -0700)
Makes the argument match the error message that gets printed (and users'
expectations).

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2030123002

Review-Url: https://codereview.chromium.org/2030123002

platform_tools/android/bin/android_launch_app

index c1eb0b4..93bd1f7 100755 (executable)
@@ -21,7 +21,7 @@ fi
 
 if [[ ${app} == 'SampleApp' ]]; then
     activity="com.skia.sample_app/com.skia.SkiaSampleActivity"
-elif [[ ${app} == "VisualBench" ]] ; then
+elif [[ ${app} == "Viewer" ]] ; then
     activity="org.skia.viewer/org.skia.viewer.ViewerActivity"
 else
     echo "ERROR: supports either 'SampleApp' or 'Viewer' as valid apps"