Can a third-party accessibility service capture audio on Android 10?
问题 I want to build an accessibility service that can capture audio even when other applications are using the microphone (video camera, phone, voice recorder, Shazam, etc). Android 10 introduced audio sharing, but it's not clear whether third-party accessibility services can capture audio from other apps. https://developer.android.com/guide/topics/media/sharing-audio-input For the purpose of capturing audio, Android distinguishes two kinds of apps: "Ordinary" apps are installed by the user.