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

Commit d5101a55 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 main
parents 9fc248aa f5f80578
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;
    }