Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1157140 - Add MozChromeEvent and MozContentEvent to control the audio channels in System app r=alive, dkuo #29855

Merged
merged 1 commit into from May 19, 2015

Conversation

evanxd
Copy link
Contributor

@evanxd evanxd commented May 4, 2015

No description provided.

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

}
break;

case 'system-audiochannel-mute-onsuccess':
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add system-audiochannel-mute to instead of system-audiochannel-play and system-audiochannel-play for baku's comments in https://bugzilla.mozilla.org/show_bug.cgi?id=1157140#c24.

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

if (this._isBelongedToSystemApp) {
window.addEventListener('mozChromeEvent', this);
} else {
app.element.addEventListener('_destroyed', this);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of the scope, but I do remember that I had commented on this for not using the destroyed event.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let's fix it in a new bug.

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

@lightsofapollo
Copy link
Contributor

evanxd added a commit that referenced this pull request May 19, 2015
Bug 1157140 - Add MozChromeEvent and MozContentEvent to control the audio channels in System app r=alive, dkuo
@evanxd evanxd merged commit 117e5c4 into mozilla-b2g:master May 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants