summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-01-13 04:59:07 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-01-13 05:08:35 +0100
commitcf50da57422f70059a928f34ca731f18f569eab9 (patch)
tree221f14d4c427e050fbc62e0a87416142a92d33d6 /twrp.cpp
parentFix some crashes during theme (re)loading (diff)
downloadandroid_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar.gz
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar.bz2
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar.lz
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar.xz
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.tar.zst
android_bootable_recovery-cf50da57422f70059a928f34ca731f18f569eab9.zip
Diffstat (limited to '')
-rw-r--r--twrp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/twrp.cpp b/twrp.cpp
index 35404c34d..3489f8cfc 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -278,6 +278,9 @@ int main(int argc, char **argv) {
LOGINFO("Is encrypted, do decrypt page first\n");
if (gui_startPage("decrypt") != 0) {
LOGERR("Failed to start decrypt GUI page.\n");
+ } else {
+ // Check for and load custom theme if present
+ gui_loadCustomResources();
}
} else if (datamedia) {
if (tw_get_default_metadata(DataManager::GetSettingsStoragePath().c_str()) != 0) {