Bug 794424 - Send the headphone status at boot time. r=philipp

This commit is contained in:
Alexandre Lissy 2012-09-27 23:06:01 -04:00
parent 565de4fd06
commit c185f04347

View File

@ -152,6 +152,7 @@ AudioManager::AudioManager() : mPhoneState(PHONE_STATE_CURRENT),
RegisterSwitchObserver(SWITCH_HEADPHONES, mObserver);
InternalSetAudioRoutes(GetCurrentSwitchState(SWITCH_HEADPHONES));
NotifyHeadphonesStatus(GetCurrentSwitchState(SWITCH_HEADPHONES));
}
AudioManager::~AudioManager() {