Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bd45ca54 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Andre Eisenbach
Browse files

Remove unused BT_STACK_TEST_MODULE_ID

Test: compilation test
Change-Id: If35300cb1cd415721199d409445a9a708122d298
parent f0b90bde
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -23,8 +23,6 @@ cc_library_shared {
        "libandroid_runtime",
        "libchrome",
        "libnativehelper",
        "libcutils",
        "libutils",
        "liblog",
        "libhardware",
    ],
+1 −6
Original line number Diff line number Diff line
@@ -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"
@@ -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);