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

Commit 1eefb529 authored by Jaikumar Ganesh's avatar Jaikumar Ganesh Committed by Android Code Review
Browse files

Merge "Phone crash when old callback func is woken up when enabling BT."

parents e0537f18 e12e895e
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);