diff options
| author | 2022-06-24 16:51:15 +0000 | |
|---|---|---|
| committer | 2022-06-24 16:53:05 +0000 | |
| commit | 00ba9e8c24cc8bfe78042138a0e81f0e6fe56e9e (patch) | |
| tree | dde2e4ea8a1e0652df79788feab6a8c9dfec4284 /native/android/input.cpp | |
| parent | 18acc5316ef9133cc5c34167d7d62eff0435ae9a (diff) | |
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
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions