Skip to content
Commit 26c305ad authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Atneya Nair
Browse files

RESTRICT AUTOMERGE AudioService: handle BT profile disconnections

The BT A2DP, LE and HearingAid proxies to the BT service were
 initialized on profile connection, but were never reset on
 profile disconnection in BtHelper.
Wrapped the calls to the BT proxies with try/catch as the
 notification that a profile disconnected can happen while
 the proxy is used.

Bug: 269238085
Bug: 265815315
Test: BT crash case in bug
Change-Id: I77443a8b3afe8fd386401111e73f388e03510adb
(cherry picked from commit af9b9670)
parent d5c1876b
Loading
Loading
Loading
Loading
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