wiping: this will fix wipe with devices that don't use the
/dev/block/mapper/userdata symlink to the setup device mapper.
Change-Id: I1d5a1ed59f7c445ce86ccd52dae1e2e729e06815
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 34fd39f..2d45263 100755
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1722,9 +1722,7 @@
void TWPartitionManager::Post_Decrypt(const string& Block_Device) {
TWPartition* dat = Find_Partition_By_Path("/data");
-#ifdef USE_FSCRYPT
- dat->Set_Block_Device("/dev/block/mapper/userdata");
-#endif
+
if (dat != NULL) {
DataManager::SetValue(TW_IS_DECRYPTED, 1);
dat->Is_Decrypted = true;