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

Commit 2647f540 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "CachedAppOptimizer: Replace getAttributePathForTask with...

Merge "CachedAppOptimizer: Replace getAttributePathForTask with CgroupGetAttributePathForTask" into aosp-main-future
parents bfeed981 497f718c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -68,7 +68,7 @@ jint getBinderFreezeInfo(JNIEnv *env, jobject, jint pid) {

bool isFreezerSupported(JNIEnv *env, jclass) {
    std::string path;
    if (!getAttributePathForTask("FreezerState", getpid(), &path)) {
    if (!CgroupGetAttributePathForTask("FreezerState", getpid(), &path)) {
        ALOGI("No attribute for FreezerState");
        return false;
    }