mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Changed latch to only wait for titleCats
This commit is contained in:
parent
2ea7e6e5fe
commit
82b5904a68
1 changed files with 1 additions and 3 deletions
|
|
@ -80,7 +80,7 @@ public class CategorizationFragment extends Fragment {
|
||||||
MethodAUpdater methodAUpdaterSub;
|
MethodAUpdater methodAUpdaterSub;
|
||||||
|
|
||||||
private final ArrayList<String> titleCatItems = new ArrayList<String>();
|
private final ArrayList<String> titleCatItems = new ArrayList<String>();
|
||||||
final CountDownLatch mergeLatch = new CountDownLatch(2);
|
final CountDownLatch mergeLatch = new CountDownLatch(1);
|
||||||
|
|
||||||
private ContentProviderClient client;
|
private ContentProviderClient client;
|
||||||
|
|
||||||
|
|
@ -171,8 +171,6 @@ public class CategorizationFragment extends Fragment {
|
||||||
catch (RemoteException e) {
|
catch (RemoteException e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
mergeLatch.countDown();
|
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue