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)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: kanru, Assigned: hsinyi)
References
Details
Attachments
(1 file, 1 obsolete file)
3.02 KB,
patch
|
philikon
:
review+
|
Details | Diff | Splinter Review |
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.
Comment 1•13 years ago
|
||
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
Assignee | ||
Comment 2•13 years ago
|
||
I have changed CALL_STATE_RINGING to CALL_STATE_ALERTING and related terms.
Comment 3•13 years ago
|
||
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 4•13 years ago
|
||
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-
Assignee | ||
Comment 5•13 years ago
|
||
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 6•13 years ago
|
||
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+
Assignee | ||
Updated•13 years ago
|
Keywords: checkin-needed
Comment 7•13 years ago
|
||
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
Comment 8•13 years ago
|
||
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.
Description
•