summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-01-26 11:10:29 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2012-01-27 14:20:27 -0800
commit4ed37ea81a239f189e65be89651b988e47e836ca (patch)
treea37f9053020e8c1f002aa4e05e323f5a92c9ad4f /core
parent11001c344a37ac515328133f46b80a2c92e61b6c (diff)
downloadframeworks_base-4ed37ea81a239f189e65be89651b988e47e836ca.zip
frameworks_base-4ed37ea81a239f189e65be89651b988e47e836ca.tar.gz
frameworks_base-4ed37ea81a239f189e65be89651b988e47e836ca.tar.bz2
Bug 5567648 Request and abandon audio focus in calls
Up to now, audio focus was implicitly requested and abandoned when changing the audio mode. This is no longer the case so the behavior with regards to audio focus can be indepently set by the CallManager. The logic implemented here is the same as the one previously used in AudioService: - only request audio focus when the ring volume index is > 0 when ringing, - request focus before setting the audio mode to a mode other than normal - abandon audio focus after setting the audio mode to normal Change-Id: Ia543dc779563dbff09414771fee60e589dfaab9d
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions