OSDN Git Service

Make HID Device service independent from HID Host.
authorIvan Podogov <ginkage@google.com>
Tue, 3 Jan 2017 12:29:45 +0000 (12:29 +0000)
committerIvan Podogov <ginkage@google.com>
Wed, 4 Jan 2017 14:13:22 +0000 (14:13 +0000)
commit2a399b3745502d9a09761ad0cd404bcaddf129f1
tree762db6b6afd71c5fa3b29946cccb505c2e1606c3
parent7bd36a358887b34aebc73f72758a021c03cf16bd
Make HID Device service independent from HID Host.

By default, enabling the HID Device service is only possible
during disabling the HID Host service. If, on the other hand,
the HID Host service was never initialized, then a request to
enable the HID Device service should just be executed
immediately.

Test: manual, on a device without the HID Host profile.
Change-Id: I2ab4b8aec413b66d57eb322d38660f1b4c48ba32
btif/src/btif_hd.cc
btif/src/btif_hh.cc