Why is Android Studio's Emulator always listening to my microphone?
stackoverflow.com
stackoverflow.com
Coding a special SDK image to adapt to the host system permissions doesnt make any sense. Android will always have access to hardware, and you're testing that it will work on Android, not on an emulator...
glares
https://android.googlesource.com/platform/external/qemu/+/a7...
(Also, I cannot replicate this by the way)
This isn't something that any other app needing microphone does.
Case in point: if you use Chrome, and start a Google Hangouts calls, the website will request mic access. Only then will it activate the mic, and it will deactivate after the call.
If Android Studio does then I'd be more up in arms. For the emulator to do that, I'd assume it's just a matter of laziness on the part of the developers. The emulator probably just opens the audio junk at startup and doesn't bother with the rigamarole of opening and closing it as needed - it's a device emulator intended for development use, they probably don't expect it to be running constantly unattended on a developers workstation.
File a bug upstream, if it's closed with EWONTFIX, then break out the tinfoil hats and shout from the hill tops.
What the emulator could do would be to add an "Emulate microphone" checkbox, but that probably isn't high on Google's priority list.
I wouldn't call that normal at all, nor does your theory address the issue of the permissions request being explicitly denied while still gaining access.
What would you call it then? It's a thing 99% of modern phones do (Android & iOS). If that's not "normal" then what is "normal" in your world?
> nor does your theory address the issue of the permissions request being explicitly denied while still gaining access
My theory was not intended to address what is obviously an OSX bug. The theory is _why_ it was asking. Why it managed to get access anyway after being denied is just a straight up permission bug in OSX and has nothing to do with Android Studio or the emulator.
Can't understand why the Simulator needs it.
Uh? What OS shows that? Perhaps a newer Mac OS?
At this point I avoid all apps that aren't from F-Droid. Both Google and Amazon's android app stores are packed to the gills with software that wants to spy on me and advertise to me.
That's an odd thing to object to. I have no interest in resolving the SO ticket. Google doesn't pay me to fix their problems and nor am I inclined to donate my labor to a for-profit corporation.