mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Turn off the old sketch before reloading it.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user