Make sure that adbd restarts after sideload

Change-Id: I7d82b95cd8749c6f8569739162708705faa6f1f7
This commit is contained in:
Dees Troy
2015-04-28 02:03:16 +00:00
parent 796991360d
commit 28a85d232f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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);
+1
View File
@@ -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();