When a feature in your app requests background location on a device that runs Android 10 (API level 29), the system permissions dialog includes an option named Allow all the time . If the user selects this option, the feature in your app gains background location access.
Read moreWhat is background location?
Android 10 features a background access location reminder, which increases transparency into how much access apps have to a device’s location and helps users maintain control over such access . In Android 9 and lower, an app can track a device’s location while running in the background without the user’s knowledge.
Read more