Create /data/vendor_ce/0/facedata in vold_prepare_subdirs
am: b409ade4d7
Change-Id: I6b3a1624a1bfc0053c75f842a1c6f219071a3fb5
diff --git a/vold_prepare_subdirs.cpp b/vold_prepare_subdirs.cpp
index 1dd5e85..a620edd 100644
--- a/vold_prepare_subdirs.cpp
+++ b/vold_prepare_subdirs.cpp
@@ -153,6 +153,11 @@
system_ce_path + "/backup_stage")) {
return false;
}
+ auto vendor_ce_path = android::vold::BuildDataVendorCePath(user_id);
+ auto facedata_path = vendor_ce_path + "/facedata";
+ if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, facedata_path)) {
+ return false;
+ }
}
}
return true;