Loading android/app/jni/Android.bp +0 −2 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ cc_library_shared { "libandroid_runtime", "libchrome", "libnativehelper", "libcutils", "libutils", "liblog", "libhardware", ], Loading android/app/jni/com_android_bluetooth_btservice_AdapterService.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ #include "android_runtime/AndroidRuntime.h" #include "android_runtime/Log.h" #include "com_android_bluetooth.h" #include "cutils/properties.h" #include "hardware/bt_sock.h" #include "utils/Log.h" #include "utils/misc.h" Loading Loading @@ -622,11 +621,7 @@ static void classInitNative(JNIEnv* env, jclass clazz) { method_energyInfo = env->GetMethodID( clazz, "energyInfoCallback", "(IIJJJJ[Landroid/bluetooth/UidTraffic;)V"); char value[PROPERTY_VALUE_MAX]; property_get("bluetooth.mock_stack", value, ""); const char* id = (strcmp(value, "1") ? BT_STACK_MODULE_ID : BT_STACK_TEST_MODULE_ID); const char* id = BT_STACK_MODULE_ID; hw_module_t* module; int err = hw_get_module(id, (hw_module_t const**)&module); Loading Loading
android/app/jni/Android.bp +0 −2 Original line number Diff line number Diff line Loading @@ -23,8 +23,6 @@ cc_library_shared { "libandroid_runtime", "libchrome", "libnativehelper", "libcutils", "libutils", "liblog", "libhardware", ], Loading
android/app/jni/com_android_bluetooth_btservice_AdapterService.cpp +1 −6 Original line number Diff line number Diff line Loading @@ -18,7 +18,6 @@ #include "android_runtime/AndroidRuntime.h" #include "android_runtime/Log.h" #include "com_android_bluetooth.h" #include "cutils/properties.h" #include "hardware/bt_sock.h" #include "utils/Log.h" #include "utils/misc.h" Loading Loading @@ -622,11 +621,7 @@ static void classInitNative(JNIEnv* env, jclass clazz) { method_energyInfo = env->GetMethodID( clazz, "energyInfoCallback", "(IIJJJJ[Landroid/bluetooth/UidTraffic;)V"); char value[PROPERTY_VALUE_MAX]; property_get("bluetooth.mock_stack", value, ""); const char* id = (strcmp(value, "1") ? BT_STACK_MODULE_ID : BT_STACK_TEST_MODULE_ID); const char* id = BT_STACK_MODULE_ID; hw_module_t* module; int err = hw_get_module(id, (hw_module_t const**)&module); Loading