Conversation

Can someone who knows Android explain this to me because it sounds too awful to be true. Since recent Android only makes it easy to request location access (and likewise camera, mic) "while using the app", there's a hidden permission not in perms UI called "foreground service"...
1
And, at least as I understand it, it allows the application to launch a "foreground service" to pretend it's still in the foreground after the user closes it, so it can retain location/camera/mic permission explicitly contrary to user consent.
3
Replying to
A foreground service is inherently tied to a notification which must be at least low priority by default which shows it in the status bar and on the lockscreen. The user can choose to hide the notification. There will still be a location indicator and history regardless.
2
2
Replying to
I think it should still explicitly say "allow while focused or showing activity notification" or something like that to make it clear to the user what they're supposedly consenting to.
1
Replying to
Since there's support for split screen and free form window management, it's more than just either focused or showing a visible notification. The unfocused app in split screen or unfocused apps visible on the screen for free form window management also count as foreground apps.
2
Show replies
Replying to and
This is what I meant to write here: > The allow while in use approach for microphone/camera/location is less strict than the only while focused requirement for reading the clipboard. It would be entirely possible to have an only while focused mode for those permissions too.