Open zuxewi opened 9 years ago
The same story with the Skype on HTC 5.1
Unfortunately I have no idea how the microphone is being accessed.
The media restrictions are defined here: https://github.com/M66B/XPrivacy/blob/master/src/biz/bokhorst/xprivacy/Meta.java#L269
Audio.startRecording, MediaRecorder.start or MediaRecorder.setOutputFile should prevent recording of audio, video, etc.
Record.Audio.permission should prevent audio recording by revoking the permissions (full application restart needed).
What I am missing in this issue is the steps to reproduce. How is the microphone being used?
Note that applications can circumvent these restrictions by using a native library (that is why they are marked unsafe). Using Record.Audio.permission will prevent recording of audio even for native libraries, however.
I just called to echo123 on skype, said something after beep and then I've heard recorded message.
On-demand restricting was enabled but dialog wasn't shown
I will try to check it on another device & ROM.
Sony 4.3 JB - the same issue.
Hello guys, i think Yoy have look deeper in system, i remeber article about backdoor for gov. to listen mic remotely on many different cellphones.. (iknow i know, may be is just conpiratons theory but these cases happened)
@thomaswhite-cz how do you imagine "looking deeper in system"? Can you contribute something?
@M66B when whatsapp accesses the microphone, the following permissions get used:
storage/OpenAssetFileDescriptor
internet/connect
internet/InetAddress.getAllByName
storage/open
If i disable access to storage, it blocks the microphone permissions but it also blocks anything to do with the storage (as expected). If only there was a way to block microphone alone without storage permissions.
Strange thing is that blocking mic access for WhatsApp was actually working before. No rom nor xprivacy / xposed update meanwhile. But probably an WhatsApp update.. Mic access blocking works generally for a couple of other apps.
Hello i have restricted all entrys in audio/video/photo category but messenger can always access my microphone