Loading src/com/android/bluetooth/avrcp/Avrcp.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -2225,6 +2225,12 @@ public final class Avrcp { } } private void handleGetItemAttr(AvrcpCmd.ItemAttrCmd itemAttr) { private void handleGetItemAttr(AvrcpCmd.ItemAttrCmd itemAttr) { if (itemAttr.mUidCounter != sUIDCounter) { Log.e(TAG, "handleGetItemAttr: invaild uid counter."); getItemAttrRspNative( itemAttr.mAddress, AvrcpConstants.RSP_UID_CHANGED, (byte) 0, null, null); return; } if (itemAttr.mScope == AvrcpConstants.BTRC_SCOPE_NOW_PLAYING) { if (itemAttr.mScope == AvrcpConstants.BTRC_SCOPE_NOW_PLAYING) { if (mCurrAddrPlayerID == NO_PLAYER_ID) { if (mCurrAddrPlayerID == NO_PLAYER_ID) { getItemAttrRspNative( getItemAttrRspNative( Loading Loading
src/com/android/bluetooth/avrcp/Avrcp.java +6 −0 Original line number Original line Diff line number Diff line Loading @@ -2225,6 +2225,12 @@ public final class Avrcp { } } private void handleGetItemAttr(AvrcpCmd.ItemAttrCmd itemAttr) { private void handleGetItemAttr(AvrcpCmd.ItemAttrCmd itemAttr) { if (itemAttr.mUidCounter != sUIDCounter) { Log.e(TAG, "handleGetItemAttr: invaild uid counter."); getItemAttrRspNative( itemAttr.mAddress, AvrcpConstants.RSP_UID_CHANGED, (byte) 0, null, null); return; } if (itemAttr.mScope == AvrcpConstants.BTRC_SCOPE_NOW_PLAYING) { if (itemAttr.mScope == AvrcpConstants.BTRC_SCOPE_NOW_PLAYING) { if (mCurrAddrPlayerID == NO_PLAYER_ID) { if (mCurrAddrPlayerID == NO_PLAYER_ID) { getItemAttrRspNative( getItemAttrRspNative( Loading