mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
don't optimize for email-only case
The test got out-of-date, and with SMS and clipboard options always present there's no point in testing: should always pass.
This commit is contained in:
parent
7ed7e7d968
commit
af1ac3f779
1 changed files with 4 additions and 18 deletions
|
@ -422,24 +422,10 @@ public class DlgDelegate {
|
|||
public void showInviteChoicesThen( final Action action,
|
||||
SentInvitesInfo info )
|
||||
{
|
||||
if ( (Utils.deviceSupportsNBS( m_activity ))
|
||||
|| XWPrefs.getNFCToSelfEnabled( m_activity )
|
||||
|| NFCUtils.nfcAvail( m_activity )[0]
|
||||
|| WiDirWrapper.enabled()
|
||||
|| BTService.BTAvailable() ) {
|
||||
DlgState state = new DlgState( DlgID.INVITE_CHOICES_THEN )
|
||||
.setAction( action )
|
||||
.setParams( info );
|
||||
m_dlgt.show( state );
|
||||
} else {
|
||||
post( new Runnable() {
|
||||
public void run() {
|
||||
DlgClickNotify.InviteMeans means
|
||||
= DlgClickNotify.InviteMeans.EMAIL;
|
||||
m_clickCallback.inviteChoiceMade( action, means );
|
||||
}
|
||||
});
|
||||
}
|
||||
DlgState state = new DlgState( DlgID.INVITE_CHOICES_THEN )
|
||||
.setAction( action )
|
||||
.setParams( info );
|
||||
m_dlgt.show( state );
|
||||
}
|
||||
|
||||
public void doSyncMenuitem()
|
||||
|
|
Loading…
Add table
Reference in a new issue