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

Commit e8f2f935 authored by Ajay Panicker's avatar Ajay Panicker Committed by android-build-merger
Browse files

Return on available players changed and clear state for addr player changed am: d79015de

am: be3c8d48

Change-Id: I2251a8d9961ffae98c0b2777ae111d71cf1d57dc
parents 68047111 be3c8d48
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -969,11 +969,13 @@ public final class Avrcp {
                registerNotificationRspAvalPlayerChangedNative(
                        AvrcpConstants.NOTIFICATION_TYPE_CHANGED);
                mAvailablePlayerViewChanged = false;
                return;
            }
            if (mAddrPlayerChangedNT == AvrcpConstants.NOTIFICATION_TYPE_INTERIM
                    && mReportedPlayerID != mCurrAddrPlayerID) {
                registerNotificationRspAvalPlayerChangedNative(
                        AvrcpConstants.NOTIFICATION_TYPE_CHANGED);
                mAvailablePlayerViewChanged = false;
                registerNotificationRspAddrPlayerChangedNative(
                        AvrcpConstants.NOTIFICATION_TYPE_CHANGED, mCurrAddrPlayerID, sUIDCounter);
                mAddrPlayerChangedNT = AvrcpConstants.NOTIFICATION_TYPE_CHANGED;