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

Commit 1765c83d authored by Kai Wang's avatar Kai Wang Committed by android-build-merger
Browse files

Merge "AvrcpCtrSM check BrowseNode" am: 35547a18 am: c8c203ed

am: 3d2ea833

Change-Id: I94a798b6b2e19f3a7673a8089074d3f278341f0a
parents cc99ad95 3d2ea833
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();