openaes: fully remove from build with encrypted backups disabled

Change-Id: I7941d90deb6c07bd354bfd5594b76a25ceccef1e
diff --git a/Android.mk b/Android.mk
index 53a0884..f27ac4b 100755
--- a/Android.mk
+++ b/Android.mk
@@ -509,7 +509,7 @@
 ifeq ($(BOARD_HAS_NO_REAL_SDCARD),)
     TWRP_REQUIRED_MODULES += sgdisk
 endif
-ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
+ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
     TWRP_REQUIRED_MODULES += openaes openaes_license
 endif
 ifeq ($(TW_INCLUDE_DUMLOCK), true)
diff --git a/prebuilt/Android.mk b/prebuilt/Android.mk
index 0258955..8284943 100755
--- a/prebuilt/Android.mk
+++ b/prebuilt/Android.mk
@@ -255,7 +255,7 @@
 ifneq ($(wildcard system/core/libsparse/Android.*),)
     RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libsparse.so
 endif
-ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
+ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
     RECOVERY_LIBRARY_SOURCE_FILES += $(TARGET_OUT_SHARED_LIBRARIES)/libopenaes.so
 endif
 ifeq ($(TARGET_USERIMAGES_USE_F2FS), true)
@@ -405,7 +405,7 @@
 include $(BUILD_PHONY_PACKAGE)
 
 # copy license file for OpenAES
-ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS), true)
+ifneq ($(TW_EXCLUDE_ENCRYPTED_BACKUPS),)
     include $(CLEAR_VARS)
     LOCAL_MODULE := openaes_license
     LOCAL_MODULE_TAGS := optional