summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
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 /twrp-functions.hpp
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 'twrp-functions.hpp')
-rw-r--r--twrp-functions.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index c10a184e6..d49cd8499 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -83,8 +83,8 @@ public:
static int Set_Brightness(std::string brightness_value); // Well, you can read, it does what it says, passing return int from TWFunc::Write_File ;)
static bool Toggle_MTP(bool enable); // Disables MTP if enable is false and re-enables MTP if enable is true and it was enabled the last time it was toggled off
static std::string to_string(unsigned long value); //convert ul to string
-
static void SetPerformanceMode(bool mode); // support recovery.perf.mode
+ static void Disable_Stock_Recovery_Replace(); // Disable stock ROMs from replacing TWRP with stock recovery
private:
static void Copy_Log(string Source, string Destination);