hasLocationPermission

Return

true if the user has granted location at the requested precision.

Parameters

precise

true to require ACCESS_FINE_LOCATION. An approximate-only grant (ACCESS_COARSE_LOCATION) satisfies precise = false alone.