commit | f40141ddbc6517644da0587675a11d92f3d75835 | [log] [tgz] |
---|---|---|
author | jiabin <jiabin@google.com> | Fri Aug 07 17:27:48 2020 -0700 |
committer | jiabin <jiabin@google.com> | Wed Aug 12 14:44:28 2020 -0700 |
tree | 9bc0a1532042207b6428468f2c78175aee7beb8e | |
parent | 0b5532967daae8a6d801e1f1c3a2e853b0022043 [diff] |
Introduce device(s) role for strategy. Adding interface for set/remove/getDevicesRoleForStrategy. This will be used for setting device(s) role, such as preferred, for strategy. Set/remove/getPreferreDeviceForStrategy are reimplemented by calling the new interfaces. Test: atest AudioHostTest Test: atest AudioServiceHostTest Test: atest AudioServiceTest Test: atest audiopolicy_tests Bug: 160352965 Change-Id: I2ba02c6b50af80846a25010ead05c4ae364868de