OSDN Git Service

Rename and reset the proirity of HID host thread
authorUgo Yu <ugoyu@google.com>
Wed, 5 Jun 2019 12:08:29 +0000 (20:08 +0800)
committerUgo Yu <ugoyu@google.com>
Wed, 5 Jun 2019 13:12:14 +0000 (21:12 +0800)
commit4e25ef13b20031ad037c0e4a002c988e69809e65
tree359faac1f196db0a050e4ab353ae01c5c8613da6
parent879fbfbed8383d99c6c75a318def12410c9ab673
Rename and reset the proirity of HID host thread

* Rename the HH event polling thread to bt_hh_thread
* HH event polling thread is created by bt_main_thread
  with RT priority. Lower the thread priority since the
  tasks in this thread is not timing critical

Bug: 131787936
Test: Connect to a HID device
      Run "adb shell ps -A -T -Z -O rtprio"
Change-Id: Ibd983e96bc339393842d4c2e2aa226534095e225
btif/co/bta_hh_co.cc