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

Commit c421bc17 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Return an empty list when the requested node is not in the tree" am:...

Merge "Return an empty list when the requested node is not in the tree" am: 23e2e35a am: 0e770dd1

Change-Id: Ia8df956d43870775b9a0a26b1ce60e1fc1ad389e
parents be1db2aa 0e770dd1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -172,9 +172,11 @@ public class AvrcpControllerService extends ProfileService {
            }
        }

        // If we don't find a node in the tree then do not have any way to browse for the contents.
        // Return an empty list instead.
        if (requestedNode == null) {
            if (DBG) Log.d(TAG, "Didn't find a node");
            return null;
            return new ArrayList(0);
        } else {
            if (!requestedNode.isCached()) {
                if (DBG) Log.d(TAG, "node is not cached");