mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +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());
|
items.add(cat.getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mergedItems.addAll(items);
|
||||||
|
|
||||||
if (MwVolleyApi.gpsCatExists){
|
if (MwVolleyApi.gpsCatExists){
|
||||||
Log.d("Cat", "GPS cats found in CategorizationFragment.java" + MwVolleyApi.getGpsCat().toString());
|
Log.d("Cat", "GPS cats found in CategorizationFragment.java" + MwVolleyApi.getGpsCat().toString());
|
||||||
ArrayList<String> gpsItems = new ArrayList<String>(MwVolleyApi.getGpsCat());
|
ArrayList<String> gpsItems = new ArrayList<String>(MwVolleyApi.getGpsCat());
|
||||||
Log.d("Cat", "GPS items: " + gpsItems.toString());
|
Log.d("Cat", "GPS items: " + gpsItems.toString());
|
||||||
|
|
||||||
mergedItems.addAll(items);
|
|
||||||
mergedItems.addAll(gpsItems);
|
mergedItems.addAll(gpsItems);
|
||||||
Log.d("Cat", "Merged items: " + mergedItems.toString());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (RemoteException e) {
|
catch (RemoteException e) {
|
||||||
// faaaail
|
// faaaail
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
Log.d("Cat", "Merged items: " + mergedItems.toString());
|
||||||
return mergedItems;
|
return mergedItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(categoriesCache.containsKey(filter)) {
|
if(categoriesCache.containsKey(filter)) {
|
||||||
return categoriesCache.get(filter);
|
return categoriesCache.get(filter);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue