mozilla-b2g/gaia — pull request #6816 by ian-liu (2012-12-05 07:53:33+00:00)
Title: Bug 814632 - [Clock] Put a silent alarm screen underneath the oncall screen if the alarm goes off during a phone call r=timdream

Check onRing page is visible or not during init() state.
If it's hidden, don't the active alarm with ring/vibration.

Note: In this case, system::attention_screen have set the alarm screen visibility to false since there is an oncall screen showing. It will let alarm screen underneath the oncall screen.