Android: Fix the core manager on outdated devices we still support

This commit is contained in:
Lioncash 2015-01-03 12:25:20 -05:00
parent 141cd55112
commit 04cc4b3725

View File

@ -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.