summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-09-04 15:06:53 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-09-04 15:06:53 +0200
commit12055fac833287e8f03d606b112bdb230e9218ba (patch)
tree417fe707a922a019f836ae275ad45cd59ee8e088
parentPrevent MTP enable on startup if crash detected (diff)
downloadandroid_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar.gz
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar.bz2
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar.lz
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar.xz
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.tar.zst
android_bootable_recovery-12055fac833287e8f03d606b112bdb230e9218ba.zip
Diffstat (limited to '')
-rw-r--r--twrp.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/twrp.cpp b/twrp.cpp
index 870a73296..d9a5ab1eb 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -312,6 +312,7 @@ int main(int argc, char **argv) {
property_set("mtp.crash_check", "0");
} else {
gui_print_color("warning", "MTP Crashed, not starting MTP on boot.\n");
+ DataManager::SetValue("tw_mtp_enabled", 0);
}
#endif