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

Commit 0e91e5e1 authored by Kai Wang's avatar Kai Wang Committed by android-build-merger
Browse files

Merge "AvrcpCtrSM check BrowseNode" am: 9d8b13ed

am: 33c96431

Change-Id: I04c7587eded0d9340058199cc407b6cce4fb41e5
parents ee19c753 33c96431
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();