From 4d0a825e43223094051628633a43cfef3826c240 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 23 Feb 2015 21:16:53 -0800 Subject: [PATCH] fix NPE downloading .xwd files --- .../XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java | 1 + 1 file changed, 1 insertion(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java index 1a66b0add..59111d7f2 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java @@ -273,6 +273,7 @@ public class DwnldDelegate extends ListDelegateBase { || uri.toString().endsWith( XWConstants.DICT_EXTN ) ) { item = (LinearLayout)inflate( R.layout.import_dict_item ); dft = new DownloadFilesTask( uri, item, false ); + uris = new Uri[] { uri }; } if ( null != dft ) {