mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +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
a9eff12074
commit
b63ba3e843
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