Loading android/app/src/com/android/bluetooth/avrcp/AddressedMediaPlayer.java +4 −0 Original line number Diff line number Diff line Loading @@ -469,6 +469,10 @@ public class AddressedMediaPlayer { .getString(MediaMetadata.METADATA_KEY_DURATION); break; case AvrcpConstants.ATTRID_COVER_ART: Log.e(TAG, "Cover art attribute not supported"); break; default: Log.e(TAG, "Unknown attribute ID"); } Loading android/app/src/com/android/bluetooth/avrcp/AvrcpConstants.java +1 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,7 @@ final class AvrcpConstants { static final int ATTRID_NUM_TRACKS = 0x05; static final int ATTRID_GENRE = 0x06; static final int ATTRID_PLAY_TIME = 0x07; static final int ATTRID_COVER_ART = 0x08; /* constants to send in Track change response */ static final byte NO_TRACK_SELECTED = (byte)0xFF; Loading android/app/src/com/android/bluetooth/avrcp/BrowsedMediaPlayer.java +3 −0 Original line number Diff line number Diff line Loading @@ -628,6 +628,9 @@ class BrowsedMediaPlayer { case AvrcpConstants.ATTRID_PLAY_TIME: attrValue = resultItems.get(itemIndex).getDescription().getExtras() .getString(MediaMetadata.METADATA_KEY_DURATION); case AvrcpConstants.ATTRID_COVER_ART: Log.e(TAG, "Cover art attribute not supported"); break; default: Loading Loading
android/app/src/com/android/bluetooth/avrcp/AddressedMediaPlayer.java +4 −0 Original line number Diff line number Diff line Loading @@ -469,6 +469,10 @@ public class AddressedMediaPlayer { .getString(MediaMetadata.METADATA_KEY_DURATION); break; case AvrcpConstants.ATTRID_COVER_ART: Log.e(TAG, "Cover art attribute not supported"); break; default: Log.e(TAG, "Unknown attribute ID"); } Loading
android/app/src/com/android/bluetooth/avrcp/AvrcpConstants.java +1 −0 Original line number Diff line number Diff line Loading @@ -90,6 +90,7 @@ final class AvrcpConstants { static final int ATTRID_NUM_TRACKS = 0x05; static final int ATTRID_GENRE = 0x06; static final int ATTRID_PLAY_TIME = 0x07; static final int ATTRID_COVER_ART = 0x08; /* constants to send in Track change response */ static final byte NO_TRACK_SELECTED = (byte)0xFF; Loading
android/app/src/com/android/bluetooth/avrcp/BrowsedMediaPlayer.java +3 −0 Original line number Diff line number Diff line Loading @@ -628,6 +628,9 @@ class BrowsedMediaPlayer { case AvrcpConstants.ATTRID_PLAY_TIME: attrValue = resultItems.get(itemIndex).getDescription().getExtras() .getString(MediaMetadata.METADATA_KEY_DURATION); case AvrcpConstants.ATTRID_COVER_ART: Log.e(TAG, "Cover art attribute not supported"); break; default: Loading