resend pending messages when BT radio comes back on

This commit is contained in:
Eric House 2014-09-17 08:03:12 -07:00
parent b97a9518f7
commit e6203182ec

View file

@ -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();