mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
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:
parent
3aa1ed0187
commit
fb88dfda8a
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue