Closed Bug 735165 Opened 13 years ago Closed 13 years ago

B2G RIL: Change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING for consistency

Categories

(Core :: DOM: Device Interfaces, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: kanru, Assigned: hsinyi)

References

Details

Attachments

(1 file, 1 obsolete file)

CALL_STATE_RINGING is confusing. It looks like the caller side is ringing but actually it is notifying the carrier (the callee side) a new call. Changing it to CALL_STATE_ALERTING not only matches it with rild state but also provides consistence with RIL terminology.
Assignee: nobody → htsai
Good point, make it so!
Summary: Change CALL_STATE_RINGING in nsIRadioInterfaceLayer.idl to CALL_STATE_ALERTING to match underlying rild state → B2G RIL: Change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING for consistency
I have changed CALL_STATE_RINGING to CALL_STATE_ALERTING and related terms.
Comment on attachment 605665 [details] [diff] [review] change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING Please request review when you upload a patch. Thanks!
Attachment #605665 - Flags: review?(philipp)
Comment on attachment 605665 [details] [diff] [review] change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING Wait, I thought this was only about nsIRadioInterfaceLayer. Now you're also changing the WebTelephony API. We should discuss the latter change on dev-webapi first since it has implications for the users of the API (Gaia being just one of them). Please start a thread there. Thanks! Apart from that, you need to update an interface's UUID each time you change it, so r- for that.
Attachment #605665 - Flags: review?(philipp) → review-
Thanks for the comment. In this patch, I only made changes about nsIRadioInterfaceLayer, instead of WebTelephony API. Also updated the UUID of the modified interface. I started a new thread about changing WebTelephony API on dev-webapi. Let's wait for other's comments there.
Attachment #605665 - Attachment is obsolete: true
Attachment #605715 - Flags: review?(philipp)
Comment on attachment 605715 [details] [diff] [review] change nsIRadioInterfaceLayer::CALL_STATE_RINGING to CALL_STATE_ALERTING Looks good! r=me
Attachment #605715 - Flags: review?(philipp) → review+
Keywords: checkin-needed
Due to the very likely merge conflict from bug 735017, I'm going to handle the check in for this patch, so I'm removing the checkin-needed flag.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: