Add synchronization for JNI object
Cleanup can put the callback object to NULL but a subsequent event can still try to call JNI on it. Adding check on the jni object + adding mutex to avoid multi-thread issue Bug: 281808930 Test: JNI is untested Change-Id: I45919927b3cf6d5b7ab72e30040bb16492491b25
Loading
Please register or sign in to comment