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 <wvw@google.com>
Change-Id: I2d9d54e21fb064678feccdbae453a398806d51d6
(cherry picked from commit 8722e4d21903c56b65d7dea53bc4bc44ca85de34)
This commit is contained in:
Wei Wang 2021-05-14 12:34:54 -07:00
parent 3055d4b780
commit f9d426b4c6
1 changed files with 1 additions and 3 deletions

View File

@ -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;
}