Loading system/btif/co/bta_hh_co.cc +3 −3 Original line number Diff line number Diff line Loading @@ -493,11 +493,11 @@ void bta_hh_co_close(btif_hh_device_t* p_dev) { #endif // ENABLE_UHID_SET_REPORT /* Stop the polling thread */ if (p_dev->hh_keep_polling) { p_dev->hh_keep_polling = 0; if (p_dev->hh_poll_thread_id > 0) { pthread_join(p_dev->hh_poll_thread_id, NULL); } p_dev->hh_poll_thread_id = -1; } /* UHID file descriptor is closed by the polling thread */ } Loading Loading
system/btif/co/bta_hh_co.cc +3 −3 Original line number Diff line number Diff line Loading @@ -493,11 +493,11 @@ void bta_hh_co_close(btif_hh_device_t* p_dev) { #endif // ENABLE_UHID_SET_REPORT /* Stop the polling thread */ if (p_dev->hh_keep_polling) { p_dev->hh_keep_polling = 0; if (p_dev->hh_poll_thread_id > 0) { pthread_join(p_dev->hh_poll_thread_id, NULL); } p_dev->hh_poll_thread_id = -1; } /* UHID file descriptor is closed by the polling thread */ } Loading