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

Commit 9711b9b7 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Git Automerger
Browse files

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

* commit '1eefb529':
  Phone crash when old callback func is woken up when enabling BT.
parents 25be2c72 1eefb529
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);