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

Commit bf47d51d authored by Chris Manton's avatar Chris Manton
Browse files

Re-log btif/src/btif_core::btif_enable_bluetooth_evt

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: act.py -tc BleCocTest
Test: ble paired 2 phones
Change-Id: I16606384fa2580fe372aa852cc4b7f0f606cd484
parent e819ed65
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -263,8 +263,7 @@ void btif_enable_bluetooth_evt() {
  int val_size = 0;
  if ((btif_config_get_str("Adapter", "Address", val, &val_size) == 0) ||
      strcmp(bdstr.c_str(), val) == 0) {
    // This address is not present in the config file, save it there.
    BTIF_TRACE_WARNING("%s: Saving the Adapter Address", __func__);
    LOG_DEBUG("Storing the adapter address into the config file");
    btif_config_set_str("Adapter", "Address", bdstr.c_str());
    btif_config_save();

@@ -295,7 +294,7 @@ void btif_enable_bluetooth_evt() {
#endif

  future_ready(stack_manager_get_hack_future(), FUTURE_SUCCESS);
  LOG_INFO("%s finished", __func__);
  LOG_INFO("Bluetooth enable event completed");
}

/*******************************************************************************