You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure the thread is attached to JVM before AIBinder_transact (grpc#29212)
NdkBinder expects the thread to be already attached to JVM when
AIBinder_transact is called with a local Java binder. If that is not the
case, a null pointer dereference will happen in NdkBinder.
This commit tries to cache the pointer to JVM when a new connection is
created (one of the from/toJavaBinder will be called in that case) and
tries to ensure the JVM is attached to current thread before calling
AIBinder_transact.
0 commit comments