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

Commit 3a952385 authored by Christopher Tate's avatar Christopher Tate
Browse files

Send ACL connect/disconnect broadcasts to manifest receivers

Bug 35403302

Change-Id: Ib2a9c177ec86f1a19ff26537da84f587c1d5270c
parent de2cc0b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -425,7 +425,8 @@ final class RemoteDevices {
            debugLog("aclStateChangeCallback: Disconnected: " + device);
        }
        intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT);
        intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT
                | Intent.FLAG_RECEIVER_INCLUDE_BACKGROUND);
        mAdapterService.sendBroadcast(intent, mAdapterService.BLUETOOTH_PERM);
    }