vold now prepares a subdirectory for face data.

Change-Id: I32ec05942aac03b95b2abe5d042833197d69706b
Fixes: 116528212
Test: Built and tested locally.
This commit is contained in:
Zachary Iqbal 2018-09-25 20:19:55 -07:00
parent 148bf21531
commit 21b3b37af3

View file

@ -133,6 +133,10 @@ 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);