commit | dc5d527d0fc9563edc797012704822004e685c7e | [log] [tgz] |
---|---|---|
author | Santiago Seifert <aquilescanta@google.com> | Tue Dec 12 14:44:49 2023 +0000 |
committer | Santiago Seifert <aquilescanta@google.com> | Tue Dec 12 16:52:18 2023 +0000 |
tree | c20a511cbd7b06e72aff24a8d5dfe0a121b835b0 | |
parent | b5deb18e766ab843672e15863cc9ef5fea449caa [diff] |
Use AudioDeviceInfo.getPort().name() instead of getProductName getProductName replaces the absence of a name with the name of the device (example: Pixel 8). In that case we want to derive a name from the device type ourselves. Bug: 305199571 Test: atest MediaRouterServiceTests # Added in same topic Change-Id: Ifc6b75d33af004f35f219aa73d91aadeb2444586