From f7df11b92342b04f04ff91f7825e6a7d1ddb78b5 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 21 Dec 2015 16:27:11 -0800 Subject: [PATCH] required by prev commit: follow api change to work around marshmallow address change. --- .../XWords4/src/org/eehouse/android/xw4/CommsTransport.java | 2 +- .../XWords4/src/org/eehouse/android/xw4/MultiMsgSink.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/CommsTransport.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/CommsTransport.java index 43c7fba6d..a471b4000 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/CommsTransport.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/CommsTransport.java @@ -450,7 +450,7 @@ public class CommsTransport implements TransportProcs, gameID, buf ); break; case COMMS_CONN_BT: - nSent = BTService.enqueueFor( context, buf, addr.bt_btAddr, gameID ); + nSent = BTService.enqueueFor( context, buf, addr, gameID ); break; default: Assert.fail(); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/MultiMsgSink.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/MultiMsgSink.java index 7bfa0ae25..a68675c36 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/MultiMsgSink.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/MultiMsgSink.java @@ -62,7 +62,7 @@ public class MultiMsgSink implements TransportProcs { public int sendViaBluetooth( byte[] buf, int gameID, CommsAddrRec addr ) { - return BTService.enqueueFor( m_context, buf, addr.bt_btAddr, gameID ); + return BTService.enqueueFor( m_context, buf, addr, gameID ); } public int sendViaSMS( byte[] buf, int gameID, CommsAddrRec addr )