commit | 3b8f09b3c56fc81148a06af68dde58022bc042fe | [log] [tgz] |
---|---|---|
author | Hansong Zhang <hsz@google.com> | Wed Mar 28 16:53:10 2018 -0700 |
committer | Hansong Zhang <hsz@google.com> | Wed Apr 04 14:54:07 2018 -0700 |
tree | c2cdbb1e432af930ba32e93661b8af6fbf199ef1 | |
parent | 3a2d4143eeca73c557df24cb78428629a9bb5546 [diff] |
Hearing Aid: change get/set active device (3/3) * setActiveDevice() returns false in error case, e.g. when the device is not connected * add getActiveDevices() instead of isActiveDevice(), which returns a list that must have two elements: left and right, or empty list on error Test: manual Bug: 69623109 Change-Id: I48f3388c56434d0c21e09bd8b794e58848cd8794 (cherry picked from commit 8d799f8340d0219280f27cc35f0c02dae5922b74)