Always install when benchmarking split sample
Fix typo in comment
Change-Id: I31c16c20f27e9564bfbf2d7263436236424d6dcc
diff --git a/tools/build_sample_apk.py b/tools/build_sample_apk.py
index f0c74d9..b74356b 100755
--- a/tools/build_sample_apk.py
+++ b/tools/build_sample_apk.py
@@ -165,7 +165,7 @@
command = ['adb']
command.extend(args)
utils.PrintCmd(command)
- # On M adb install-multiple exits 0 but succeed in installing.
+ # On M adb install-multiple exits 1 but succeed in installing.
if ignore_exit:
subprocess.call(command)
else:
@@ -293,7 +293,7 @@
apks.append(split_apk_path)
print('Generated apks available at: %s' % ' '.join(apks))
- if options.install:
+ if options.install or options.benchmark:
adb_install(apks)
grand_total = 0
if options.benchmark: