BBQ: Attach calling thread to jvm if needed
When BBQ is destroyed from a native thread created by the app, getEnv fails because the calling thread is not attached to the jvm. To fix this, check the result when getting the env from the jvm and attach the current thread if needed. Test: app in bug doesnt crash when resumed Fixes: 236780458 Change-Id: Ib82b9b372167df60ad230ac309099db9f4a1a1fc
Loading
Please register or sign in to comment