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

Commit 9119cce2 authored by Lianchao Song's avatar Lianchao Song Committed by android-build-merger
Browse files

Merge \"Add foreground flag to AG_CALL_CHANGED broadcast intent.\"

am: c4fa6189

Change-Id: I0c8d2337e82c472fe4bd07d90f61c8b39e56dd80
parents c4905a4b c4fa6189
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);
    }