diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2018-07-25 16:52:17 +0200 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2019-03-20 21:42:49 +0100 |
commit | 64e0a6525f6f82a67649602de3fe1ad62c837c27 (patch) | |
tree | c3bd4dfd1d72cb4da8b4fad97bf4861406bb850f /gui/gui.cpp | |
parent | Merge "Update FDE decrypt to pie from CAF" into android-9.0 (diff) | |
download | android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar.gz android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar.bz2 android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar.lz android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar.xz android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.tar.zst android_bootable_recovery-64e0a6525f6f82a67649602de3fe1ad62c837c27.zip |
Diffstat (limited to '')
-rw-r--r-- | gui/gui.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp index a270e365f..ce8c3e29d 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -474,6 +474,13 @@ static void ors_command_read() gui_set_FILE(orsout); PageManager::GetResources()->DumpStrings(); ors_command_done(); + } else if (strlen(command) == 11 && strncmp(command, "reloadtheme", 11) == 0) { + PageManager::RequestReload(); + ors_command_done(); + } else if (strlen(command) > 11 && strncmp(command, "changepage=", 11) == 0) { + char* pg = &command[11]; + gui_changePage(pg); + ors_command_done(); } else { // mirror output messages gui_set_FILE(orsout); |