Update IRemoteControlDisplay implementation to latest interface
Changed method setTransportControlFlags(int, int)
to method setTransportControlInfo(int, int, int)
Bug 8120740
Change-Id: I35833384102949eb2a20b0f61e13d9d8573adf3e
diff --git a/src/com/android/bluetooth/a2dp/Avrcp.java b/src/com/android/bluetooth/a2dp/Avrcp.java
index 099e1e2..411a1c3 100755
--- a/src/com/android/bluetooth/a2dp/Avrcp.java
+++ b/src/com/android/bluetooth/a2dp/Avrcp.java
@@ -154,7 +154,7 @@
}
@Override
- public void setTransportControlFlags(int generationId, int flags) {
+ public void setTransportControlInfo(int generationId, int flags, int posCapabilities) {
Handler handler = mLocalHandler.get();
if (handler != null) {
handler.obtainMessage(MSG_SET_TRANSPORT_CONTROLS, generationId, flags)