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

Commit 2bded37d authored by Jing Ji's avatar Jing Ji Committed by Gerrit Code Review
Browse files

Merge "Multiply the total memory by mem_unit"

parents 5e423ac8 bfdf2d2e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -641,7 +641,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;
}

/*