summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gui/action.cpp2
-rw-r--r--openrecoveryscript.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 5a7646147..af2d51701 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -1511,7 +1511,7 @@ int GUIAction::adbsideload(std::string arg)
LOGINFO("Waiting for child sideload process to exit.\n");
waitpid(sideload_child_pid, &status, 0);
}
-
+ property_set("ctl.start", "adbd");
TWFunc::Toggle_MTP(mtp_was_enabled);
reinject_after_flash();
operation_end(ret);
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index 9b71ee75c..75686cfcc 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -375,6 +375,7 @@ int OpenRecoveryScript::run_script_file(void) {
LOGINFO("Waiting for child sideload process to exit.\n");
waitpid(sideload_child_pid, &status, 0);
}
+ property_set("ctl.start", "adbd");
gui_print("Sideload finished.\n");
} else if (strcmp(command, "fixperms") == 0 || strcmp(command, "fixpermissions") == 0) {
ret_val = PartitionManager.Fix_Permissions();