commit | 51d7527626032dffcc7c83e53e331cf7b7a7a862 | [log] [tgz] |
---|---|---|
author | Chienyuan <chienyuanhuang@google.com> | Tue Jul 09 15:09:56 2019 +0800 |
committer | Arjun Garg <arjgarg@google.com> | Thu Jul 11 12:08:27 2019 -0700 |
tree | 445834151a8acf893b2bf84750c5c49c89063f3b | |
parent | a2146f31b97425858eb2bc96473f820bb36f77ce [diff] |
HidProfile: sync isPreferred() with HidHostService HidHostService allow to connect when priority is PRIORITY_UNDEFINED. HidProfile should return ture when priority is PRIORITY_UNDEFINED. Otherwise, the "Input device" toggle in off state when HID device connected. Bug: 132456322 Test: manual Change-Id: Id7bae694c57aec17e019d591c0a677e3cb64f845 (cherry picked from commit 830217f277e31e63d9ab8acd21ee2a8f81ee1c8f)