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

Commit 7bb743ab authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Response BLUETOOTH_PLAYER as a non-browsable player" am: 9c2cb262 am:...

Merge "Response BLUETOOTH_PLAYER as a non-browsable player" am: 9c2cb262 am: 4cb11430 am: 336694fb am: 1e3f5403

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1440715

Change-Id: Ib2298e1104682d3e48ce20acb1936cec08a56987
parents ee7ecb39 1e3f5403
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -257,6 +257,10 @@ public class MediaPlayerList {
        info.id = BLUETOOTH_PLAYER_ID;
        info.name = BLUETOOTH_PLAYER_NAME;
        info.browsable = true;
        if (mBrowsablePlayers.size() == 0) {
            // Set Bluetooth Player as non-browable if there is not browsable player exist.
            info.browsable = false;
        }
        List<PlayerInfo> ret = new ArrayList<PlayerInfo>();
        ret.add(info);