Closed
Bug 1184869
Opened 9 years ago
Closed 9 years ago
[Settings] Support new MozMobileMessage.getSmscAddress() function
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(b2g-master fixed)
RESOLVED
FIXED
2.1 S1 (1aug)
Tracking | Status | |
---|---|---|
b2g-master | --- | fixed |
People
(Reporter: freesamael, Assigned: freesamael)
References
Details
Attachments
(1 file)
The return type of MozMobileMessage.getSmscAddress() will be changed to Promise<SmscAddress> in Bug 1043250. Gaia should be able to support both Promise and legacy DOMRequest interfaces by adapting DOMRequest.then().
Comment 1•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → sawang
Assignee | ||
Comment 2•9 years ago
|
||
Comment on attachment 8635912 [details] [review]
[gaia] freesamael:bz/1184869-on-2f36e9c > mozilla-b2g:master
Hi Evelyn,
The original interface of MozMobileMessage.getSmscAddress() resolves to a string consisting of whatever the underlying modem returns.
Gaia assumes the return value to be in text mode, but some devices report SMSC in PDU mode and cause the displayed SMSC address in Settings becomes unreadable on those devices.
To resolve this problem, in Bug 1043250 we're change the interface from
> DOMRequest getSmscAddress(optional unsigned long serviceId);
to
> Promise<SmscAddress> getSmscAddress(optional unsigned long serviceId);
The Gaia part has to be updated as well in order to support both implementations. Could you help to review the patch I made in Gaia for this purpose, or give me some feedbacks on it?
Attachment #8635912 -
Flags: review?(ehung)
Comment 3•9 years ago
|
||
Comment on attachment 8635912 [details] [review]
[gaia] freesamael:bz/1184869-on-2f36e9c > mozilla-b2g:master
r+ with nit addressed. Thanks.
Attachment #8635912 -
Flags: review?(ehung) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 4•9 years ago
|
||
Status: NEW → RESOLVED
Closed: 9 years ago
status-b2g-master:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 2.1 S1 (1aug)
You need to log in
before you can comment on or make changes to this bug.
Description
•