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

Commit d7d8df64 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: Ia9791be61892a3142f22bb9fd41c45183a14886c
parents cb70e9cf dec2e1ab
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;
}

/*