Merge "Update IRemoteControlDisplay implementation to latest interface" into jb-mr2-dev
diff --git a/src/com/android/bluetooth/a2dp/Avrcp.java b/src/com/android/bluetooth/a2dp/Avrcp.java
index 411a1c3..0e73493 100755
--- a/src/com/android/bluetooth/a2dp/Avrcp.java
+++ b/src/com/android/bluetooth/a2dp/Avrcp.java
@@ -129,6 +129,7 @@
mLocalHandler = new WeakReference<Handler>(handler);
}
+ @Override
public void setPlaybackState(int generationId, int state, long stateChangeTimeMs,
long currentPosMs, float speed) {
Handler handler = mLocalHandler.get();
@@ -138,13 +139,6 @@
}
}
- public void setPlaybackState(int generationId, int state, long stateChangeTimeMs) {
- Handler handler = mLocalHandler.get();
- if (handler != null) {
- handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
- }
- }
-
@Override
public void setMetadata(int generationId, Bundle metadata) {
Handler handler = mLocalHandler.get();