Fix argument parsing in android app launcher script

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
This commit is contained in:
brianosman 2016-06-02 11:44:06 -07:00 committed by Commit bot
parent 531237ef3a
commit 0dd9f2cbc4

View File

@ -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"