MediaRouter: Fix unnecessary / incorrect message for audio mirroring
If a media route doesn't support remote playback, it means that the
route is for live audio / video mirroring such as A2DP speaker, headset,
and mirroring display and the media route provider does not provide
playback information such as media metadata and playing status.
See the details : android.support.v7.media.MediaControlIntent
For video mirroring, MRCD shows "Casting screen" message.
However, for audio mirroring doesn't have any information to show.
The previous code didn't check supporting control category of a route
and shows an unnecessary / incorrect message for audio mirroring.
This patch fixes it.
Bug: 24888113
Change-Id: I9b9d043289e116531f916cc7e5e2c93a5afa059a
1 file changed