summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-02-02 17:32:49 +0100
committerDees Troy <dees_troy@teamw.in>2015-02-02 18:23:25 +0100
commit9132d9125314874957f5565c194727ab4ce66733 (patch)
tree74fd8541c10feb8056ec092b106cb8c12f197664 /gui/action.cpp
parentAllow wiping f2fs to reserve space for a crypto footer (diff)
downloadandroid_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar.gz
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar.bz2
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar.lz
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar.xz
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.tar.zst
android_bootable_recovery-9132d9125314874957f5565c194727ab4ce66733.zip
Diffstat (limited to '')
-rw-r--r--gui/action.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 2aa03a637..aa81dff16 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -1555,6 +1555,8 @@ int GUIAction::openrecoveryscript(std::string arg)
}
}
if (reboot) {
+ // Disable stock recovery reflashing
+ TWFunc::Disable_Stock_Recovery_Replace();
usleep(2000000); // Sleep for 2 seconds before rebooting
TWFunc::tw_reboot(rb_system);
} else {