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

Commit b7bca21b authored by Jing Ji's avatar Jing Ji Committed by Android (Google) Code Review
Browse files

Merge "Multiply the total memory by mem_unit" into rvc-dev

parents 43bc020f fb18abde
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;
}

/*