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

Commit df005bf2 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 0786878b 6b375a45
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);
    }