Revert "Revert "Revert "vold now prepares a subdirectory for face data."""

This reverts commit 9dcf54929f.

Reason for revert: Device fails to boot after OTA.

Bug: 116528212
Bug: 119747564
Change-Id: I32bfbc2c2fd560f090e078426315111f241e76cf
This commit is contained in:
Nick Kralevich 2018-11-19 18:47:47 +00:00
parent 9dcf54929f
commit 8973e2d5d0

View file

@ -133,10 +133,6 @@ static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla
if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, vendor_de_path + "/fpdata")) {
return false;
}
auto facedata_path = vendor_de_path + "/facedata";
if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, facedata_path)) {
return false;
}
}
if (flags & android::os::IVold::STORAGE_FLAG_CE) {
auto misc_ce_path = android::vold::BuildDataMiscCePath(user_id);