datamedia: setup datamedia with key_directory set
Change-Id: I92cc83caf7e4ff3b43a69d214d176acb230abdef
(cherry picked from commit bee26852ce2ad0c1d13ac90170c94185f0c86432)
diff --git a/partition.cpp b/partition.cpp
index f0e4160..f040620 100755
--- a/partition.cpp
+++ b/partition.cpp
@@ -695,6 +695,8 @@
} else {
Is_Encrypted = true;
Is_Decrypted = false;
+ if (datamedia)
+ Setup_Data_Media();
}
} else if (Key_Directory.empty()) {
LOGERR("Primary block device '%s' for mount point '%s' is not present!\n",