Bug 1072275 - MobileConnectionService doesn't have to be created in 'profile-after-change' category. r=smaug

This commit is contained in:
Edgar Chen 2014-10-16 09:57:38 +08:00
parent cbea101abe
commit eb8669f6ea
2 changed files with 1 additions and 2 deletions

View File

@ -105,7 +105,7 @@ NS_CreateMobileConnectionService()
service = new mozilla::dom::mobileconnection::MobileConnectionIPCService(); service = new mozilla::dom::mobileconnection::MobileConnectionIPCService();
} else { } else {
#if defined(MOZ_WIDGET_GONK) && defined(MOZ_B2G_RIL) #if defined(MOZ_WIDGET_GONK) && defined(MOZ_B2G_RIL)
service = do_CreateInstance(GONK_MOBILECONNECTION_SERVICE_CONTRACTID); service = do_GetService(GONK_MOBILECONNECTION_SERVICE_CONTRACTID);
#endif #endif
} }

View File

@ -1257,7 +1257,6 @@ static const mozilla::Module::CategoryEntry kLayoutCategories[] = {
#ifdef MOZ_B2G_BT #ifdef MOZ_B2G_BT
{ "profile-after-change", "Bluetooth Service", BLUETOOTHSERVICE_CONTRACTID }, { "profile-after-change", "Bluetooth Service", BLUETOOTHSERVICE_CONTRACTID },
#endif #endif
{ "profile-after-change", "MobileConnection Service", NS_MOBILE_CONNECTION_SERVICE_CONTRACTID },
{ nullptr } { nullptr }
}; };