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

Commit 368a73ff authored by Sal Savage's avatar Sal Savage
Browse files

Only notify of new cover art assignement for the active device

Bug: b/152655407
Test: atest BluetoothInstrumentationTests
Change-Id: I82bd28ced0984bebe80c3a573776125a140312fe
parent a3920371
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -502,7 +502,7 @@ class AvrcpControllerStateMachine extends StateMachine {
                    // Let the addressed player know we got an image so it can see if the current
                    // track now has cover artwork
                    boolean addedArtwork = mAddressedPlayer.notifyImageDownload(handle, uri);
                    if (addedArtwork) {
                    if (addedArtwork && isActive()) {
                        BluetoothMediaBrowserService.trackChanged(
                                mAddressedPlayer.getCurrentTrack());
                    }