From a70d237a0589ef4c64faf6347efc89489ba268c7 Mon Sep 17 00:00:00 2001 From: Kevin Chyn Date: Thu, 15 Nov 2018 22:46:35 +0000 Subject: [PATCH] Revert "vold now prepares a subdirectory for face data." This reverts commit 21b3b37af3f2677c46f5a0d0374d8fe46e1dee9a. Reason for revert: device not booting Change-Id: Ia76b8454268d70dcd9d9f1ad0d291aaec63b3fd4 --- vold_prepare_subdirs.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vold_prepare_subdirs.cpp b/vold_prepare_subdirs.cpp index b8e5cb6..8c3df30 100644 --- a/vold_prepare_subdirs.cpp +++ b/vold_prepare_subdirs.cpp @@ -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);