My situation: I need to detect, on newer versions of Android, if any App is using the Microphone (default recorder, for example).
I found a lot of options, but they only work for version < Android 10. Those codes fail to detect on recent Versions, because of the way things changed regarding foreground services or the ability to “kidnap” the usage of Mic. (at least that’s what I managed to understand. correct me if I’m wrong, please)
Is it still possible to detect Apps actively recording audio from the Mic, that are not using VOICE_CALL or VOICE_COMMUNICATION?