Merge "BTHS will have no sound after disable HD audio" into sc-dev
This commit is contained in:
@@ -60,14 +60,6 @@ public class BluetoothCodecDialogPreferenceController extends
|
|||||||
((BaseBluetoothDialogPreference) mPreference).setCallback(this);
|
((BaseBluetoothDialogPreference) mPreference).setCallback(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onHDAudioEnabled(boolean enabled) {
|
|
||||||
if (!enabled) {
|
|
||||||
// If option codec is disabled, SBC is the only only one available codec.
|
|
||||||
onIndexUpdated(convertCfgToBtnIndex(BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<Integer> getSelectableIndex() {
|
public List<Integer> getSelectableIndex() {
|
||||||
List<Integer> index = new ArrayList<>();
|
List<Integer> index = new ArrayList<>();
|
||||||
|
Reference in New Issue
Block a user