diff options
-rw-r--r-- | src/com/android/bluetooth/avrcp/Avrcp.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/com/android/bluetooth/avrcp/Avrcp.java b/src/com/android/bluetooth/avrcp/Avrcp.java index ff342e877..27078b4e6 100644 --- a/src/com/android/bluetooth/avrcp/Avrcp.java +++ b/src/com/android/bluetooth/avrcp/Avrcp.java @@ -1845,11 +1845,10 @@ public final class Avrcp { mAvailablePlayerViewChanged = true; } mMediaPlayerInfoList.put(updateId, info); - if (DEBUG) - Log.d(TAG, (updated ? "update #" : "add #") + updateId + ":" + info.toString()); - if (currentRemoved || updateId == mCurrAddrPlayerID) { - updateCurrentController(updateId, mCurrBrowsePlayerID); - } + } + if (DEBUG) Log.d(TAG, (updated ? "update #" : "add #") + updateId + ":" + info.toString()); + if (currentRemoved || updateId == mCurrAddrPlayerID) { + updateCurrentController(updateId, mCurrBrowsePlayerID); } return updated; } |