Level 30
Content Creator
In Android 10, you can choose to allow an app to only access your location when you're using the app.
  • Allow all the time: The app can use your location at any time.
  • Allow only while using the app: The app can use your location only when you're using that app.
  • Deny: The app can never use your location, even when you’re using the app.
On my Redmi Note 4X, which is running a custom version of Xiaomi's MIUI 12, based on Android 9, I get the following options when an app requires location access.