Merge "vdc: remove FDE commands"

This commit is contained in:
Treehugger Robot 2022-03-11 00:03:48 +00:00 committed by Gerrit Code Review
commit c1b4ce01f8

View file

@ -116,12 +116,6 @@ int main(int argc, char** argv) {
checkStatus(args, vold->fbeEnable()); checkStatus(args, vold->fbeEnable());
} else if (args[0] == "cryptfs" && args[1] == "init_user0") { } else if (args[0] == "cryptfs" && args[1] == "init_user0") {
checkStatus(args, vold->initUser0()); 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") { } else if (args[0] == "volume" && args[1] == "abort_fuse") {
checkStatus(args, vold->abortFuse()); checkStatus(args, vold->abortFuse());
} else if (args[0] == "volume" && args[1] == "shutdown") { } else if (args[0] == "volume" && args[1] == "shutdown") {