diff options
author | Dees_Troy <dees_troy@teamw.in> | 2012-09-06 02:47:21 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2012-09-06 02:47:21 +0200 |
commit | 7d15c25b3aee38a84987513daf79055bd511d9d0 (patch) | |
tree | e736f89ca2161ffbef750e238193d83f637b97b8 /gui/action.cpp | |
parent | TWRP-ify AOSP code (diff) | |
download | android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.gz android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.bz2 android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.lz android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.xz android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.tar.zst android_bootable_recovery-7d15c25b3aee38a84987513daf79055bd511d9d0.zip |
Diffstat (limited to 'gui/action.cpp')
-rw-r--r-- | gui/action.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/action.cpp b/gui/action.cpp index 6ca607b34..ed39d60e9 100644 --- a/gui/action.cpp +++ b/gui/action.cpp @@ -25,7 +25,7 @@ extern "C" { #include "../tw_reboot.h" #include "../minuitwrp/minui.h" #include "../recovery_ui.h" -#include "../extra-functions.h" +#include "gui-functions.h" #include "../variables.h" int install_zip_package(const char* zip_path_filename); @@ -1007,10 +1007,10 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */) DataManager::SetValue(TW_IS_ENCRYPTED, 0); DataManager::ReadSettingsFile(); - - if (check_for_script_file()) { +LOGE("TODO: Implement ORS support\n"); + if (0/*check_for_script_file()*/) { ui_print("Processing OpenRecoveryScript file...\n"); - if (run_script_file() == 0) { + if (/*run_script_file() ==*/ 0) { usleep(2000000); // Sleep for 2 seconds before rebooting tw_reboot(rb_system); load_theme = 0; |