aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothFrameworkInitializer.java
diff options
context:
space:
mode:
authorŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2021-09-13 12:49:02 +0000
committerŁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2021-12-23 08:22:16 +0000
commitbb8766581234c04b97f09df3407181fe5cea3df2 (patch)
tree3e01903d9dd7df869fd69b3e76dc0ef47765f628 /framework/java/android/bluetooth/BluetoothFrameworkInitializer.java
parentbaad81d728e2b9834737cb498e6300cf4656c73f (diff)
hearing_aid: Fix hearing aid behaviour when CoC could not connect
It might happen that CoC cannot be established because of the limited resorces when HA is connected to other paired device or from any other reason. It that happen, Android stays in Connecting state for 30sec which is Java layer timeout. With this patch, Java layer is notified about disconnection right after CoC is not established Manual test scenario 1) Bond Hearing Aids (with a capability to have 1 CoC - single stream) with two Phones 2) Connect HA from phone 1 3) Turn on Bluetooth on second phone Result. On the second phone HA seems to be connected but without streaming capabilities sponsor: jpawlowski test: manual Change-Id: I682dc77ca6c2b226c69f382058a6cbfc9e082006
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothFrameworkInitializer.java')
0 files changed, 0 insertions, 0 deletions