Add the -Xcheck:jni option.

And make sure the boolean is available in every JNIEnv, so we
don't have to look it up via Runtime and JavaVM every time we
need to use it.

Change-Id: I2d4b5d04ded196e7c7602406d854bb35227d767a
6 files changed
tree: 431eabffeba344b671a19267829991585c16fda6
  1. Android.mk
  2. build/
  3. src/
  4. tools/