Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothLeBroadcastAssistantCallbackExt.kt +1 −6 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.settingslib.bluetooth import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothLeBroadcastAssistant import android.bluetooth.BluetoothLeBroadcastMetadata Loading Loading @@ -82,9 +81,5 @@ val LocalBluetoothLeBroadcastAssistant.onSourceConnectedOrRemoved: Flow<Unit> ConcurrentUtils.DIRECT_EXECUTOR, callback, ) awaitClose { if (BluetoothAdapter.getDefaultAdapter()?.isEnabled == true) { unregisterServiceCallBack(callback) } } awaitClose { unregisterServiceCallBack(callback) } } Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/LocalBluetoothLeBroadcastAssistantCallbackExt.kt +1 −6 Original line number Diff line number Diff line Loading @@ -16,7 +16,6 @@ package com.android.settingslib.bluetooth import android.bluetooth.BluetoothAdapter import android.bluetooth.BluetoothDevice import android.bluetooth.BluetoothLeBroadcastAssistant import android.bluetooth.BluetoothLeBroadcastMetadata Loading Loading @@ -82,9 +81,5 @@ val LocalBluetoothLeBroadcastAssistant.onSourceConnectedOrRemoved: Flow<Unit> ConcurrentUtils.DIRECT_EXECUTOR, callback, ) awaitClose { if (BluetoothAdapter.getDefaultAdapter()?.isEnabled == true) { unregisterServiceCallBack(callback) } } awaitClose { unregisterServiceCallBack(callback) } }