mirror of
https://github.com/go-i2p/gomobile-java.git
synced 2025-07-13 03:53:12 -04:00

Replace the direct access to JavaVM* and the global android Context instance with a function responsible for running attached correctly to the JVM. This saves having to replicate the logic for attaching an OS thread to the JVM. While here, check for any unhandled Java exceptions. This supersedes cl/11812. Change-Id: Ic9291fe64083d2bd983c4f8e309941b9c47d60c2 Reviewed-on: https://go-review.googlesource.com/14162 Reviewed-by: Nigel Tao <nigeltao@golang.org>
golang.org/x/mobile/exp contains experimental packages for mobile app development.