In Android 10 the permissions to remove and put arrived. Instead of giving an application permission to access your location or camera at all times, you can grant it once or only while using the application. If in Android 10 the distinction between permissions came once or forever, now the permissions for the location in the foreground or background come.
Google continues to restrict access to special permissions in Android 11. In the new version of Android, users cannot grant permission to access the background location in the normal way, but it is necessary to do it from the system settings.
War on background access to location
In Android 10, Google introduced single-use permissions, as well as the distinction between whether you wanted to grant permission to access the location while using an app or always. In Android 11 the last option disappears.
That is, when an application asks for permission to access the location, the options presented to the user are when the application is used or only this time. There is no way to grant permission to access the location in the background, at least not from the popup that is presented to the user.
The option is still there, although Google wants the user to “take more deliberate action.” To add permission to access the background location in Android 11 you need to go to the application permission settings > location and activate Always allow.
Yes, there will be a “shortcut” method of going to these settings, more or less. An application that has a justified need to access the location in the background must first ask the user for permission to access the location in the foreground. You will then need to ask to extend that permission to access the location in the background.
Of course, still in this case a window that allows you to grant access in the background all the time will not be shown, but this window can take you directly to the location settings of the application, so you can then set them to “Always allow “
Google is giving developers more time to adapt their applications to these new requirements for location access, especially background location. These changes will not be mandatory until 2021.