audio/avrcp: Fix possible crash when current player is removed 56/53756/1
authorBharat Panda <bharat.panda@samsung.com>
Wed, 9 Dec 2015 06:59:41 +0000 (12:29 +0530)
committerBharat Panda <bharat.panda@samsung.com>
Wed, 9 Dec 2015 07:02:39 +0000 (12:32 +0530)
commit70c689b46b27c9c7528f3c38ce91e4afcf727cd7
treec8ed9faaf13896dd38bfb0328116d7b467ff81c1
parenta399864284077d907d9a6e67e796a12e11798b73
audio/avrcp: Fix possible crash when current player is removed

If current player is removed a new player should be assigned.

This is needed as the crash is obsereved while removing the
assinged player.

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

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