From fb3330ce9d78ae90a61cc278088bd9920bb00275 Mon Sep 17 00:00:00 2001 From: Dmitry Yunitsky Date: Wed, 11 Feb 2015 14:12:33 +0300 Subject: [PATCH] Fixed incorrect int value passed as group. --- android/src/com/mapswithme/country/ActiveCountryTree.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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);