summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beth Thibodeau <ethibodeau@google.com> 2022-08-26 10:54:58 -0500
committer Beth Thibodeau <ethibodeau@google.com> 2022-08-26 11:09:09 -0500
commit22aea1c4c3c398da93bce398fabac9dc0971c1f5 (patch)
treeb3a4246e028736f2e347c6e7868f025b84517d4f /libs/androidfw/StringPool.cpp
parent0e12415b568e0036617d43814fa9255d281711ca (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions