OSDN Git Service

Cleanup Bluetooth AdapterService JNI
authorBrian Carlstrom <bdc@google.com>
Tue, 12 Mar 2013 01:12:08 +0000 (18:12 -0700)
committerBrian Carlstrom <bdc@google.com>
Tue, 12 Mar 2013 01:12:08 +0000 (18:12 -0700)
commitf7d4dc0d29f25234518aed02ce395e4ac0d1aac7
tree09e08471f0d903dd2ff97f7fb7a4a268eeee38a7
parent43f8ccf63a02b28be395fd223461f1421ea2aa99
Cleanup Bluetooth AdapterService JNI

I was here to force the version to be initialized as required in the call to AttachCurrentThread.

Probably JNI_ABORT should be used in ReleaseByteArrayElements to avoid copy back, but 0 is semantically what was passed before.

Change-Id: I812b0785011385b033e67012faa08d113418f01e
jni/com_android_bluetooth_btservice_AdapterService.cpp