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

Commit 35547a18 authored by Kai Wang's avatar Kai Wang Committed by Gerrit Code Review
Browse files

Merge "AvrcpCtrSM check BrowseNode"

parents a204a1f9 201a1383
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -625,6 +625,10 @@ class AvrcpControllerStateMachine extends StateMachine {

        private void sendFolderBroadcastAndUpdateNode() {
            BrowseTree.BrowseNode bn = mBrowseTree.findBrowseNodeByID(mID);
            if (bn == null) {
                Log.e(TAG, "Can not find BrowseNode by ID: " + mID);
                return;
            }
            if (bn.isPlayer()) {
                // Add the now playing folder.
                MediaDescription.Builder mdb = new MediaDescription.Builder();