commit | 06ccd1aec7b6aacd316ef4e4ae49d2e86d824811 | [log] [tgz] |
---|---|---|
author | shaoweishen <shaoweishen@google.com> | Thu Feb 17 09:58:36 2022 +0000 |
committer | shaoweishen <shaoweishen@google.com> | Fri Mar 04 16:38:55 2022 +0000 |
tree | a729d715b2346a862cb2051d76ffe8ab39661d0e | |
parent | b7cca6b1ff99b88809fc54f81a5d60ca004a482a [diff] |
[Output Switcher] Apply distance information for devices ranking When controller start, register nearbyDevice callback to get Devices list, add range zone into MediaDevices list, apply ranking rule when sorting. Bug: 203073098 Test: atest MediaOutputAdapterTest MediaOutputControllerTest MediaOutputBaseDialogTest MediaOutputDialogTest MediaOutputGroupAdapterTest MediaOutputGroupDialogTest Change-Id: Ia8f63b7aed2a5f311b9ecc1901306035441957f6