Closed Bug 985945 Opened 11 years ago Closed 7 years ago

[B2G] WebAPI for DSDS or DSDA capability

Categories

(Firefox OS Graveyard :: RIL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: hsinyi, Unassigned)

References

Details

(Whiteboard: [grooming])

mozMobileConnections.length could be used for determination whether the device supports multisim or not. However it's lack of the capability of telling if the device supports DSDS or DSDA. It seems fine now because FxOS supports only DSDS at the moment so gaia could have an assumption. But if we think further and consider the gaia code extensibility, it would be great that there's an API providing the information. We could expose the information to a central API, or might need to expose the capability information to individual APIs, e.g. mozMobileMessage and mozTelephony. Filing this bug for tracking and discussion.
Yup we'll need that information when we do DSDA
I'm quite sure we can also do better APIs that would just work whether we're in DSDS or DSDA (although knowing this information would still be nice). For example: retrieving a MMS from the non-default SIM would trigger onerror for DSDS but onsuccess for DSDA, so there is no need for another API here. I bet we'll need an API for Visual things though :)
(In reply to Julien Wajsberg [:julienw] (away until March 24) from comment #2) > I'm quite sure we can also do better APIs that would just work whether we're > in DSDS or DSDA (although knowing this information would still be nice). > > For example: retrieving a MMS from the non-default SIM would trigger onerror > for DSDS but onsuccess for DSDA, so there is no need for another API here. > Indeed, current API should have responded correctly even without this. This bug is filed if gaia needs to know the capability in advance. > I bet we'll need an API for Visual things though :) Yup, agree that this kinda API definitely benefits Visual things.
Put this bug into backlog.
blocking-b2g: --- → backlog
Blocks: 999310
Blocks: 1024776
No longer blocks: 1024776
Whiteboard: [grooming]
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.