Loading android/app/src/com/android/bluetooth/bass_client/BassClientService.java +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.bluetooth.bass_client; import static android.Manifest.permission.BLUETOOTH_CONNECT; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission; import android.bluetooth.BluetoothAdapter; Loading Loading @@ -137,7 +138,8 @@ public class BassClientService extends ProfileService { } public static boolean isEnabled() { return BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); } void updatePeriodicAdvertisementResultMap( Loading android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +3 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ package com.android.bluetooth.le_audio; import static android.Manifest.permission.BLUETOOTH_CONNECT; import static android.bluetooth.IBluetoothLeAudio.LE_AUDIO_GROUP_ID_INVALID; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission; import static com.android.modules.utils.build.SdkLevel.isAtLeastU; Loading Loading @@ -279,7 +280,8 @@ public class LeAudioService extends ProfileService { } public static boolean isBroadcastEnabled() { return BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); } private boolean registerTmap() { Loading Loading
android/app/src/com/android/bluetooth/bass_client/BassClientService.java +3 −1 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.bluetooth.bass_client; import static android.Manifest.permission.BLUETOOTH_CONNECT; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission; import android.bluetooth.BluetoothAdapter; Loading Loading @@ -137,7 +138,8 @@ public class BassClientService extends ProfileService { } public static boolean isEnabled() { return BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastAssistEnabled().orElse(false); } void updatePeriodicAdvertisementResultMap( Loading
android/app/src/com/android/bluetooth/le_audio/LeAudioService.java +3 −1 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ package com.android.bluetooth.le_audio; import static android.Manifest.permission.BLUETOOTH_CONNECT; import static android.bluetooth.IBluetoothLeAudio.LE_AUDIO_GROUP_ID_INVALID; import static com.android.bluetooth.flags.Flags.leaudioBroadcastFeatureSupport; import static com.android.bluetooth.Utils.enforceBluetoothPrivilegedPermission; import static com.android.modules.utils.build.SdkLevel.isAtLeastU; Loading Loading @@ -279,7 +280,8 @@ public class LeAudioService extends ProfileService { } public static boolean isBroadcastEnabled() { return BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); return leaudioBroadcastFeatureSupport() && BluetoothProperties.isProfileBapBroadcastSourceEnabled().orElse(false); } private boolean registerTmap() { Loading