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

Commit 33c96431 authored by Kai Wang's avatar Kai Wang Committed by android-build-merger
Browse files

Merge "AvrcpCtrSM check BrowseNode"

am: 9d8b13ed

Change-Id: I227a66483ac872df12d217bee5ac31cee6fc8018
parents 49f557fd 9d8b13ed
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();