summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2015-04-28 04:03:16 +0200
committerDees Troy <dees_troy@teamw.in>2015-06-17 23:40:25 +0200
commit28a85d232f18c3014944268dcbfed4fcbe11a945 (patch)
treed5d262dc868deed2447c37d3a58ca7bef7a75dc4
parentframebuffer: s6 edge takes a little lomger to initialize fb0 (diff)
downloadandroid_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar.gz
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar.bz2
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar.lz
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar.xz
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.tar.zst
android_bootable_recovery-28a85d232f18c3014944268dcbfed4fcbe11a945.zip
-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();