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

Commit e9789c7e authored by Chenjie Luo's avatar Chenjie Luo Committed by android-build-merger
Browse files

Merge \\"Add foreground flag to AG_CALL_CHANGED broadcast intent.\\" am: df005bf2

am: 6a15ebb7

Change-Id: I52730fd6e304c128e2a20c871fdbf96ab811c859
parents 3dd41164 6a15ebb7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -320,6 +320,7 @@ final class HeadsetClientStateMachine extends StateMachine {
    private void sendCallChangedIntent(BluetoothHeadsetClientCall c) {
        Log.d(TAG, "sendCallChangedIntent " + 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);
    }