summaryrefslogtreecommitdiff
path: root/libs/rs/rsScriptC.cpp
diff options
context:
space:
mode:
author Jean-Michel Trivi <jmtrivi@google.com> 2010-12-11 13:18:30 -0800
committer Jean-Michel Trivi <jmtrivi@google.com> 2010-12-11 13:55:58 -0800
commit2ade576148fe33c5ff6098d30ccfbcf28df70e8e (patch)
tree56d4b40d5ebbffb9ac4d5005a5f2b4403de25127 /libs/rs/rsScriptC.cpp
parentdfcaeb1677cef0d7bf437f5f0432b6f07b223690 (diff)
Fix bug 3275151 Request and abandon audio focus with audio mode changes
Before the introduction of the MODE_IN_COMMUNICATION audio mode, "calls" were only made through telephony and the PhoneStateListener was used to request and abandon audio focus as calls where started and ended. VoIP applications do not cause phone state events to be broadcast, and set the audio mode to MODE_IN_COMMUNICATION directly. This change monitors mode changes to automatically grab and abandon audio focus. Change-Id: Ie9a4193e35ba8447764fac66a988959a93c4909f
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
0 files changed, 0 insertions, 0 deletions