Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a015abd authored by Evan Severson's avatar Evan Severson
Browse files

Show different Ui for apps which could have fg capabilities

If an app could be bound by the system with fg capabilities the ui
in permissions should show to the user that these have background
access. These cases happen for a handful of installed packages. This
change accounts for anything that can be bound by SoundTriggerService
or VoiceInteractionService.

The UI changes for mic/camera are as simple as showing different
buttons. For location we send the user directly to settings as if
they're asking for bg location; even if the app doesn't declarae
ACCESS_BACKGROUND_LOCATION in their manifest the UI behaves the same but
in the backend the permission can't be granted.

Bug: 153997991
Bug: 149112445
Test: Verify for SoundTrigger and VoiceInteraction
Change-Id: I98fe7f6b5438f1888e138506d70b8eda25c0124f
parent 5372a9b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment