show toast when dropping duplicate invite if DEBUG

I forget to enable that option too often. (No impact on release builds.)
This commit is contained in:
Eric House 2019-05-21 13:16:00 -07:00
parent 3aa1ed0187
commit fb88dfda8a

View file

@ -130,6 +130,10 @@ abstract class XWServiceHelper {
} else if ( rowids.length < nli.nPlayersT ) {
success = XWPrefs.getSecondInviteAllowed( mContext );
if ( BuildConfig.DEBUG && !success ) {
DbgUtils.showf( mContext, "Dropping duplicate invite" );
}
// Allowing a second game allows the common testing action of
// sending invitation to myself. But we still need to check
// for duplicates! forceChannel's hard to dig up, but works