mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Minor changes
This commit is contained in:
parent
8c979cf751
commit
8d4787e493
1 changed files with 4 additions and 3 deletions
|
|
@ -154,23 +154,24 @@ public class CategorizationFragment extends SherlockFragment{
|
|||
items.add(cat.getName());
|
||||
}
|
||||
|
||||
mergedItems.addAll(items);
|
||||
|
||||
if (MwVolleyApi.gpsCatExists){
|
||||
Log.d("Cat", "GPS cats found in CategorizationFragment.java" + MwVolleyApi.getGpsCat().toString());
|
||||
ArrayList<String> gpsItems = new ArrayList<String>(MwVolleyApi.getGpsCat());
|
||||
Log.d("Cat", "GPS items: " + gpsItems.toString());
|
||||
|
||||
mergedItems.addAll(items);
|
||||
mergedItems.addAll(gpsItems);
|
||||
Log.d("Cat", "Merged items: " + mergedItems.toString());
|
||||
}
|
||||
|
||||
}
|
||||
catch (RemoteException e) {
|
||||
// faaaail
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
Log.d("Cat", "Merged items: " + mergedItems.toString());
|
||||
return mergedItems;
|
||||
}
|
||||
|
||||
if(categoriesCache.containsKey(filter)) {
|
||||
return categoriesCache.get(filter);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue