mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-31 19:57:06 +01:00
wifi: send pending messages on getting connected
Each time we get a socket to a peer, try sending all pending wifi direct messages. It's a hack, but trying to send isn't that expensive and the experience is much improved.
This commit is contained in:
parent
6eb2a7b71b
commit
dc2cd239a1
1 changed files with 4 additions and 0 deletions
|
@ -685,6 +685,10 @@ public class WiDirService extends XWService {
|
|||
DbgUtils.logd( TAG,
|
||||
"storeByAddress(); storing wrap for %s",
|
||||
macAddress );
|
||||
|
||||
GameUtils.resendAllIf( XWApp.getContext(),
|
||||
CommsConnType.COMMS_CONN_P2P,
|
||||
false );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue