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

Commit af496b17 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Send ACL connect/disconnect broadcasts to manifest receivers"

parents 444ee076 3a952385
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);
    }