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

Commit 1abfbc6a authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

Merge "AVRCP: Verify SetBrowsedPlayer player ID" am: e557de1c

am: b6bb995c

Change-Id: I04a959e96ffd988e590d917be9399780ebbe0a5a
parents f24b30b7 b6bb995c
Loading
Loading
Loading
Loading
+1 −1
Original line number 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
    // to the number of players. The root ID will always be empty string in this case as well.
    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