Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/BluetoothUtils.java +10 −0 Original line number Diff line number Diff line Loading @@ -594,6 +594,16 @@ public class BluetoothUtils { || cachedDevice.isActiveDevice(BluetoothProfile.LE_AUDIO); } /** * Check if the Bluetooth device is an active LE Audio device * * @param cachedDevice the CachedBluetoothDevice * @return if the Bluetooth device is an active LE Audio device */ public static boolean isActiveLeAudioDevice(CachedBluetoothDevice cachedDevice) { return cachedDevice.isActiveDevice(BluetoothProfile.LE_AUDIO); } private static boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { if (cachedDevice == null) { return false; Loading Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/BluetoothUtils.java +10 −0 Original line number Diff line number Diff line Loading @@ -594,6 +594,16 @@ public class BluetoothUtils { || cachedDevice.isActiveDevice(BluetoothProfile.LE_AUDIO); } /** * Check if the Bluetooth device is an active LE Audio device * * @param cachedDevice the CachedBluetoothDevice * @return if the Bluetooth device is an active LE Audio device */ public static boolean isActiveLeAudioDevice(CachedBluetoothDevice cachedDevice) { return cachedDevice.isActiveDevice(BluetoothProfile.LE_AUDIO); } private static boolean isDeviceConnected(CachedBluetoothDevice cachedDevice) { if (cachedDevice == null) { return false; Loading