summaryrefslogtreecommitdiffstats
path: root/services/java/com/android
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2010-05-24 12:59:27 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-05-24 12:59:27 -0700
commit1e11e95f61510ad600b52e2b24c927cada8c2ee4 (patch)
treec942a4c52990f123fab00e705e4436e2c014432c /services/java/com/android
parent6c537e53cef1b0177a1734e2a5f302d80c0a26f8 (diff)
parent01ac80b715881db22bde8b31633dd8a4dc375389 (diff)
downloadframeworks_base-1e11e95f61510ad600b52e2b24c927cada8c2ee4.zip
frameworks_base-1e11e95f61510ad600b52e2b24c927cada8c2ee4.tar.gz
frameworks_base-1e11e95f61510ad600b52e2b24c927cada8c2ee4.tar.bz2
Merge "Add Geocorder.isImplemented()" into kraken
Diffstat (limited to 'services/java/com/android')
-rw-r--r--services/java/com/android/server/LocationManagerService.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/java/com/android/server/LocationManagerService.java b/services/java/com/android/server/LocationManagerService.java
index 74249f3..14d5995 100644
--- a/services/java/com/android/server/LocationManagerService.java
+++ b/services/java/com/android/server/LocationManagerService.java
@@ -1940,6 +1940,10 @@ public class LocationManagerService extends ILocationManager.Stub implements Run
// Geocoder
+ public Boolean geocoderIsImplemented() {
+ return mGeocodeProvider != null;
+ }
+
public String getFromLocation(double latitude, double longitude, int maxResults,
GeocoderParams params, List<Address> addrs) {
if (mGeocodeProvider != null) {