I've been reading this guide https://developer.android.com/guide/topics/media/playback-capture#capture_policy and it says I need to "include android:allowAudioPlaybackCapture="true in the app's manifest.xml file" but how exactly do I accomplish that? I tried adding the flag on the application header but the compiler just gave me an error.
Edit: Turns out I just needed to set my build tools version >= 28 and my compileSdkVersion to >= 29