mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2024-10-15 01:09:38 +02:00
Never expose null address in placepicker
This commit is contained in:
parent
ed77f7e1d6
commit
e45f03b77e
@ -144,7 +144,7 @@ public class PlacePickerActivity extends AppCompatActivity implements Map.Update
|
|||||||
resultIntent.putExtra(LocationConstants.EXTRA_FINAL_BOUNDS, place.viewport);
|
resultIntent.putExtra(LocationConstants.EXTRA_FINAL_BOUNDS, place.viewport);
|
||||||
place.latLng = GmsMapsTypeHelper.toLatLng(position.getGeoPoint());
|
place.latLng = GmsMapsTypeHelper.toLatLng(position.getGeoPoint());
|
||||||
place.name = getString(R.string.place_picker_location_lat_lng, place.latLng.latitude, place.latLng.longitude);
|
place.name = getString(R.string.place_picker_location_lat_lng, place.latLng.latitude, place.latLng.longitude);
|
||||||
place.address = null;
|
place.address = "";
|
||||||
updateInfoText();
|
updateInfoText();
|
||||||
if (geocoderInProgress.compareAndSet(false, true)) {
|
if (geocoderInProgress.compareAndSet(false, true)) {
|
||||||
new Thread(new Runnable() {
|
new Thread(new Runnable() {
|
||||||
|
Loading…
Reference in New Issue
Block a user