Avoid non-Media blacklisted apps to set active media session.
Some non-Media apps like telecom and skype were added as
media players while player list is initialised at BT turn on.
Due to this such non-Media apps could set active media
session if they are active (having UI and/or audio focus).
Due to this avrcp assumed such app is an addressed player
leading to issues like avrcp PT keys not sent to media player,
PlayItem not working etc.
The fix avoids these non-Media apps to be added as list of
media player and also ignore their request to be set as
active media session.
CRs-Fixed: 2570980
Change-Id: I28ad1bf7b534742faa395103bca7d6c80431cd34
1 file changed