The PlacePicker is a useful widget added in com.google.android.gms:play-services-places:9.4.0. Find the description here: PlacePicker
The documentation clearly states that you need the ACCESS_FINE_LOCATION permission for it to work.
On Marshmallow and above you also must ask the user to grant this permission.
But it seems to work without doing any of this!
My app does
- provide a maps API key
- not define the permission in the AndroidManifest
- not ask the user to grant this permission at any time
But ruing the app on an Marshmallow device DOES start the PlacePicker and I can
- correctly select a place (not possible without the API key).
- go to "My Location" via the MyLocation-Button (possible without API key)
Can anyone confirm this or has an explanation why this widget works without proper permissions granted?
