Skip to content
Snippets Groups Projects
Commit e981df2f authored by Łukasz Rymanowski's avatar Łukasz Rymanowski
Browse files

gmcs: Fix GATT no responing on GMCS GATT requests

If device authorization is unknown (new device and profiles are not yet
known), it could happen that GMCS would not respond on the GATT request
on the GMSC which leads to GATT timeout.

Bug: 248430016
Test: atest BluetoothInstrumentationTests
Tag: #feature

Change-Id: Id62b26b1d0a9299aa9d31cf21920efb49d40bc24
parent a80d0f65
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,7 @@ public class McpService extends ProfileService {
return;
}
Log.w(TAG, "onDeviceUnauthorized - authorization notification not implemented yet ");
setDeviceAuthorized(device, false);
}
public void setDeviceAuthorized(BluetoothDevice device, boolean isAuthorized) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment