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
Loading
Please register or sign in to comment