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

Commit f63d0830 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: 862fcdbf am: ff447ffc am: ad565496

Change-Id: I5f905e99910b144c36c87830712c894cbf18f6a2
parents 0d2d8ea9 ad565496
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");