Skip to content

Instantly share code, notes, and snippets.

@julioz
Created October 27, 2019 10:54
Show Gist options
  • Save julioz/52860c7fd87dff8487c193d894e182c7 to your computer and use it in GitHub Desktop.
Save julioz/52860c7fd87dff8487c193d894e182c7 to your computer and use it in GitHub Desktop.
mediaProjection service declaration
<manifest ...>
...
<application >
<service
android:name=".AudioCaptureService"
android:foregroundServiceType="mediaProjection" />
...
</application>
</manifest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment