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

Commit 813269e0 authored by Chris Manton's avatar Chris Manton
Browse files

Move bta::dm:: accessor functions to proper file

Bug: 224999611
Test: gd/cert/run
Tag: #refactor

Change-Id: Ia55816f9fc646a46e89d6dd3698ae62d8d43e1d9
parent 36e97035
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -275,6 +275,9 @@ void bta_dm_enable(tBTA_DM_SEC_CBACK* p_sec_cback) {
  btm_local_io_caps = btif_storage_get_local_io_caps();
}

void bta_dm_search_set_state(uint8_t state) { bta_dm_search_cb.state = state; }
uint8_t bta_dm_search_get_state() { return bta_dm_search_cb.state; }

/*******************************************************************************
 *
 * Function         bta_dm_init_cb
+0 −3
Original line number Diff line number Diff line
@@ -47,9 +47,6 @@ tBTA_DM_DI_CB bta_dm_di_cb;
 ******************************************************************************/
void bta_dm_search_sm_disable() { bta_sys_deregister(BTA_ID_DM_SEARCH); }

void bta_dm_search_set_state(uint8_t state) { bta_dm_search_cb.state = state; }
uint8_t bta_dm_search_get_state() { return bta_dm_search_cb.state; }

/*******************************************************************************
 *
 * Function         bta_dm_search_sm_execute