| commit | 0a488938fa1c1b2b0c02b1c101281c01ff8ed103 | [log] [tgz] |
|---|---|---|
| author | jiabin <jiabin@google.com> | Fri Aug 07 17:32:40 2020 -0700 |
| committer | jiabin <jiabin@google.com> | Wed Aug 12 16:19:35 2020 -0700 |
| tree | 4686aa2bca38cccbbc572bbb75a2bd82d2b9153b | |
| parent | 6a02d53b76d0a3ccb234a3e3d56318883cadd733 [diff] |
Introduce device(s) role for strategy. Adding interface to get/set/removeDevicesRoleForStrategy. The interfaces allows to modify the devices' role, such as preferred, for strategy. Get/set/removePreferredDeviceForStrategy is reimplemented by the new interfaces. Test: atest AudioHostTest Test: atest AudioServiceHostTest Test: atest AudioServiceTest Test: atest audiopolicy_tests Bug: 160352965 Change-Id: I0af737542a8599938cae4e142b733159f21ed5a8