Turn off the old sketch before reloading it.

This commit is contained in:
jdf
2010-02-28 01:42:04 +00:00
parent bf8c91416e
commit 7a33f70e45
@@ -44,6 +44,7 @@ class AndroidDevice implements AndroidDeviceProperties {
// safe to just always include the -r (reinstall) flag
public boolean installApp(final String apkPath, final RunnerListener status) {
bringLauncherToFront();
try {
final ProcessHelper p = new ProcessHelper(generateAdbCommand("install",
"-r", // safe to always use -r switch