diff options
author | Petre Eftime <[email protected]> | 2016-01-27 15:07:30 +0200 |
---|---|---|
committer | Petre Eftime <[email protected]> | 2016-01-27 15:08:19 +0200 |
commit | feff8607e132fd48b3f356012a61dd273e5efd81 (patch) | |
tree | 7578f56b95e91bd520ec087c09bee76984c8275d /java/jni/BluetoothManager.cxx | |
parent | 6d306d0461f3b1c40cca63f8a4a75a791559634f (diff) |
Fix Java package runtime mismatch
Signed-off-by: Petre Eftime <[email protected]>
Diffstat (limited to 'java/jni/BluetoothManager.cxx')
-rw-r--r-- | java/jni/BluetoothManager.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/jni/BluetoothManager.cxx b/java/jni/BluetoothManager.cxx index 476f9ba..6788f2c 100644 --- a/java/jni/BluetoothManager.cxx +++ b/java/jni/BluetoothManager.cxx @@ -29,7 +29,7 @@ #include "tinyb_BluetoothManager.h" -#include "helper.h" +#include "helper.hpp" using namespace tinyb; @@ -72,7 +72,6 @@ jobject Java_tinyb_BluetoothManager_getAdapters(JNIEnv *env, jobject obj) std::vector<std::unique_ptr<BluetoothAdapter>> array = manager->get_adapters(); jobject result = convert_vector_to_jobject<BluetoothAdapter>(env, array, - "BluetoothAdapter", "(J)V"); return result; } @@ -83,7 +82,6 @@ jobject Java_tinyb_BluetoothManager_getDevices(JNIEnv *env, jobject obj) std::vector<std::unique_ptr<BluetoothDevice>> array = manager->get_devices(); jobject result = convert_vector_to_jobject<BluetoothDevice>(env, array, - "BluetoothDevice", "(J)V"); return result; @@ -95,7 +93,6 @@ jobject Java_tinyb_BluetoothManager_getServices(JNIEnv *env, jobject obj) std::vector<std::unique_ptr<BluetoothGattService>> array = manager->get_services(); jobject result = convert_vector_to_jobject<BluetoothGattService>(env, array, - "BluetoothGattService", "(J)V"); return result; } |