From be17a316c5361109c3d18d1e98cd0d83deeef507 Mon Sep 17 00:00:00 2001 From: Talmid of Levi Date: Fri, 15 Dec 2023 15:58:36 -0500 Subject: [PATCH] Delete patches_treble_td/platform_system_vold/0002-Failing-to-create-facedata-shouldn-t-be-fatal.patch --- ...o-create-facedata-shouldn-t-be-fatal.patch | 38 ------------------- 1 file changed, 38 deletions(-) delete mode 100644 patches_treble_td/platform_system_vold/0002-Failing-to-create-facedata-shouldn-t-be-fatal.patch diff --git a/patches_treble_td/platform_system_vold/0002-Failing-to-create-facedata-shouldn-t-be-fatal.patch b/patches_treble_td/platform_system_vold/0002-Failing-to-create-facedata-shouldn-t-be-fatal.patch deleted file mode 100644 index b018e72..0000000 --- a/patches_treble_td/platform_system_vold/0002-Failing-to-create-facedata-shouldn-t-be-fatal.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 11766af32aece696f0390e41a5c574b4ca3de265 Mon Sep 17 00:00:00 2001 -From: Pierre-Hugues Husson -Date: Sat, 7 Mar 2020 14:49:09 +0100 -Subject: [PATCH 2/5] Failing to create facedata shouldn't be fatal - -Some Pie vendors create it on their own, so SELinux would deny that -Also not all devices have face unlock anyway - -See https://github.com/phhusson/treble_experimentations/issues/1119 ---- - vold_prepare_subdirs.cpp | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/vold_prepare_subdirs.cpp b/vold_prepare_subdirs.cpp -index 94d7f15..671ae6f 100644 ---- a/vold_prepare_subdirs.cpp -+++ b/vold_prepare_subdirs.cpp -@@ -198,7 +198,7 @@ static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla - } - auto facedata_path = vendor_de_path + "/facedata"; - if (!prepare_dir(sehandle, 0700, AID_SYSTEM, AID_SYSTEM, facedata_path)) { -- return false; -+ LOG(ERROR) << "Failed preparing folder for de facedata"; - } - } - } -@@ -247,7 +247,7 @@ static bool prepare_subdirs(const std::string& volume_uuid, int user_id, int fla - 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; -+ LOG(ERROR) << "Failed preparing folder for de facedata"; - } - } - } --- -2.25.1 -