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

Commit a7c7e825 authored by William Escande's avatar William Escande
Browse files

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
parent 0e41093c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment