diff --git a/android/src/com/mapswithme/country/ActiveCountryTree.java b/android/src/com/mapswithme/country/ActiveCountryTree.java index e3591b2171..67592dfb71 100644 --- a/android/src/com/mapswithme/country/ActiveCountryTree.java +++ b/android/src/com/mapswithme/country/ActiveCountryTree.java @@ -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);