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

Commit 516393fa authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Git Automerger
Browse files

am 9711b9b7: am 1eefb529: Merge "Phone crash when old callback func is woken up when enabling BT."

* commit '9711b9b7':
  Phone crash when old callback func is woken up when enabling BT.
parents c01e201f 9711b9b7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -593,6 +593,8 @@ class BluetoothEventLoop {

    private void onDiscoverServicesResult(String deviceObjectPath, boolean result) {
        String address = mBluetoothService.getAddressFromObjectPath(deviceObjectPath);
        if (address == null) return;

        // We don't parse the xml here, instead just query Bluez for the properties.
        if (result) {
            mBluetoothService.updateRemoteDevicePropertiesCache(address);