Closed Bug 845678 Opened 11 years ago Closed 11 years ago

[Dialer] During calling, when receiving missed call, do not show missed call notification

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(blocking-b2g:leo+, b2g18 fixed, b2g18-v1.0.1 wontfix)

RESOLVED FIXED
blocking-b2g leo+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.1 --- wontfix

People

(Reporter: leo.bugzilla.gaia, Assigned: arthurcc)

References

()

Details

Attachments

(1 file)

1. Title : During calling, when receiving missed call, do not show missed call notification
2. Precondition : During calling
3. Tester's Action : 
4. Detailed Symptom (ENG.) : When receiving missed incoming call, do not show missed call notifications
6. Expected : Represent missed notification during calling or after calling
7. Reproducibility: Y
1) Frequency Rate : 100%
8. Gaia revision : 6916e18d1f72936e892543cf4a104a7d457f78ad
blocking-b2g: --- → leo?
Hello, can you provide more clarification?

* Is a call ongoing in step #1?

* Can you provide a screenshot?
Flags: needinfo?(leo.bugzilla.gaia)
Hi ,
1st step : Yes, there is an ongoing call .
2nd       : Get an incoming call from another number and don't receive it i.e a    missed call from another number when u are already in a call .
3rd       : End the existing ongoing call
Output    :  There is no missed call notification when u are in ongoing call or even after the existing call is ended  
Expected  :  There should be a missed call notification during call or even after the call is ended 
( Android shows missed call notification while in ongoing call itself )
Flags: needinfo?(leo.bugzilla.gaia)
Lack of missed call notification is data loss per product feedback.
blocking-b2g: leo? → leo+
Assignee: nobody → arthur.chen
Etienne, I simply handle missed calls during call waiting as the way of handling them in a normal call. Please help review the change, thanks.
Attachment #727131 - Flags: review?(etienne)
Comment on attachment 727131 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/8728

We should probably modify the |addCall| function do to this and avoid the code duplication.

Something like
```
if (call.state === 'incoming') {
  // do what we do for all incoming calls (notification support...)


  // then we only branch for the different UIs
  if (handledCalls.length === 1) {
    handleFirstIncomingCall(call);
  } else {
    handleCallWaiting(call);
  }
}
```

Makes sense?
Attachment #727131 - Flags: review?(etienne)
Comment on attachment 727131 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/8728

Etienne, I've updated the changes with your comment addressed. The new implementation avoid dup codes, however, the original one might be more readable in which it handles missed calls in 'handleXXX' functions IMHO. What do you think?
Attachment #727131 - Flags: review?(etienne)
Comment on attachment 727131 [details]
Link to https://github.com/mozilla-b2g/gaia/pull/8728

The code looks fine, just 2 nits on github.

With the comment nit addressed and once rebased the code is pretty clear :)
Attachment #727131 - Flags: review?(etienne) → review+
Thanks Etienne!

master: https://github.com/mozilla-b2g/gaia/commit/28da780a346f0987761ce12860a62b9464cba269
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Uplifted commit 28da780a346f0987761ce12860a62b9464cba269 as:
v1-train: 6522197089e14556429884074b34b60e4c78cf62
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: