commit | 74243ed157f4df5ca3fecde56bb3649468e67290 | [log] [tgz] |
---|---|---|
author | jiangyou li <jiangyou.li@unisoc.corp-partner.google.com> | Mon Dec 10 15:25:52 2018 +0800 |
committer | Myles Watson <mylesgw@google.com> | Wed Dec 12 13:00:57 2018 +0000 |
tree | 1382f721c33be0dffc2f1a8c1388687e92bcf33a | |
parent | 3fd7d1c253b5666a4652753ae969a1c34cad7ec0 [diff] |
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