Skip to content
Commit 0de89c92 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi
Browse files

AudioService: fix A2DP device check when making device unavailable

Fix NPE: when there is no A2DP device connected to APM,
mApmConnectedDevices.get(DEVICE_OUT_BLUETOOTH_A2DP) returns null

Bug: 146466665
Test: turn BT off, turn back on and connect headset
Change-Id: I77d6e58a09aaeaaaacd00e1bf2b7d489ec9ad32d
parent a04597b8
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