summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2010-11-15 12:11:32 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2010-11-16 10:23:37 -0800
commit8f677d66d9c3ba34c97e69b2bb9e161f129af0ee (patch)
treec38d12165c0d6eead961d2fc4e8915a0bf936f93 /graphics/java/android/renderscript/ProgramFragment.java
parent75663ceec407dbab5740460b6e7ae7ae9403e5a0 (diff)
Add new audio mode for audio communications other than telelphony.
The audio mode MODE_IN_CALL signals the system the device a phone call is currently underway. There was no way for audio video chat or VoIP applications to signal a call is underway, but not using the telephony resources. This change introduces a new mode to address this. Changes in other parts of the system (java and native) are required to take this new mode into account. The generic AudioPolicyManager is updated to not use its phone state variable directly, but to use two new convenience methods, isInCall() and isStateInCall(int) instead. Change-Id: Id744cd26520ea1d1a4795eabe6a1f0c58789af76
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions