700aab67eb286b44663f885325f8db6b049cb638
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.
Merge "initialize sync adapters that get installed while the system is running bug http://b/issue?id=2360782" into eclair
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%