diff --git a/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java b/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java index 73857f2c2a7..a3dace6f6a0 100644 --- a/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java +++ b/src/com/android/settings/bluetooth/BluetoothDetailsProfilesController.java @@ -126,9 +126,12 @@ public class BluetoothDetailsProfilesController extends BluetoothDetailsControll pref.setOnPreferenceClickListener(this); pref.setOrder(profile.getOrdinal()); - if (profile instanceof LeAudioProfile && !isModelNameInAllowList( + boolean isLeEnabledByDefault = + SystemProperties.getBoolean(LE_AUDIO_CONNECTION_BY_DEFAULT_PROPERTY, true); + + if (profile instanceof LeAudioProfile && (!isLeEnabledByDefault || !isModelNameInAllowList( BluetoothUtils.getStringMetaData(mCachedDevice.getDevice(), - METADATA_MODEL_NAME))) { + METADATA_MODEL_NAME)))) { pref.setSummary(R.string.device_details_leaudio_toggle_summary); } return pref;