diff --git a/xwords4/android/XWords4/res/values/common_rsrc.xml b/xwords4/android/XWords4/res/values/common_rsrc.xml index 72aa19275..58b4c5fff 100644 --- a/xwords4/android/XWords4/res/values/common_rsrc.xml +++ b/xwords4/android/XWords4/res/values/common_rsrc.xml @@ -102,6 +102,7 @@ key_notagain_newfrom key_notagain_trading key_na_lookup + key_na_firefox key_na_browse key_na_browseall key_na_values diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 7bfa92eb2..d1afc4931 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -2192,4 +2192,9 @@ play – if he/she is also using NFC. \u0020pct. + + If Android gives you a choice of + browsers for viewing the wordlists downloads page, DO NOT choose + Firefox. Some versions have a bug that can cause the wordlists to + be lost. diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java index 6fa149cea..e7ab1dfab 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DictsActivity.java @@ -79,6 +79,7 @@ public class DictsActivity extends XWExpandableListActivity // For new callback alternative private static final int DELETE_DICT_ACTION = 1; + private static final int DOWNLOAD_DICT_ACTION = 2; private static final int MOVE_DICT = DlgDelegate.DIALOG_LAST + 1; private static final int SET_DEFAULT = DlgDelegate.DIALOG_LAST + 2; @@ -643,6 +644,9 @@ public class DictsActivity extends XWExpandableListActivity clearSelections(); } break; + case DOWNLOAD_DICT_ACTION: + startDownload( (Intent)params[0] ); + break; default: Assert.fail(); } @@ -665,7 +669,9 @@ public class DictsActivity extends XWExpandableListActivity private void startDownload( int lang, String name ) { Intent intent = mkDownloadIntent( this, lang, name ); - startDownload( intent ); + showNotAgainDlgThen( R.string.not_again_firefox, + R.string.key_na_firefox, + DOWNLOAD_DICT_ACTION, intent ); } private void startDownload( Intent downloadIntent )