mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +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;
|
||||
|
||||
private final ArrayList<String> titleCatItems = new ArrayList<String>();
|
||||
final CountDownLatch mergeLatch = new CountDownLatch(2);
|
||||
final CountDownLatch mergeLatch = new CountDownLatch(1);
|
||||
|
||||
private ContentProviderClient client;
|
||||
|
||||
|
|
@ -171,8 +171,6 @@ public class CategorizationFragment extends Fragment {
|
|||
catch (RemoteException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
mergeLatch.countDown();
|
||||
return items;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue