diff options
author | Beth Thibodeau <ethibodeau@google.com> | 2021-11-05 18:24:05 -0400 |
---|---|---|
committer | Beth Thibodeau <ethibodeau@google.com> | 2021-11-08 15:49:59 -0500 |
commit | 8fd17b75761f00d7fe8ed4280a46c0d42e79c111 (patch) | |
tree | 5262867745c08c4b4f6480ef813e1cf0bf16797b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 33c3fc3421274b297c7452f370726fd0731ec9db (diff) |
Use route name for output switcher chip
The media router 2 library can include device group names when casting
to a group. So if the route name is available, use that instead of the
LMM device name.
If the route name is not available, we fall back to the LMM device name.
The output switcher will still show as disabled (chip is not clickable and
reads "Other device") if either the device or route is null.
Test: manual, using sample app
Test: atest MediaDeviceManagerTest MediaControlPanelTest
Fixes: 196923854
Fixes: 199951690
Change-Id: I07afbab3f62e6bc7855e0d5623c577231eb3500b
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions