Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8722e4d2 authored by Wei Wang's avatar Wei Wang
Browse files

libprocessgroup: remove failure log for aggregate profiles



The inner profile should print error message if needed.

Bug: 178070122
Test: Build
Signed-off-by: default avatarWei Wang <wvw@google.com>
Change-Id: I2d9d54e21fb064678feccdbae453a398806d51d6
parent d13478ef
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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;
}