Closed Bug 766273 Opened 12 years ago Closed 12 years ago

B2G telephony on Otoro: Can't hang up dialing call

Categories

(Core :: DOM: Device Interfaces, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16
blocking-kilimanjaro +
blocking-basecamp +

People

(Reporter: philikon, Assigned: hsinyi)

References

Details

(Whiteboard: [qa+])

Attachments

(1 file)

STR:

1. Dial a number.
2. Hang up while it's still ringing (don't wait for the other side to pick up.)
3. Dialed phone keeps ringing.

Seems like the Otoro RIL isn't too happy about using REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND for dialing calls:

I/Gecko   (  115): RIL Worker: Solicited response for request type 14, token 87, error 2
I/Gecko   (  115): RIL Worker: Handling parcel as REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND
blocking-basecamp: ? → +
blocking-kilimanjaro: ? → +
Hsinyi, would you mind taking a look at this?
Assignee: nobody → htsai
(In reply to Philipp von Weitershausen [:philikon] from comment #1)
> Hsinyi, would you mind taking a look at this?
Sure! Just got a new phone and will take care of this.
Attached patch patchSplinter Review
Philipp, you're right. Too bad that Otoro doesn't like REQUEST_HANGUP_FOREGROUND_RESUME_BACKGROUND. The patch fixes this.
Attachment #634836 - Flags: review?(philipp)
Comment on attachment 634836 [details] [diff] [review]
patch

Looks good. Thanks!

Unrelated to this Otoro-specific issue: It occurred to me that we don't have tests for some of these scenarios, e.g. hanging up a dialing call. Would you mind writing some? (Can do it in a follow-up.)
Attachment #634836 - Flags: review?(philipp) → review+
(In reply to Philipp von Weitershausen [:philikon] from comment #4)
> Comment on attachment 634836 [details] [diff] [review]
> patch
> 
> Looks good. Thanks!
> 
> Unrelated to this Otoro-specific issue: It occurred to me that we don't have
> tests for some of these scenarios, e.g. hanging up a dialing call. Would you
> mind writing some? (Can do it in a follow-up.)
I filed bug 766822 for these test cases. Let's move there for related discussion.
https://hg.mozilla.org/mozilla-central/rev/96eb15859e36
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
John - Can you verify this fix when an otoro build is available?
Whiteboard: [qa+]
A new bug has been reported after applying this patch in Otoro
https://bugzilla.mozilla.org/show_bug.cgi?id=768878
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: