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

Commit d5223550 authored by Sanket Agarwal's avatar Sanket Agarwal
Browse files

BUILD FIX: BTIF_MEDIA_FOCUS_NOT_GRANTED should be complied only for SINK

Since BTIF_MEDIA_FOCUS_NOT_GRANTED is only applicable for focus handling
in A2DP SINK scenario it is only defined and protected by
USE_AUDIO_TRACK.

BUG: 26928143
Change-Id: I414bda160270838c9bc911fef9798a95e1f34ec8
parent b2b7dd4c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -898,7 +898,9 @@ void btif_a2dp_stop_media_task(void)

void btif_a2dp_on_init(void)
{
#ifdef USE_AUDIO_TRACK
    btif_media_cb.rx_audio_focus_state = BTIF_MEDIA_FOCUS_NOT_GRANTED;
#endif // USE_AUDIO_TRACK
}