mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
fix NPE on clean install
This commit is contained in:
parent
1d5249f139
commit
b48f83ace4
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class DevID {
|
|||
public static String getRelayDevID( Context context, boolean insistAckd )
|
||||
{
|
||||
String result = getRelayDevID( context );
|
||||
if ( insistAckd && 0 < result.length()
|
||||
if ( insistAckd && null != result && 0 < result.length()
|
||||
&& ! DBUtils.getBoolFor( context, DEVID_ACK_KEY, false ) ) {
|
||||
result = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue