Skip to content
Commit 62fbf97b authored by Dongwon Kang's avatar Dongwon Kang
Browse files

Remove AndroidRuntime::getJNIEnv() usage from libmedia2_jni

JavaVMHelper keeps the vm instance supplied with JNI_OnLoad and
it is reused whenever JniEnv is requested.
Plus, AndroidRuntime::registerNativeMethods() is replaced with
jniRegisterNativeMethods() in libnativehelper.

Test: pass MediaPlayer2Test#testPlayVideo
Bug: 63934228
Change-Id: Ia773afa93df00b32debd08f0a66893656f710341
parent 10a67ef6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment