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

Commit 0e31bbc0 authored by Jing Ji's avatar Jing Ji Committed by Automerger Merge Worker
Browse files

Merge "Multiply the total memory by mem_unit" am: 2bded37d am: dec2e1ab

Change-Id: I6e62dc3dbc96ab2852bc4a71aa119235fffb2470
parents 2dff1ce9 dec2e1ab
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -696,7 +696,7 @@ static jlong android_os_Process_getTotalMemory(JNIEnv* env, jobject clazz)
        return -1;
    }

    return si.totalram;
    return static_cast<jlong>(si.totalram) * si.mem_unit;
}

/*