diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2014-09-04 15:06:53 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2014-09-04 15:06:53 +0200 |
commit | 12055fac833287e8f03d606b112bdb230e9218ba (patch) | |
tree | 417fe707a922a019f836ae275ad45cd59ee8e088 | |
parent | Prevent MTP enable on startup if crash detected (diff) | |
download | android_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 |
-rw-r--r-- | twrp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |