forked from organicmaps/organicmaps
Fixed incorrect int value passed as group.
This commit is contained in:
parent
a25751a1c2
commit
fb3330ce9d
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
package com.mapswithme.country;
|
||||
|
||||
import com.mapswithme.maps.MapStorage;
|
||||
import com.mapswithme.maps.MapStorage.Index;
|
||||
|
||||
public class ActiveCountryTree
|
||||
|
@ -29,7 +28,7 @@ public class ActiveCountryTree
|
|||
|
||||
public static int getTotalCount()
|
||||
{
|
||||
return getCountInGroup(MapStorage.ON_DISK) + getCountInGroup(MapStorage.ON_DISK_OUT_OF_DATE);
|
||||
return getCountInGroup(GROUP_OUT_OF_DATE) + getCountInGroup(GROUP_UP_TO_DATE);
|
||||
}
|
||||
|
||||
public static native CountryItem getCountryItem(int group, int position);
|
||||
|
|
Loading…
Add table
Reference in a new issue