Skip to content
Commit 22aea1c4 authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Fix device name string on output switcher chip

The output switcher chip should show a default 'Other Device' string when we do
not have reliable device info to show. However MediaDeviceManager was always
using the local device name, and MediaControlPanel never actually used the
fallback string.
This sets the device name to null when it is untrusted, and fixes MCP to show
the fallback value in that case.

Fixes: 240185112
Test: atest MediaDeviceManagerTest MediaControlPanelTest
Test: manual (see bug)
Change-Id: I4135b6bedb7f1780e2068673e8980bf7f7b14015
parent 0e12415b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment