block microphone

  1. Lakhtin_V

    Android Question Android 12-13 in sleep mode smartphone, disables microphone recording.

    I am developing a security application that listens to surrounding sounds. I start recording sound from a microphone as a service. On older versions of Android, everything works well, even when the smartphone is sleeping. But in the new version 12-13 Android, when the smartphone falls asleep...