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

Commit 71af69db authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "MemoryIntArray: don't double close."

am: 9b972871

Change-Id: I32b9873ec32841a08bdd05cca3a7baf861e1c507
parents 93483d36 9b972871
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -142,8 +142,6 @@ static void android_util_MemoryIntArray_close(JNIEnv* env, jobject clazz, jint f
        jniThrowException(env, "java/io/IOException", "ashmem unpinning failed");
        return;
    }

    close(fd);
}

static jint android_util_MemoryIntArray_get(JNIEnv* env, jobject clazz,