Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee100a3f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "AVRCP: Verify SetBrowsedPlayer player ID" into pi-dev

parents 2a404019 7c72dfc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -213,7 +213,7 @@ public class MediaPlayerList {
    // In this case the displayed player is the Bluetooth Player, the number of items is equal
    // In this case the displayed player is the Bluetooth Player, the number of items is equal
    // to the number of players. The root ID will always be empty string in this case as well.
    // to the number of players. The root ID will always be empty string in this case as well.
    void getPlayerRoot(int playerId, GetPlayerRootCallback cb) {
    void getPlayerRoot(int playerId, GetPlayerRootCallback cb) {
        cb.run(playerId, true, "", mBrowsablePlayers.size());
        cb.run(playerId, playerId == BLUETOOTH_PLAYER_ID, "", mBrowsablePlayers.size());
    }
    }


    // Return the "Bluetooth Player" as the only player always
    // Return the "Bluetooth Player" as the only player always