Don't display extra A2DP profile icon for OPP.

The getDrawableResource() method for OppProfileManager was returning
the resource ID for the A2DP icon. This was causing an extra headset
icon to be drawn for devices supporting OPP, when no icon should be
shown for this profile. Changed to return 0.

Bug: 3368197
Change-Id: Idcadaf59fe53301544cda215ca24f15608b2d727
This commit is contained in:
Jake Hamby
2011-01-27 20:32:21 -08:00
parent 3d1fd57e30
commit a6d9fce2e1

View File

@@ -635,7 +635,7 @@ abstract class LocalBluetoothProfileManager {
@Override @Override
public int getDrawableResource() { public int getDrawableResource() {
return R.drawable.ic_bt_headphones_a2dp; return 0; // no icon for OPP
} }
} }