File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/src/main/java/fr/free/nrw/commons/category Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,6 @@ protected void onPostExecute(ArrayList<String> result) {
154
154
protected ArrayList <String > recentCatQuery () {
155
155
ArrayList <String > items = new ArrayList <String >();
156
156
157
-
158
157
try {
159
158
mergeLatch .await ();
160
159
Log .d (TAG , "Waited for merge" );
@@ -195,13 +194,17 @@ protected ArrayList<String> mergeItems() {
195
194
196
195
if (MwVolleyApi .GpsCatExists .getGpsCatExists ()) {
197
196
gpsItems .addAll (MwVolleyApi .getGpsCat ());
197
+ }
198
198
199
199
List <String > titleItems = new ArrayList <String >(titleCatQuery ());
200
200
List <String > recentItems = new ArrayList <String >(recentCatQuery ());
201
201
202
202
mergedItems .addAll (gpsItems );
203
+ Log .d (TAG , "Adding GPS items: " + gpsItems );
203
204
mergedItems .addAll (titleItems );
205
+ Log .d (TAG , "Adding title items: " + titleItems );
204
206
mergedItems .addAll (recentItems );
207
+ Log .d (TAG , "Adding recent items: " + recentItems );
205
208
206
209
//Needs to be an ArrayList and not a List unless we want to modify a big portion of preexisting code
207
210
ArrayList <String > mergedItemsList = new ArrayList <String >(mergedItems );
You can’t perform that action at this time.
0 commit comments