diff options
| author | 2022-11-14 06:15:27 +0000 | |
|---|---|---|
| committer | 2022-12-30 03:53:28 +0000 | |
| commit | dc01faf80abb2a6960eed1fb90bcf6e5201fa508 (patch) | |
| tree | 8f802413d3b3a629be6ddf1e51df3ede540b8489 /libs/androidfw/StringPool.cpp | |
| parent | 287a6b7e3aca7d17f65a6b0aabf16dd43e059990 (diff) | |
[Output Switcher] Deal with deplicated id and route preference
1. When contruct devices list, filtered duplicated devices by going through
all devices and remove extra devices shared with same duplicated ids.
2. Get preference route list and order routes.
3. move suggested devices to the top in preference list before using it.
reference : go/output-switcher-device-organization
Bug: 257851968
Test: make RunSettingsLibRoboTests -j40
Change-Id: I38035240793ea67fc6b4f1ad886e8beee1e7464a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions