Bug 636344 - Android Geolocation provider does not provide geocoded civic addresses. r=blassey

This commit is contained in:
Doug Turner
2011-03-17 00:03:11 -07:00
parent 9e65c23d8c
commit d3f77f2042
7 changed files with 157 additions and 7 deletions

View File

@@ -67,7 +67,6 @@ public class GeckoEvent {
public static final int ACTIVITY_PAUSING = 9;
public static final int ACTIVITY_SHUTDOWN = 10;
public static final int LOAD_URI = 11;
public static final int SURFACE_CREATED = 12;
public static final int SURFACE_DESTROYED = 13;
public static final int GECKO_EVENT_SYNC = 14;
@@ -105,6 +104,7 @@ public class GeckoEvent {
public int mRangeType, mRangeStyles;
public int mRangeForeColor, mRangeBackColor;
public Location mLocation;
public Address mAddress;
public int mNativeWindow;
@@ -145,9 +145,10 @@ public class GeckoEvent {
mZ = s.values[2] / SensorManager.GRAVITY_EARTH;
}
public GeckoEvent(Location l) {
public GeckoEvent(Location l, Address a) {
mType = LOCATION_EVENT;
mLocation = l;
mAddress = a;
}
public GeckoEvent(int imeAction, int offset, int count) {