Closed Bug 817888 Opened 12 years ago Closed 12 years ago

Call waiting should turn the screen back on

Categories

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

x86_64
Gonk (Firefox OS)
defect

Tracking

(blocking-basecamp:+)

VERIFIED FIXED
B2G C2 (20nov-10dec)
blocking-basecamp +

People

(Reporter: mschwart, Assigned: etienne)

References

Details

Attachments

(1 file)

Connect a MO/MT call, wait for screen to turn off, initiate a MT call (with CW enabled).  Expected: screen turns on; Observed: it does not.

In the logs, I can see that the update in call state is served to Gaia and if the screen is manually turned on, Gaia is displaying the CW call correctly.
Component: Gaia → Gaia::System
Group: qualcomm-confidential
Status: UNCONFIRMED → NEW
blocking-basecamp: --- → ?
Ever confirmed: true
OS: Windows 7 → Gonk (Firefox OS)
this seems like it's necessary for certification; mvines?
Yeah, this is definitely something that I don't think we could ship without a fix for.
blocking-basecamp: ? → +
Priority: -- → P1
Who owns this?
Assigned to Etienne and cc: Francisco in case he's a better match for it.
Assignee: nobody → etienne
Moving into C2 due to 802677 blocker.
Target Milestone: --- → B2G C2 (20nov-10dec)
This should be implemented in a way that when the second call incoming, the dialer should request another screen wake lock.

I think I can come up with a fix tomorrow Taipei time... will steal if I can verify my fix works before anyone else has work on it.
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #6)
> This should be implemented in a way that when the second call incoming, the
> dialer should request another screen wake lock.
> 
> I think I can come up with a fix tomorrow Taipei time... will steal if I can
> verify my fix works before anyone else has work on it.

Hey Tim, I have a fix almost ready, I'll ping you for review in a few.
Hope we're not conflicting.
Attached patch Patch proposalSplinter Review
Attachment #688811 - Flags: review?(timdream+bugs)
Comment on attachment 688811 [details] [diff] [review]
Patch proposal

r=me.

I am not sure screen_manager.js change is necessary (supposedly, when you get a screen lock, screen_manager.js:L82 should turn on the screen for you). That could be a bug. If that's the case, turning the screen on at L184 is ok.

Your fix is much more complete than what I had in mind!
Attachment #688811 - Flags: review?(timdream+bugs) → review+
https://github.com/mozilla-b2g/gaia/commit/e82cd0503ddce8c3845b1da57da723d15227b144
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #9)
> Comment on attachment 688811 [details] [diff] [review]
> Patch proposal
> 
> r=me.
> 
> I am not sure screen_manager.js change is necessary (supposedly, when you
> get a screen lock, screen_manager.js:L82 should turn on the screen for you).
> That could be a bug. If that's the case, turning the screen on at L184 is ok.

Opening a followup for this, since indeed the screen wasn't turned back on simply by requesting a lock.
Depends on: 818901
I should share the blame; I should have find out this during review :'(

I did check the |screenLock| variable and found one on L207, but now I see it's totally different scope.
And the effect was really sneaky: we got the multiple call but the UI was weird.
Spent some time in CSS before finding it :)
Verified fixed on Unagi build 20130103070201.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: