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

Commit 101824ef authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "libprocessgroup: remove hardcoded freezer path" am: 0ab5ae94

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1607483

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia2c427bcc61dc89744762fda0cf62e0a03d49fbb
parents 549fa23a 0ab5ae94
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -35,10 +35,6 @@ bool SetProcessProfiles(uid_t uid, pid_t pid, const std::vector<std::string>& pr
#ifndef __ANDROID_VNDK__

static constexpr const char* CGROUPS_RC_PATH = "/dev/cgroup_info/cgroup.rc";
// Path to test against for freezer support
// TODO: remove it once https://r.android.com/1607196 is properly merged to all branches,
// see http://b/180056337
static constexpr const char* CGROUP_FREEZE_PATH = "/sys/fs/cgroup/uid_0/cgroup.freeze";

bool UsePerAppMemcg();