Skip to content
Commit 99aab3ca authored by Hugh Chen's avatar Hugh Chen
Browse files

Fix pixel buds icon is empty in output switcher

MediaDevice will set a color filter in the bluetooth device icon if
the bluetooth device is not a fist pair device. But if apps didn't
have permission to get a first pair device icon, MediaDevice will
return a default bluetooth icon. In this case MediaDevice will not
set the color filter in the icon then it causes the icon to become empty.

This CL will use the drawable type to set the color filter instead of
checking whether it is a first pair device.

Bug: 174279607
Bug: 155822415
Test: make -j42 RunSettingsRoboTests
Change-Id: Ic5c348900db3e79e669173ec4ceeaec4d6500e5f
Merged-In: Ic5c348900db3e79e669173ec4ceeaec4d6500e5f
(cherry picked from commit b4603fd3)
parent c905bf06
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