Loading android/app/src/com/android/bluetooth/mcp/McpService.java +2 −1 Original line number Diff line number Diff line Loading @@ -128,10 +128,11 @@ public class McpService extends ProfileService { } public void onDeviceUnauthorized(BluetoothDevice device) { setDeviceAuthorized(device, false); Log.w(TAG, "onDeviceUnauthorized - authorization notification not implemented yet "); } public void setDeviceAuthorized(BluetoothDevice device, boolean isAuthorized) { Log.i(TAG, "setDeviceAuthorized(): device: " + device + ", isAuthorized: " + isAuthorized); int authorization = isAuthorized ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; mDeviceAuthorizations.put(device, authorization); Loading Loading
android/app/src/com/android/bluetooth/mcp/McpService.java +2 −1 Original line number Diff line number Diff line Loading @@ -128,10 +128,11 @@ public class McpService extends ProfileService { } public void onDeviceUnauthorized(BluetoothDevice device) { setDeviceAuthorized(device, false); Log.w(TAG, "onDeviceUnauthorized - authorization notification not implemented yet "); } public void setDeviceAuthorized(BluetoothDevice device, boolean isAuthorized) { Log.i(TAG, "setDeviceAuthorized(): device: " + device + ", isAuthorized: " + isAuthorized); int authorization = isAuthorized ? BluetoothDevice.ACCESS_ALLOWED : BluetoothDevice.ACCESS_REJECTED; mDeviceAuthorizations.put(device, authorization); Loading