Loading android/app/src/com/android/bluetooth/avrcp/Avrcp.java +8 −1 Original line number Diff line number Diff line Loading @@ -1550,8 +1550,15 @@ public final class Avrcp { // checking for error cases if (mMediaPlayerInfoList.isEmpty()) { status = AvrcpConstants.RSP_NO_AVBL_PLAY; Log.w(TAG, " No Available Players to set, sending response back "); Log.w(TAG, "setBrowsedPlayer: No available players! "); } else { // Workaround for broken controllers selecting ID 0 // Seen at least on Ford, Chevrolet MyLink if (selectedId == 0) { Log.w(TAG, "setBrowsedPlayer: workaround invalid id 0"); selectedId = mCurrAddrPlayerID; } // update current browse player id and start browsing service updateNewIds(mCurrAddrPlayerID, selectedId); String browsedPackage = getPackageName(selectedId); Loading Loading
android/app/src/com/android/bluetooth/avrcp/Avrcp.java +8 −1 Original line number Diff line number Diff line Loading @@ -1550,8 +1550,15 @@ public final class Avrcp { // checking for error cases if (mMediaPlayerInfoList.isEmpty()) { status = AvrcpConstants.RSP_NO_AVBL_PLAY; Log.w(TAG, " No Available Players to set, sending response back "); Log.w(TAG, "setBrowsedPlayer: No available players! "); } else { // Workaround for broken controllers selecting ID 0 // Seen at least on Ford, Chevrolet MyLink if (selectedId == 0) { Log.w(TAG, "setBrowsedPlayer: workaround invalid id 0"); selectedId = mCurrAddrPlayerID; } // update current browse player id and start browsing service updateNewIds(mCurrAddrPlayerID, selectedId); String browsedPackage = getPackageName(selectedId); Loading