Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e45f03b7 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Never expose null address in placepicker

parent ed77f7e1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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() {