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

Commit

Permalink
Merge pull request #10380 from alivedise/bugzilla/882053_v1-train/con…
Browse files Browse the repository at this point in the history
…tent-channel-should-trigger-vibration-mode

Bug 882053 - Content channel triggers silent mode incorrectly. r=timdream, a=leo+
  • Loading branch information
alivedise committed Jun 17, 2013
2 parents f2d6ed5 + 7ee010a commit 649321f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/system/js/sound_manager.js
Expand Up @@ -303,7 +303,7 @@
} else if (channel === 'notification' && volume > 0) {
leaveSilentMode('notification',
/* skip volume restore */ true);
} else if (channel === 'content' && volume == 0) {
} else if (channel === 'notification' && volume == 0) {
// Enter silent mode when notification volume is 0
// no matter who sets this value.
enterSilentMode('notification');
Expand Down

0 comments on commit 649321f

Please sign in to comment.