summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Michał Narajowski <narajn@google.com> 2023-03-02 15:09:23 +0000
committer Michał Narajowski <narajn@google.com> 2023-03-06 08:06:18 +0000
commitf9da437a5fcb84346a12bd0fac8659cc8f5dab59 (patch)
treea210271ca20b8ed57060f06174815ab47d42d855 /api/api.go
parent14e56413217bedbf1ba011ef521316b91fb9fed2 (diff)
CachedBluetoothDevice: Fix detecting connect fail
Transition from CONNECTING to DISCONNECTED doesn't have to mean that the connection has failed. Add check to verify that connection policy for profile is ALLOWED and only then trigger connection failed. Setting connection failed results in "Problem connecting." in Bluetooth connected devices UI. Bug: 268587046 Test: BluetoothInstrumentationTest Change-Id: I1eb116e4ae1735fafe3d7f35fc0bf51d21cb87d3
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions