Closed Bug 737793 Opened 13 years ago Closed 13 years ago

Final call state on receiver's phone is 'disconnecting', not 'disconnected'

Categories

(Core :: DOM: Core & HTML, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: hsinyi, Assigned: hsinyi)

Details

Attachments

(2 files, 1 obsolete file)

If you start two emulators and have one call the other, then have the receiver answer the call and then hang up, the call on the caller's phone correctly proceeds to the 'disconnected' state, but the receiver's call only proceeds to 'disconnecting' and never reaches 'disconnected'. This is reflected in the UI by the dialer app never returning to the main screen (the red 'hang up' button is forever displayed).
After Receiver hangs up the call, receiver gets a response of REQUEST_HANGUP. Then, receiver should get an unsolicited response to update the call state from rild. But that didn't happen in this bug. This patch |getCurrentCalls()| to update the call state actively after REQUEST_HANGUP. Then, the final call state on Receiver's phone can reach "disconnected."
Attachment #607901 - Flags: review?(bent.mozilla)
Attached file logcat of the patch (deleted) —
Attached patch [Updated] Patch_Bug 737793 (deleted) — Splinter Review
Unnecessary debug messages have been removed in this update version. Thanks!
Attachment #607901 - Attachment is obsolete: true
Attachment #607901 - Flags: review?(bent.mozilla)
Attachment #607906 - Flags: review?(bent.mozilla)
Attachment #607906 - Flags: review?(bent.mozilla) → review+
Keywords: checkin-needed
CCing Chris Jones for my "Commit Access (Level 1)". Thanks!
Please file a separate bug for getting level 1 commit access.
Flags: in-testsuite-
Keywords: checkin-needed
Target Milestone: --- → mozilla14
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: