Merge "vdc: remove FDE commands" am: c1b4ce01f8 am: 1d1c8a541c am: 22deab0815
Original change: https://android-review.googlesource.com/c/platform/system/vold/+/2021636
Change-Id: I466ef72bb0fae4fa4f10966c4f08982bd2592bb4
diff --git a/vdc.cpp b/vdc.cpp
index 313ef55..740e246 100644
--- a/vdc.cpp
+++ b/vdc.cpp
@@ -116,12 +116,6 @@
checkStatus(args, vold->fbeEnable());
} else if (args[0] == "cryptfs" && args[1] == "init_user0") {
checkStatus(args, vold->initUser0());
- } else if (args[0] == "cryptfs" && args[1] == "enablecrypto") {
- int passwordType = android::os::IVold::PASSWORD_TYPE_DEFAULT;
- int encryptionFlags = android::os::IVold::ENCRYPTION_FLAG_NO_UI;
- checkStatus(args, vold->fdeEnable(passwordType, "", encryptionFlags));
- } else if (args[0] == "cryptfs" && args[1] == "mountdefaultencrypted") {
- checkStatus(args, vold->mountDefaultEncrypted());
} else if (args[0] == "volume" && args[1] == "abort_fuse") {
checkStatus(args, vold->abortFuse());
} else if (args[0] == "volume" && args[1] == "shutdown") {