diff options
| author | 2023-10-05 16:01:24 -0500 | |
|---|---|---|
| committer | 2023-10-11 15:34:15 -0500 | |
| commit | 5e59a934777419d33adb3769eaa14181ac7acd93 (patch) | |
| tree | 5fed9bece1bc8a04483655a4b0902e797543b02e /libs/androidfw/FileStream.cpp | |
| parent | a2746b253cfd78b0d65e0918a6e57f344ac42c66 (diff) | |
Fix device name issues for system sessions
Handle system sessions differently if there's no routing session name:
- if it's a phone device, fetch the correct string from SettingsLib
- otherwise, check the selectedRoutes for a name
This fixes issues seen with some bluetooth devices, and keeps the
PhoneMediaDevice name in sync with the output switcher string
Test: manual (local, bluetooth, casting)
Test: atest MediaDeviceManagerTest
Bug: 290213117
Bug: 280426984
Bug: 304506662
Change-Id: I62e3351d6c7903c0de2eee5c22b4c375e810b8b1
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions