From ba9fe8561194b99a7c8f15b8c5eb6e08dedd17da Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 23 Jun 2020 09:41:40 -0700 Subject: [PATCH] provide default Action to avoid NPE --- .../app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java index 8887f65b2..9b4249605 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/DlgDelegate.java @@ -160,6 +160,7 @@ public class DlgDelegate { Builder( DlgID dlgID ) { mState = new DlgState( dlgID ) .setPosButton( android.R.string.ok ) // default + .setAction( Action.SKIP_CALLBACK ) ; }