From f9d426b4c69af112269c5bfba8ef01f316833c5a Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Fri, 14 May 2021 12:34:54 -0700 Subject: [PATCH] libprocessgroup: remove failure log for aggregate profiles The inner profile should print error message if needed. Bug: 178070122 Test: Build Signed-off-by: Wei Wang Change-Id: I2d9d54e21fb064678feccdbae453a398806d51d6 (cherry picked from commit 8722e4d21903c56b65d7dea53bc4bc44ca85de34) --- libprocessgroup/task_profiles.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libprocessgroup/task_profiles.cpp b/libprocessgroup/task_profiles.cpp index db00a4981..cf74e6557 100644 --- a/libprocessgroup/task_profiles.cpp +++ b/libprocessgroup/task_profiles.cpp @@ -308,9 +308,7 @@ bool ApplyProfileAction::ExecuteForProcess(uid_t uid, pid_t pid) const { bool ApplyProfileAction::ExecuteForTask(int tid) const { for (const auto& profile : profiles_) { - if (!profile->ExecuteForTask(tid)) { - PLOG(WARNING) << "ExecuteForTask failed for aggregate profile"; - } + profile->ExecuteForTask(tid); } return true; }