From dbed7e29ccf70e70b0f50a8448b226e2f9d4a0c2 Mon Sep 17 00:00:00 2001 From: Eric House Date: Fri, 8 Mar 2019 17:40:27 -0800 Subject: [PATCH] fix npe --- .../src/main/java/org/eehouse/android/xw4/BoardDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java index 0d75eff57..b3a1b5d68 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/BoardDelegate.java @@ -2537,7 +2537,7 @@ public class BoardDelegate extends DelegateBase private void warnIfNoTransport() { - if ( alertOrderAt( StartAlertOrder.NO_MEANS ) ) { + if ( null != m_connTypes && alertOrderAt( StartAlertOrder.NO_MEANS ) ) { if ( m_connTypes.contains( CommsConnType.COMMS_CONN_SMS ) ) { if ( !XWPrefs.getNBSEnabled( m_activity ) ) { makeConfirmThenBuilder( R.string.warn_sms_disabled,