Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 91c5d824 authored by Hansong Zhang's avatar Hansong Zhang
Browse files

A2DP: Prevent NPE in getDevicesMatchingConnectionStates()

* Add a check for states == null
* Use AdapterService.getBondedDevices() instead of
  BluetoothAdapter.getBondedDevices()

Bug: 74342889
Test: Instrumentation test
Change-Id: I86192161d631d4f47a10794f12f8477577a75554
parent b9590c6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment