Properly set mtp enable variable if disabled during boot

Change-Id: Iedf08419a1fd46908e5b9186a769a0497ce62ca8
This commit is contained in:
Ethan Yonker
2014-09-04 08:06:53 -05:00
parent 6f49e11d8a
commit 12055fac83
+1
View File
@@ -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