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

Commit 7e8e06af authored by Jing Ji's avatar Jing Ji Committed by Automerger Merge Worker
Browse files

Merge "Multiply the total memory by mem_unit" into rvc-dev am: b7bca21b am:...

Merge "Multiply the total memory by mem_unit" into rvc-dev am: b7bca21b am: 238749ee am: d661a957

Change-Id: Ia59de2cf8b83a1010c7e0330eb7a2f0b9e2045dd
parents 7456a63d d661a957
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;
}

/*