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

Commit 312082c4 authored by Minchan Kim's avatar Minchan Kim Committed by android-build-merger
Browse files

Merge "skip reading vmallocinfo if not needed" into qt-r1-dev

am: d8fd3f8e

Change-Id: Ie8a5d54a3076b2e9bfff3164867fe6011a7001d1
parents 00ec90c7 d8fd3f8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -575,7 +575,7 @@ static void android_os_Debug_getMemInfo(JNIEnv *env, jobject clazz, jlongArray o
    if (outArray != NULL) {
        outLen = MEMINFO_COUNT;
        for (int i = 0; i < outLen; i++) {
            if (i == MEMINFO_VMALLOC_USED) {
            if (i == MEMINFO_VMALLOC_USED && mem[i] == 0) {
                outArray[i] = smi.ReadVmallocInfo() / 1024;
                continue;
            }