diff options
author | Vojtech Bocek <vbocek@gmail.com> | 2013-07-25 22:53:02 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@198.50.184.117> | 2013-08-24 14:56:48 +0200 |
commit | fafb0c541bb4b24515c57251a44d87825eec90fb (patch) | |
tree | 9cddb55ceef8912c8fafe618c98147ff6df19ef6 /twrp.cpp | |
parent | Clean-up in partitions.hpp (diff) | |
download | android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.gz android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.bz2 android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.lz android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.xz android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.tar.zst android_bootable_recovery-fafb0c541bb4b24515c57251a44d87825eec90fb.zip |
Diffstat (limited to 'twrp.cpp')
-rw-r--r-- | twrp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -152,7 +152,7 @@ int main(int argc, char **argv) { } } - char twrp_booted[PROPERTY_VALUE_MAX]; + char twrp_booted[PROPERTY_VALUE_MAX]; property_get("ro.twrp.boot", twrp_booted, "0"); if (strcmp(twrp_booted, "0") == 0) { property_list(Print_Prop, NULL); @@ -242,10 +242,10 @@ int main(int argc, char **argv) { PartitionManager.UnMount_By_Path("/system", false); } - // Reboot + // Reboot TWFunc::Update_Intent_File(Reboot_Value); - TWFunc::Update_Log_File(); - gui_print("Rebooting...\n"); + TWFunc::Update_Log_File(); + gui_print("Rebooting...\n"); string Reboot_Arg; DataManager::GetValue("tw_reboot_arg", Reboot_Arg); if (Reboot_Arg == "recovery") @@ -260,9 +260,9 @@ int main(int argc, char **argv) { TWFunc::tw_reboot(rb_system); #ifdef ANDROID_RB_RESTART - android_reboot(ANDROID_RB_RESTART, 0, 0); + android_reboot(ANDROID_RB_RESTART, 0, 0); #else reboot(RB_AUTOBOOT); #endif - return 0; + return 0; } |