twrp-functions: remove conditional for PageManager
If TW_INCLUDE_CRYPTO is not set, then a build error results
from pages and rapidxml not being included. Since the manifest
parser is not specific to the decryption process, always include
those source files to prevent build errors.
Test: Remove TW_INCLUDE_CRYPTO := true from device tree
Result: Build completes successfully
Change-Id: I6ef999da79fca4b9dec249f993ce4f3b425def1a
diff --git a/twrp-functions.cpp b/twrp-functions.cpp
index 27e73c2..6be85be 100644
--- a/twrp-functions.cpp
+++ b/twrp-functions.cpp
@@ -57,10 +57,8 @@
#include "cutils/properties.h"
#include "cutils/android_reboot.h"
#include <sys/reboot.h>
-#ifdef TW_INCLUDE_CRYPTO
#include "gui/rapidxml.hpp"
#include "gui/pages.hpp"
-#endif
#endif // ndef BUILD_TWRPTAR_MAIN
#ifndef TW_EXCLUDE_ENCRYPTED_BACKUPS
#include "openaes/inc/oaes_lib.h"