summaryrefslogtreecommitdiffstats
path: root/services/java/com/android/server/location/ComprehensiveCountryDetector.java
diff options
context:
space:
mode:
Diffstat (limited to 'services/java/com/android/server/location/ComprehensiveCountryDetector.java')
-rwxr-xr-xservices/java/com/android/server/location/ComprehensiveCountryDetector.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/services/java/com/android/server/location/ComprehensiveCountryDetector.java b/services/java/com/android/server/location/ComprehensiveCountryDetector.java
index e692f8d..e9ce3ce 100755
--- a/services/java/com/android/server/location/ComprehensiveCountryDetector.java
+++ b/services/java/com/android/server/location/ComprehensiveCountryDetector.java
@@ -16,10 +16,6 @@
package com.android.server.location;
-import java.util.Locale;
-import java.util.Timer;
-import java.util.TimerTask;
-
import android.content.Context;
import android.location.Country;
import android.location.CountryListener;
@@ -31,6 +27,10 @@ import android.telephony.TelephonyManager;
import android.text.TextUtils;
import android.util.Slog;
+import java.util.Locale;
+import java.util.Timer;
+import java.util.TimerTask;
+
/**
* This class is used to detect the country where the user is. The sources of
* country are queried in order of reliability, like
@@ -354,6 +354,6 @@ public class ComprehensiveCountryDetector extends CountryDetectorBase {
}
protected boolean isGeoCoderImplemented() {
- return Geocoder.isImplemented();
+ return Geocoder.isPresent();
}
}