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:
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user