Bug 924787 - [AudioManager] The checking condition should be "leave here if settings name is not for bt_sco". r=mwu

This commit is contained in:
Marco Chen 2013-10-14 18:27:13 +08:00
parent 67729189b8
commit 0a06499410

View File

@ -315,7 +315,7 @@ AudioManager::Observe(nsISupports* aSubject,
return NS_OK;
}
nsDependentJSString keyStr;
if (!keyStr.init(cx, jsKey) || keyStr.EqualsLiteral("audio.volume.bt_sco")) {
if (!keyStr.init(cx, jsKey) || !keyStr.EqualsLiteral("audio.volume.bt_sco")) {
return NS_OK;
}