From f117962eb25bde75e981c3bff91ba708a55df65e Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Thu, 25 Aug 2016 15:32:21 -0500 Subject: Make it backwards compatible with 4.4 Change-Id: I668604cddc8e8afbf78709f3f872bea4e9f4aa06 --- twinstall.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'twinstall.cpp') diff --git a/twinstall.cpp b/twinstall.cpp index 0162c767b..83cd383bc 100644 --- a/twinstall.cpp +++ b/twinstall.cpp @@ -32,7 +32,11 @@ #include "mtdutils/mtdutils.h" #include "minzip/SysUtil.h" #include "minzip/Zip.h" +#ifdef USE_OLD_VERIFIER +#include "oldverifier/verifier.h" +#else #include "verifier.h" +#endif #include "variables.h" #include "data.hpp" #include "partitions.hpp" @@ -40,9 +44,9 @@ #include "twrp-functions.hpp" #include "gui/gui.hpp" #include "gui/pages.hpp" +#include "legacy_property_service.h" extern "C" { #include "gui/gui.h" - #include "legacy_property_service.h" } static const char* properties_path = "/dev/__properties__"; -- cgit v1.2.3