Add LE audio hardware offload development option
Bug: 197296692 Bug: 215492586 Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothLeAudioHwOffloadPreferenceControllerTest Test: make RunSettingsRoboTests ROBOTEST_FILTER=BluetoothA2dpHwOffloadPreferenceControllerTest Change-Id: If1203c50d1d94ac9ed377293b5cb389b7b6f54a1
This commit is contained in:
@@ -56,15 +56,15 @@ public class DisableDevSettingsDialogFragment extends InstrumentedDialogFragment
|
||||
|
||||
@Override
|
||||
public Dialog onCreateDialog(Bundle savedInstanceState) {
|
||||
// Reuse the same text of disable_a2dp_hw_offload_dialog.
|
||||
// Reuse the same text of disable_hw_offload_dialog.
|
||||
// The text is generic enough to be used for turning off Dev options.
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setMessage(R.string.bluetooth_disable_a2dp_hw_offload_dialog_message)
|
||||
.setTitle(R.string.bluetooth_disable_a2dp_hw_offload_dialog_title)
|
||||
.setMessage(R.string.bluetooth_disable_hw_offload_dialog_message)
|
||||
.setTitle(R.string.bluetooth_disable_hw_offload_dialog_title)
|
||||
.setPositiveButton(
|
||||
R.string.bluetooth_disable_a2dp_hw_offload_dialog_confirm, this)
|
||||
R.string.bluetooth_disable_hw_offload_dialog_confirm, this)
|
||||
.setNegativeButton(
|
||||
R.string.bluetooth_disable_a2dp_hw_offload_dialog_cancel, this)
|
||||
R.string.bluetooth_disable_hw_offload_dialog_cancel, this)
|
||||
.create();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user