request Location Permissions From Manifest
Request location permissions, including background location permission, to the user for the given activity. Permissions list to request is defined according to AndroidManifest.
On Android 11 (API 30) and above, the platform rejects background location permission requested together with foreground location permissions in the same call -- unlike requestLocationPermissions, this method requests background location permission separately, only after foreground location permission has been granted.
Remember to call onRequestPermissionsResult from the activity's own onRequestPermissionsResult