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

Commit d7baaed8 authored by Dan Albert's avatar Dan Albert Committed by Gerrit Code Review
Browse files

Merge "Allow AOSP to boot."

parents 6f954cf2 e08bd641
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -348,7 +348,6 @@ jint android_os_Process_getThreadPriority(JNIEnv* env, jobject clazz,
jboolean android_os_Process_setOomAdj(JNIEnv* env, jobject clazz,
                                      jint pid, jint adj)
{
#ifdef HAVE_OOM_ADJ
    char text[64];
    sprintf(text, "/proc/%d/oom_adj", pid);
    int fd = open(text, O_WRONLY);
@@ -358,8 +357,6 @@ jboolean android_os_Process_setOomAdj(JNIEnv* env, jobject clazz,
        close(fd);
    }
    return true;
#endif
    return false;
}

jboolean android_os_Process_setSwappiness(JNIEnv *env, jobject clazz,