Fix issue #69820174: The size of /proc/meminfo is larger than its stored buffer.

Make it larger.

Bug: 69820174
Test: booted and ran.
Change-Id: Ic0d7db54e9f34b11f81b3b4fcd8cac15753a548c
This commit is contained in:
Dianne Hackborn
2017-12-08 17:09:26 -08:00
parent 8474c45b71
commit b79a5f91ec

View File

@@ -747,7 +747,7 @@ static long long get_zram_mem_used()
static void android_os_Debug_getMemInfo(JNIEnv *env, jobject clazz, jlongArray out)
{
char buffer[1024];
char buffer[4096];
size_t numFound = 0;
if (out == NULL) {