diff options
| author | Eric Laurent <elaurent@google.com> | 2010-01-22 07:50:58 -0800 |
|---|---|---|
| committer | Eric Laurent <elaurent@google.com> | 2010-01-22 09:31:12 -0800 |
| commit | 700aab67eb286b44663f885325f8db6b049cb638 (patch) | |
| tree | cd2fb91856bda162bfa1c30dfe5035198c3e7d89 /libs/rs/rsg_ScriptJavaClass.cpp | |
| parent | 9a400fa4d3e89a3ab3669c0aa2ef6676020646d1 (diff) | |
Fix issue 2388215: Audio not routed to 3.5mm Headset after removal/insertion.
The problem occurs if the delay between the headset removal and insertion is less than one second.
In this case, as the headset disconnection intent is broadcast with a 1 second delay to allow music to pause
before updating the route, the connection intent is broadcast before and is ignored, leaving the system
in a state where the headset is considered disconnected.
The fix consists in inserting a delay before broadcasting the connection intent if a disconnection
intent is pending broadcast.
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions
