summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2018-07-25 16:52:17 +0200
committerEthan Yonker <dees_troy@teamw.in>2019-03-20 21:42:49 +0100
commit64e0a6525f6f82a67649602de3fe1ad62c837c27 (patch)
treec3bd4dfd1d72cb4da8b4fad97bf4861406bb850f /gui/gui.cpp
parentMerge "Update FDE decrypt to pie from CAF" into android-9.0 (diff)
downloadandroid_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.cpp7
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);