mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
fix crash on old (2.3) devices
Was already using the safe test for wifidirect everywhere else...
This commit is contained in:
parent
c774780730
commit
cbac691be3
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ public class InviteChoicesAlert extends DlgDelegateAlert {
|
||||||
items.add( getString( R.string.invite_choice_relay ) );
|
items.add( getString( R.string.invite_choice_relay ) );
|
||||||
means.add( InviteMeans.RELAY );
|
means.add( InviteMeans.RELAY );
|
||||||
}
|
}
|
||||||
if ( WiDirService.enabled() ) {
|
if ( WiDirWrapper.enabled() ) {
|
||||||
items.add( getString( R.string.invite_choice_p2p ) );
|
items.add( getString( R.string.invite_choice_p2p ) );
|
||||||
means.add( InviteMeans.WIFIDIRECT );
|
means.add( InviteMeans.WIFIDIRECT );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue