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

Commit c4fa6189 authored by Chenjie Luo's avatar Chenjie Luo Committed by Gerrit Code Review
Browse files

Merge "Add foreground flag to AG_CALL_CHANGED broadcast intent."

parents 7f3225bb 1d9cf887
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -319,6 +319,7 @@ final class HeadsetClientStateMachine extends StateMachine {

    private void sendCallChangedIntent(BluetoothHeadsetClientCall c) {
        Intent intent = new Intent(BluetoothHeadsetClient.ACTION_CALL_CHANGED);
        intent.addFlags(Intent.FLAG_RECEIVER_FOREGROUND);
        intent.putExtra(BluetoothHeadsetClient.EXTRA_CALL, c);
        mService.sendBroadcast(intent, ProfileService.BLUETOOTH_PERM);
    }