Closed
Bug 1031239
Opened 11 years ago
Closed 11 years ago
Automatically select sim card for emergency call
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S5 (4july)
People
(Reporter: aknow, Assigned: aknow)
References
Details
Attachments
(2 files, 3 obsolete files)
|
3.90 KB,
patch
|
aknow
:
review+
|
Details | Diff | Splinter Review |
|
3.27 KB,
patch
|
aknow
:
review+
|
Details | Diff | Splinter Review |
No description provided.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8447080 -
Flags: review?(htsai)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8447081 -
Flags: review?(htsai)
Comment 3•11 years ago
|
||
Comment on attachment 8447080 [details] [diff] [review]
Part 1: Refactoring
Review of attachment 8447080 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/telephony/gonk/TelephonyService.js
@@ +417,5 @@
> aTelephonyCallback.notifyDialError(DIAL_ERROR_OTHER_CONNECTION_IN_USE);
> return;
> }
>
> + // We can only have at most two line on the same client.
nit: s/line/lines/
Attachment #8447080 -
Flags: review?(htsai) → review+
Updated•11 years ago
|
Blocks: b2g-ril-interface
Comment 4•11 years ago
|
||
Comment on attachment 8447081 [details] [diff] [review]
Part 2: select clientId for emergency call
Review of attachment 8447081 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/telephony/gonk/TelephonyService.js
@@ +370,5 @@
> }
> aListener.enumerateCallStateComplete();
> },
>
> + // Automatically select a proper clinetId.
nit: s/clinetId/clientId
@@ +372,5 @@
> },
>
> + // Automatically select a proper clinetId.
> + // return -1 means none of the clients are available.
> + _getClientForEmergencyCall: function() {
Expose to nsIRadioInterfaceLayer.idl as we discussed, thank you.
@@ +423,5 @@
> aTelephonyCallback.notifyDialError(DIAL_ERROR_INVALID_STATE_ERROR);
> return;
> }
>
> + // Select a proper cliendId for dialEmergency.
nit:s/cliendId/clientId/
Attachment #8447081 -
Flags: review?(htsai)
| Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8447081 -
Attachment is obsolete: true
Attachment #8447910 -
Flags: review?(htsai)
Comment 6•11 years ago
|
||
Comment on attachment 8447910 [details] [diff] [review]
Part 2#2: select clientId for emergency call
Review of attachment 8447910 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good! Thank you~
Attachment #8447910 -
Flags: review?(htsai) → review+
| Assignee | ||
Comment 7•11 years ago
|
||
Attachment #8447080 -
Attachment is obsolete: true
Attachment #8449320 -
Flags: review+
| Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8447910 -
Attachment is obsolete: true
Attachment #8449321 -
Flags: review+
| Assignee | ||
Comment 9•11 years ago
|
||
Keywords: checkin-needed
Comment 10•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/1436162e1394
https://hg.mozilla.org/integration/b2g-inbound/rev/b3fc7fedfb65
In the future, please try to be more conscientious about what platforms and tests you run on your Try pushes (i.e. not running desktop/Android builds & tests on a B2G-only change). It saves a lot of resources and reduces the backlog felt by all developers when using Try. The link below gives some recommended practices if you need more assistance.
https://wiki.mozilla.org/Sheriffing/How:To:Recommended_Try_Practices
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/1436162e1394
https://hg.mozilla.org/mozilla-central/rev/b3fc7fedfb65
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S5 (4july)
You need to log in
before you can comment on or make changes to this bug.
Description
•