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

Commit 89977169 authored by Sal Savage's avatar Sal Savage Committed by Automerger Merge Worker
Browse files

Merge "Return null when a handle is *not* valid" am: 681d6dc2 am: 0d5342d3

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Bluetooth/+/1664640

Change-Id: Id48efdb4b872da3940e259b44b290e29a10bb75c
parents 3c343d08 0d5342d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ public class AvrcpCoverArtManager {
        }

        public String getHandleUuid(String handle) {
            if (isValidImageHandle(handle)) return null;
            if (!isValidImageHandle(handle)) return null;
            String newUuid = UUID.randomUUID().toString();
            String existingUuid = mUuids.putIfAbsent(handle, newUuid);
            if (existingUuid != null) return existingUuid;