commit | 12055fac833287e8f03d606b112bdb230e9218ba | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 04 08:06:53 2014 -0500 |
committer | Ethan Yonker <dees_troy@teamw.in> | Thu Sep 04 08:06:53 2014 -0500 |
tree | 417fe707a922a019f836ae275ad45cd59ee8e088 | |
parent | 6f49e11d8adb08a8b420d679b3ab0cbfda6ffb12 [diff] |
Properly set mtp enable variable if disabled during boot Change-Id: Iedf08419a1fd46908e5b9186a769a0497ce62ca8
diff --git a/twrp.cpp b/twrp.cpp index 870a732..d9a5ab1 100644 --- a/twrp.cpp +++ b/twrp.cpp
@@ -312,6 +312,7 @@ 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