fix the compilation error in broadcom partner branch
Change-Id: I563742d29570095060c874b1b992cd1c3859dc58
diff --git a/src/com/android/bluetooth/a2dp/Avrcp.java b/src/com/android/bluetooth/a2dp/Avrcp.java
index 0f1e950..c434113 100755
--- a/src/com/android/bluetooth/a2dp/Avrcp.java
+++ b/src/com/android/bluetooth/a2dp/Avrcp.java
@@ -139,6 +139,13 @@
}
}
+ 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();