wrappedkey: only run check on FBE devices

Change-Id: I3713fc4619279d8ee2de924df2bc4fbde944d834
diff --git a/partition.cpp b/partition.cpp
index 5928cdd..e609f54 100755
--- a/partition.cpp
+++ b/partition.cpp
@@ -692,7 +692,9 @@
 		}
 	} else {
 		Set_FBE_Status();
-		if (!Decrypt_FBE_DE()) {
+		int is_device_fbe;
+		DataManager::GetValue(TW_IS_FBE, is_device_fbe);
+		if (!Decrypt_FBE_DE() && is_device_fbe == 1) {
 			char wrappedvalue[PROPERTY_VALUE_MAX];
 			property_get("fbe.data.wrappedkey", wrappedvalue, "");
 			std::string wrappedkeyvalue(wrappedvalue);