Loading system/bta/hh/bta_hh_act.cc +7 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ #if (BTA_HH_INCLUDED == TRUE) #if (BTA_HH_INCLUDED == TRUE) #include <log/log.h> #include <string.h> #include <string.h> #include "bta_hh_co.h" #include "bta_hh_co.h" Loading Loading @@ -701,6 +702,12 @@ void bta_hh_ctrl_dat_act(tBTA_HH_DEV_CB* p_cb, tBTA_HH_DATA* p_data) { APPL_TRACE_DEBUG("Ctrl DATA received w4: event[%s]", APPL_TRACE_DEBUG("Ctrl DATA received w4: event[%s]", bta_hh_get_w4_event(p_cb->w4_evt)); bta_hh_get_w4_event(p_cb->w4_evt)); #endif #endif if (pdata->len == 0) { android_errorWriteLog(0x534e4554, "116108738"); p_cb->w4_evt = 0; osi_free_and_reset((void**)&pdata); return; } hs_data.status = BTA_HH_OK; hs_data.status = BTA_HH_OK; hs_data.handle = p_cb->hid_handle; hs_data.handle = p_cb->hid_handle; Loading Loading
system/bta/hh/bta_hh_act.cc +7 −0 Original line number Original line Diff line number Diff line Loading @@ -26,6 +26,7 @@ #if (BTA_HH_INCLUDED == TRUE) #if (BTA_HH_INCLUDED == TRUE) #include <log/log.h> #include <string.h> #include <string.h> #include "bta_hh_co.h" #include "bta_hh_co.h" Loading Loading @@ -701,6 +702,12 @@ void bta_hh_ctrl_dat_act(tBTA_HH_DEV_CB* p_cb, tBTA_HH_DATA* p_data) { APPL_TRACE_DEBUG("Ctrl DATA received w4: event[%s]", APPL_TRACE_DEBUG("Ctrl DATA received w4: event[%s]", bta_hh_get_w4_event(p_cb->w4_evt)); bta_hh_get_w4_event(p_cb->w4_evt)); #endif #endif if (pdata->len == 0) { android_errorWriteLog(0x534e4554, "116108738"); p_cb->w4_evt = 0; osi_free_and_reset((void**)&pdata); return; } hs_data.status = BTA_HH_OK; hs_data.status = BTA_HH_OK; hs_data.handle = p_cb->hid_handle; hs_data.handle = p_cb->hid_handle; Loading