Closed Bug 814918 Opened 13 years ago Closed 13 years ago

FM is not turning off when enabling on airplane mode

Categories

(Firefox OS Graveyard :: Gaia::System, defect, P1)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C3 (12dec-1jan)
blocking-basecamp +

People

(Reporter: m1, Assigned: rexboy)

References

Details

(Whiteboard: [target:12/21])

Attachments

(1 file)

Test Steps: 1. Play FM. 2. Turn on airplane mode. 3. FM continues in airplane mode. Reproducibility: 100% reproducible. In android and Windows phones, FM will stop when we turn on airplane mode. If we need the FM in airplane mode we need to go and explicitly enable FM again.
Assignee: nobody → timdream+bugs
blocking-basecamp: ? → +
Component: Gaia::FMRadio → Gaia::System
Priority: -- → P1
I'm working on this.
Assignee: timdream+bugs → rexboy
I'm almost finished but the system usually freezes while turning on/off radio. The symptom seems like bug 812298. Just note it here for reference. I'll still try to work out and see if I can pass tests. Although it is possible to turn off FM inside system app, if we need to restore playing FM after disabling airplane mode, writing codes inside FM apps may be a better choice. (For situations like FM apps has already been unloaded, etc.)
My device continues hanging. I've confirmed with Steven that bug 812298 represents the same problem encountered here.
Depends on: 812298
Mass Modify: All un-milestoned, unresolved blocking-basecamp+ bugs are being moved into the C3 milestone. Note that the target milestone does not mean that these bugs can't be resolved prior to 12/10, rather C2 bugs should be prioritized ahead of C3 bugs.
Target Milestone: --- → B2G C3 (12dec-1jan)
QA Contact: jshih
Whiteboard: [target:12/21]
Does bug 812298 fix this entirely? Or is there additional work that needs to be done? That bug is waiting on the next kernel update.
Dietrich: Additional works needed, but the work in progress is almost done. I think I can land it in 1 or 2 days after bug 812298 fixed.
Attached file Patch —
Kernel update 4 released not long ago, and the problem of system freezing up is solved. I confirmed that the patch works on the new kernel. Tim, may you review my patch?
Attachment #692821 - Flags: review?(timdream+bugs)
Comment on attachment 692821 [details] Patch r=me with nit addressed. You should have this reviewed (but not landed) first, instead of waiting for the kernel update. Next time :)
Attachment #692821 - Flags: review?(timdream+bugs) → review+
Comment on attachment 692821 [details] Patch Thanks for notifying and reviewing! Next time I'll make it reviewed first. Changes above are updated and landed. Closing this bug.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
verified on 2012-12-20-unagi build info: 2012-12-18 unagi release build gecko revision: "1527cf5192e32a1864dd47e38bfa8de7adf735ab" gaia revision: "2b77f0a3fcc862c6925138d08fe44576da56bc7"
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: