summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothPbapClient.java
diff options
context:
space:
mode:
authorJakub Pawlowski <jpawlowski@google.com>2022-06-23 21:42:56 +0200
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-29 00:03:57 +0000
commit655653f48f95b154bf405d122cc912e476bee0d5 (patch)
tree25129cf2994447be05b91ae875abcbbbcadc52fa /framework/java/android/bluetooth/BluetoothPbapClient.java
parent67952a5b0ce534f602e13570c5e923b4f03abaf2 (diff)
GATT: Disable notifications when disconnecting
Currently, if we receive notification after disconnection, but before closing the client, stack would notify upper layers that connection is avaliable, and sned notifications to Java. This can be troublesome i.e. for Heart Rate Monitors, that send notifications very often, and can prevent apps from closing properly. Bug: 231818024 Test: connect to HRM with more than one application, close/disconnect multiple times Merged-In: I1e9ca7ba6379322f7321b77a2ea92c96c799a452 Change-Id: I1e9ca7ba6379322f7321b77a2ea92c96c799a452 (cherry picked from commit 666f247f1dbe53a55caf3a8b979c859fe47b32aa) (cherry picked from commit f65b7a508a264aa1a6383d1d70fcfba44b624919) Merged-In: I1e9ca7ba6379322f7321b77a2ea92c96c799a452
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothPbapClient.java')
0 files changed, 0 insertions, 0 deletions