summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2010-01-23 17:12:59 -0800
committerEric Laurent <elaurent@google.com>2010-01-25 09:01:48 -0800
commit9272b4b4a44fe1f33e3030810618194f817caaec (patch)
tree0f224120f0e9b91cc9bd5b12bd44d9949acbd3cb /libs/rs/rsg_ScriptJavaClass.cpp
parentff65c8c559941cac3f64ddaf350db318f3e993bb (diff)
Fix issue 2349345: Media sound output stuck on earpiece rather than speaker.
This change fixes a problem occuring when an application (for instance a VoIP application) changes the audio mode to MODE_IN_CALL and crashes. In this case, the audio routing policy remains as if we were in call until the audio mode is changed back to MODE_NORMAL, for instance when a new call made or received and terminated. The fix consists in registering a death receipient to the binder that made the setMode() request and resetting the audio mode in case of client process crash.
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions