I wrote 2 applications.
The first application has only a service, and the second an Activity. I start the service in the 1st application from activity in the second application. In the service, I change the sound settings, so I need android.permission.MODIFY_AUDIO_SETTINGS in the manifest.
My question is in which manifest file should add this permission . Why I ask, because if I add this permission to the manifest of the Service application, I get a warning Exported service does not require permission .
If anyone knows this, post the solution.
source share