OSDN Git Service

We show the state information for a city if there is space
authorVenkat Krishnaraj <venkatkrishnaraj@venkat-krishnarajs-macbook-pro.local>
Tue, 8 Dec 2009 22:40:43 +0000 (14:40 -0800)
committerDave Sparks <davidsparks@android.com>
Wed, 9 Dec 2009 03:45:46 +0000 (19:45 -0800)
src/com/cooliris/media/ReverseGeocoder.java

index 6038846..96bc645 100644 (file)
@@ -193,7 +193,7 @@ public final class ReverseGeocoder extends Thread {
         if (closestCommonLocation != null && !("null".equals(closestCommonLocation))) {
             String adminArea = addr1.getAdminArea();
             String countryCode = addr1.getCountryCode();
-            if (adminArea != null && adminArea.length() > 0 && !adminArea.equals(currentAdminArea)) {
+            if (adminArea != null && adminArea.length() > 0) {
                 if (!countryCode.equals(currentCountry)) {
                     closestCommonLocation += ", " + adminArea + " " + countryCode;
                 } else {