Make sure that adbd restarts after sideload
Change-Id: I7d82b95cd8749c6f8569739162708705faa6f1f7
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user