audio/avrcp: Fix crash on RegisterNotification 13/51813/1
authorBharat Panda <bharat.panda@samsung.com>
Mon, 16 Nov 2015 09:45:05 +0000 (15:15 +0530)
committerBharat Panda <bharat.panda@samsung.com>
Mon, 16 Nov 2015 09:45:05 +0000 (15:15 +0530)
commit6bfcce2b4446aece72301f5ebb1df06c9c45a100
treefa21e7ca796b737e35ac519e5f8706aa60b0d63a
parent04f98a67853d66bfeba0e9436f8f5e01c29dc51b
audio/avrcp: Fix crash on RegisterNotification

When registering AVRCP_EVENT_ADDRESSED_PLAYER_CHANGED there may
not be any player available causing a crash.

git repo link:
http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=60050fe469df1536466d1c6819670ce70ca92287

Change-Id: I889d727e1c411fe9970548355a39fa874cd41ce0
profiles/audio/avrcp.c