@GrapheneOS
So I tested with GOS and normal android.
When mic global toggle is turned off on normal adroid it does not let you dial at all unless you turn it on.
On GOS the global switch seems pointless since you are able to dial through it and voice is also captured.
I thougt that when something is turned off it should be turned off (even it is a system part), like wtf?
There is also statement of it:
https://discuss.grapheneos.org/d/12562-microphone-turn-off
You can simply avoid granting Microphone access to apps. There's also a global Microphone toggle which you can disable to disallow access even for apps or OS components with microphone access. It works the same way for the Camera permission and toggle. There's also an access history and indicators when they're being used.
But it seems like this is not working at all.
I mean when I turn off switch there should not be anything able to access it, use it or voice go through.
Even tho permisions in permision manager are turned off for default dial app the dial and call still goes through.
When on top of that the global switch is turned off it still goes through. Why this global switch not cut off also a system apps and services from accessing the mic?
Also I tested with camera:
if you have permission denied on camera app to use camera then the app will tell you that it is required -> ok
if you have allowed those permision and toggled off mic and camera -> it will ask you to unblock -> OK
but when you start recording you are then prompted to unblock camera and then mic, but if you keep that prompt up in first case it will keep recording but it is basicly blackscreen of nothing and in second case it will start and record video but without sound.
Also one thing if you permited cammera to function without sound (aka recording will happend but without sound) and you want to make it back, you have to clear the cache of an app to be abl to reset it. The simple toggle off will not work for mic.
Also yea that fact that there is no permision history about those accesses during calls is also weird even tho it is on OS level.
If this is AOSP issue then why on other system this is working as expected?
I mean it is a simple logic no? If switch is turned off the access should be turnedd off no, no ability to do calls nor receiving them?