From e6203182eca053ee33cce7a16a79c314f14c07e0 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 17 Sep 2014 08:03:12 -0700 Subject: [PATCH] resend pending messages when BT radio comes back on --- .../XWords4/src/org/eehouse/android/xw4/BTService.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java index 3f6e61fb1..09cbd7038 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java @@ -323,7 +323,9 @@ public class BTService extends XWService { MultiEvent evt = cameOn? MultiEvent.BT_ENABLED : MultiEvent.BT_DISABLED; sendResult( evt ); - if ( !cameOn ) { + if ( cameOn ) { + GameUtils.resendAllIf( this, false ); + } else { stopListener(); stopSender(); stopSelf();