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

Commit 2b28b522 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Modify player metadata sync checking logic" into tm-dev am: 9a35057e...

Merge "Modify player metadata sync checking logic" into tm-dev am: 9a35057e am: e3d39b1e am: 865e9a76

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/18398785



Change-Id: I7b5f89fdbb4117c17a5799b666ba659c87d2d053
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents c0e3ff6c 865e9a76
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -252,6 +252,14 @@ public class MediaPlayerWrapper {
                    Log.d(TAG, "  └ Current queueItem: " + qitem);
                    Log.d(TAG, "  └ Current metadata : " + mdata);
                }

                // Some player do not provide full song info in queue item, allow case
                // that only title and artist match.
                if (Objects.equals(qitem.title, mdata.title)
                        && Objects.equals(qitem.artist, mdata.artist)) {
                    Log.d(TAG, mPackageName + " Only Title and Artist info sync for metadata");
                    return true;
                }
                return false;
            }
        }