Unverified Commit 8f9aca85 authored by Sarah Zakarias's avatar Sarah Zakarias Committed by GitHub

Enable running with prebuilt test-only apk (#18453)

parent 86ed141b
......@@ -279,7 +279,7 @@ class AndroidDevice extends Device {
return false;
final Status status = logger.startProgress('Installing ${apk.apkPath}...', expectSlowOperation: true);
final RunResult installResult = await runAsync(adbCommandForDevice(<String>['install', '-r', apk.apkPath]));
final RunResult installResult = await runAsync(adbCommandForDevice(<String>['install', '-t', '-r', apk.apkPath]));
status.stop();
// Some versions of adb exit with exit code 0 even on failure :(
// Parsing the output to check for failures.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment