Never expose null address in placepicker

This commit is contained in:
Marvin W 2016-03-02 21:32:04 +01:00
parent ed77f7e1d6
commit e45f03b77e

View File

@ -144,7 +144,7 @@ public class PlacePickerActivity extends AppCompatActivity implements Map.Update
resultIntent.putExtra(LocationConstants.EXTRA_FINAL_BOUNDS, place.viewport);
place.latLng = GmsMapsTypeHelper.toLatLng(position.getGeoPoint());
place.name = getString(R.string.place_picker_location_lat_lng, place.latLng.latitude, place.latLng.longitude);
place.address = null;
place.address = "";
updateInfoText();
if (geocoderInProgress.compareAndSet(false, true)) {
new Thread(new Runnable() {