Loading android/app/src/com/android/bluetooth/mcp/McpService.java +4 −4 Original line number Diff line number Diff line Loading @@ -206,10 +206,10 @@ public class McpService extends ProfileService { * 2. authorized devices * 3. Any LeAudio devices which are allowed to connect */ if (mDeviceAuthorizations.getOrDefault(device, Utils.isPtsTestMode() ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_UNKNOWN) == BluetoothDevice.ACCESS_ALLOWED) { return BluetoothDevice.ACCESS_ALLOWED; int authorization = mDeviceAuthorizations.getOrDefault(device, Utils.isPtsTestMode() ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_UNKNOWN); if (authorization != BluetoothDevice.ACCESS_UNKNOWN) { return authorization; } LeAudioService leAudioService = LeAudioService.getLeAudioService(); Loading Loading
android/app/src/com/android/bluetooth/mcp/McpService.java +4 −4 Original line number Diff line number Diff line Loading @@ -206,10 +206,10 @@ public class McpService extends ProfileService { * 2. authorized devices * 3. Any LeAudio devices which are allowed to connect */ if (mDeviceAuthorizations.getOrDefault(device, Utils.isPtsTestMode() ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_UNKNOWN) == BluetoothDevice.ACCESS_ALLOWED) { return BluetoothDevice.ACCESS_ALLOWED; int authorization = mDeviceAuthorizations.getOrDefault(device, Utils.isPtsTestMode() ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_UNKNOWN); if (authorization != BluetoothDevice.ACCESS_UNKNOWN) { return authorization; } LeAudioService leAudioService = LeAudioService.getLeAudioService(); Loading