Closed
Bug 840102
Opened 12 years ago
Closed 12 years ago
Expose _isEmergencyNumber() to the content
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: etienne, Unassigned)
References
Details
(Whiteboard: [cr 439795])
+++ This bug was initially created as a clone of Bug #829581 +++
See https://mxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js#2767
As discussed on bug 829581, we apparently need to check on the Gaia side if a number is an emergency number in order to disable the airplane mode.
| Reporter | ||
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Why do we need to expose that to the content? Can't we simply have the RIL disable airplane mode if an emergency number is called?
| Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Mounir Lamouri (:mounir) from comment #1)
> Why do we need to expose that to the content? Can't we simply have the RIL
> disable airplane mode if an emergency number is called?
Fine by me, should the Dialer try to dialEmergency every number while in Airplane mode then?
Note that we will probably inspect the call.state to see if we should display the "hey, you're in airplane mode" dialog or show the call screen, thus checking if it was an emergency number on the gaia side.
Flags: needinfo?
Comment 3•12 years ago
|
||
What's the decision there? Does this need platform support or not?
Flags: needinfo?
Comment 4•12 years ago
|
||
(In reply to Etienne Segonzac (:etienne) from comment #2)
> (In reply to Mounir Lamouri (:mounir) from comment #1)
> > Why do we need to expose that to the content? Can't we simply have the RIL
> > disable airplane mode if an emergency number is called?
>
> Fine by me, should the Dialer try to dialEmergency every number while in
> Airplane mode then?
Yes.
> Note that we will probably inspect the call.state to see if we should
> display the "hey, you're in airplane mode" dialog or show the call screen,
> thus checking if it was an emergency number on the gaia side.
Not sure I understand what you meant.
| Reporter | ||
Comment 5•12 years ago
|
||
Closing since we're going to do things differently.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•