From 04cc4b372593aceb8295e1996785c140bdc655b1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 3 Jan 2015 12:25:20 -0500 Subject: [PATCH] Android: Fix the core manager on outdated devices we still support --- .../coremanager/fragments/DownloadableCoresFragment.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/android/phoenix/src/com/retroarch/browser/coremanager/fragments/DownloadableCoresFragment.java b/android/phoenix/src/com/retroarch/browser/coremanager/fragments/DownloadableCoresFragment.java index fd0879fbd4..8232e88969 100644 --- a/android/phoenix/src/com/retroarch/browser/coremanager/fragments/DownloadableCoresFragment.java +++ b/android/phoenix/src/com/retroarch/browser/coremanager/fragments/DownloadableCoresFragment.java @@ -205,9 +205,16 @@ public final class DownloadableCoresFragment extends ListFragment super.onPostExecute(result); if (result.isEmpty()) + { Toast.makeText(adapter.getContext(), R.string.download_core_list_error, Toast.LENGTH_SHORT).show(); + } else - adapter.addAll(result); + { + for (int i = 0; i < result.size(); i++) + { + adapter.add(result.get(i)); + } + } } // Literally downloads the info file, writes it, and parses it for the corename key/value pair.