I received a pop up in which Android Studio requests permission to access my microphone.
For as far as I know, there are no voice command features in Android Studio.
I found this rather odd and I hope someone knows why my IDE wants to acces my microphone.
It's the Android emulator. The emulated phone has a microphone, so the emulator uses your computer's microphone to emulate it. Feel free to deny access to your microphone; the emulator will work fine—except for its microphone, of course.
Microphone Privacy SettingsGo to Start → Settings → Privacy → Microphone. Click Change to enable microphone access for the device in use. Under “Allow apps to access your microphone”, switch the toggle to the right to allow applications to use the microphone.
Use Your Android device's settings menu to change camera and microphone permissions. If you've turned off camera or microphone access, you can turn on those permissions by accessing your device Settings > Apps menu.
It's the Android emulator. The emulated phone has a microphone, so the emulator uses your computer's microphone to emulate it.
Feel free to deny access to your microphone; the emulator will work fine—except for its microphone, of course.
EDIT: monocasa on HN explained in more detail:
It just enables the microphone at emulated device instantiation time. Easier than enabling/and disabling it at runtime.
https://android.googlesource.com/platform/external/qemu/+/a7c579bdcbe2543472535718d3b637cb864f6f36/hw/android/goldfish/audio.c#288
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With