Closed
Bug 812692
Opened 12 years ago
Closed 10 years ago
[Clock] When the alarm rings, pressing the volume rocker should dismiss the alarm
Categories
(Firefox OS Graveyard :: Gaia::Clock, defect)
Tracking
(blocking-basecamp:-)
RESOLVED
DUPLICATE
of bug 996092
blocking-basecamp | - |
People
(Reporter: sicking, Assigned: mcav)
References
Details
(Keywords: feature, Whiteboard: interaction, UX-P3 [p=3])
+++ This bug was initially created as a clone of Bug #810780 +++ From bug 810780 comment 7: Alarms: - When the alarm rings, pressing the volume rocker should dismiss the alarm. This likely needs to be fixed in the alarm app somehow since the system app has no way of communicating to the alarm app that it should be silenced. However the alarm app has no access to the events fired for the volume buttons currently.
Updated•12 years ago
|
Summary: [Sound Manager] Hardware Volume Keys should react to phone's current state → [Sound Manager][Alarm] Need alarm API support to dismiss the alarm from system app
Comment 1•12 years ago
|
||
Hi Alive, I don't quite understand why we need Alarm API's supports here. The Alarm API is only in charge of setting alarm time, firing it on time and notifying apps through system message, which should have nothing to do with the ringing alarm dismissing. Isn't that completely a Gaia-end issue? I could be wrong. Please feel free to correct me. Thanks!
Comment 2•12 years ago
|
||
As Jonas said, we don't have a proper way to dismiss alarm from system app. System app doesn't know who is alarm app to dismiss or close when alarm sounds.
Updated•12 years ago
|
blocking-basecamp: ? → -
Comment 3•12 years ago
|
||
I think that's fine. The raison d'etre behind this bug ("When the alarm rings, pressing the volume rocker should dismiss the alarm.") is not must-have for v1.
Updated•12 years ago
|
Component: Gaia → Gaia::Clock
Comment 4•12 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #2) > As Jonas said, we don't have a proper way to dismiss alarm from system app. > System app doesn't know who is alarm app to dismiss or close when alarm > sounds. All right, but I think it's a bit beyond the scope of what the Alarm API was designed for so I think we don't really have a good title here.
Updated•12 years ago
|
Component: Gaia::Clock → Gaia::System
Reporter | ||
Comment 5•12 years ago
|
||
Indeed, the Alarm API isn't involved here. Once the alarm app is making sound the Alarm API is out of the picture and all we have is normal usage of ab <audio> element.
Comment 6•12 years ago
|
||
Let's change the title back. ;)
Summary: [Sound Manager][Alarm] Need alarm API support to dismiss the alarm from system app → [Sound Manager][Alarm] Hardware Volume Keys should react to phone's current state
Comment 7•12 years ago
|
||
(In reply to Gene Lian [:gene] from comment #6) > Let's change the title back. ;) Gene, that title was coming from the original cloned bug.
Component: Gaia::System → Gaia::Clock
QA Contact: jshih
Summary: [Sound Manager][Alarm] Hardware Volume Keys should react to phone's current state → [Clock] When the alarm rings, pressing the volume rocker should dismiss the alarm
Updated•12 years ago
|
Priority: P1 → --
Whiteboard: interaction, UX-P3
Comment 8•12 years ago
|
||
I think this bug is already fixed. The volume manager receives the audio-channel-changed event, and the right audio channel volume is correctly changed.
Comment 9•12 years ago
|
||
(In reply to Andrea Marchesini (:baku) from comment #8) > I think this bug is already fixed. The volume manager receives the > audio-channel-changed event, and the right audio channel volume is correctly > changed. Nope. The mozChromeEvent is fired to system app, which doesn't know how to close the alarm. This should remain opened until we have a better solution on delegating hardware button events.
Updated•12 years ago
|
QA Contact: jshih → fyen
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → m
Status: NEW → ASSIGNED
Target Milestone: --- → 1.4 S2 (28feb)
Assignee | ||
Updated•11 years ago
|
Whiteboard: interaction, UX-P3 → interaction, UX-P3 [p=3]
Assignee | ||
Updated•11 years ago
|
Target Milestone: 1.4 S2 (28feb) → ---
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 11•10 years ago
|
||
This is addressed in bug 996092. Pressing the volume rocker dismisses the alarm. We're still waiting on direct hardware button access, so we had to work around the platform a bit by hackishly listening to audio volume change events, but for now it works well.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•