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

Skip to content
Commit 74243ed1 authored by jiangyou li's avatar jiangyou li Committed by Myles Watson
Browse files

Avoid a NullPointerException in getDevicesMatchingConnectionStates

In the method of getDevicesMatchingConnectionStates, use local variables repeat mAdapterService.
to avoid to mAdapterService is NullPointerException

Fixes:120749867
Test: manual
  1. Turn on Bluetooth and connect to the Bluetooth headset.
  2. Disconnect the connected Bluetooth headset from DUT and turn off Bluetooth.
  3. Repeat step 1 and step 2

Change-Id: I4afa346d937b2fca40c59d5985efdf384be1fc99
parent 3fd7d1c2
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