Recently I came across a comment thread where an app developer said that they use Android's AudioManager to check if somebody is on a phone call during use of their app. I assume they meant checking f.e. AudioManager.getMode. They were using this as part of a security feature and said they are blocking some functionality in their app if they detect you are on a call.
Do apps have full access to the AudioManager mode in GOS or does GOS abstract/fake (some of) the current audio modes?