Closed Bug 833232 Opened 13 years ago Closed 13 years ago

[OPEN_] User should be able to make emergency calls in the dialer app, with passcode disabled (617001976498)

Categories

(Firefox OS Graveyard :: Gaia::Dialer, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:tef+, b2g18 fixed, b2g18-v1.0.0 fixed)

VERIFIED FIXED
blocking-b2g tef+
Tracking Status
b2g18 --- fixed
b2g18-v1.0.0 --- fixed

People

(Reporter: Firefox_Mozilla, Assigned: arthurcc)

References

Details

Attachments

(1 file)

Steps to reproduce: 1, turn on the SIM card's PIN code; 2, restart the phone, 3.Observe the interface of the PIN code; Expected results: the interface displays the correct SOS call button; Actual results: The interface of entering your PIN has no SOS callbutton.
OS: Windows XP → Gonk (Firefox OS)
Hardware: x86 → ARM
We'll need a fix of PIN code keyboard if we want it to be fixed.
Flags: needinfo?(jcarpenter)
this should be blocker. There is no way for the user to dial emergency call when the device is SIM PIN locked and is presented with the SIM PIN unlock UI (this is different from the lockscreen passcode lock where you can still make an emergency call)
blocking-b2g: --- → tef?
Joe, can you find an assignee?
blocking-b2g: tef? → tef+
Group: partner-confidential → mozilla-corporation-confidential
(In reply to Al Tsai [:atsai] from comment #1) > We'll need a fix of PIN code keyboard if we want it to be fixed. Customized keyboard. Proposed change should be to extract the keyboard UI from lockscreen to shared folder. (Or copy paste...)
(In reply to Alive Kuo [:alive] from comment #5) > (In reply to Al Tsai [:atsai] from comment #1) > > We'll need a fix of PIN code keyboard if we want it to be fixed. > > Customized keyboard. Proposed change should be to extract the keyboard UI > from lockscreen to shared folder. > (Or copy paste...) +1, the lock screen UI seems to be a good reference but require UX input
Group: mozilla-corporation-confidential
Depends on: 796726
Wait, let's not get a head of ourselves ... SIM PIN panel is not the problem here since it is cancelable (by pressing "x" on the top left) -- user can always reach the dialer with that. The problem is that dialer doesn't switch to |dialEmergency()| in this network state. A fix without UI change should do it.
Checking with Etienne on comment above. Do you agree that is the right fix instead?
Flags: needinfo?(etienne)
Marking this affected for status-b2g18 and status-b2g18-v1.0.0 --- please update these flags when the PR is landed to v1-train and v1.0.0
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) from comment #8) > Checking with Etienne on comment above. Do you agree that is the right fix > instead? Yes! Especially since we *can* detect this network state ;) (So we're not having the emergency number detection issue here.)
Flags: needinfo?(etienne)
Update title while keeping partner tracking number/flags. Please implement comment 7 if you intend to take this bug. Keeping needinfo? josh as he would might want to verify this.
Summary: [OPEN_][UX]It does not have the "SOS" key in the interface of PIN input.(617001976498) → [OPEN_] User should be able to make emergency calls in the dialer app, with passcode disabled (617001976498)
Assignee: nobody → arthur.chen
Status: UNCONFIRMED → NEW
Component: Gaia::Settings → Gaia::Dialer
Ever confirmed: true
Attached patch Patch v1Splinter Review
Use mozTelephony.dialEmergency() when the sim card state is 'pinRequired' or 'pukRequired'. Users are able to make emergency calls while they may not realize they can do it without UI changes.
Attachment #708958 - Flags: review?(etienne)
Comment on attachment 708958 [details] [diff] [review] Patch v1 Review of attachment 708958 [details] [diff] [review]: ----------------------------------------------------------------- This will probably need rebasing since we removed |var conn = window.navigator.mozMobileConnection;| from the global TelephonyHelper scope for performance reason. r=me, with a |var conn = window.navigator.mozMobileConnection;| added inside the |startDial| function. Thanks!
Attachment #708958 - Flags: review?(etienne) → review+
Getting to this belatedly. I have not used SIM lock so I cannot comment reliably on the solution here, but the description sounds reasonable, and it sounds like it was achieved without changing the current UI?
Flags: needinfo?(jcarpenter)
Verified as fixed. User is able to make emergency calls in dialer app with passcode disabled. Unagi device, (nightly) build 20130215070202 Dec 5th Kernel Gecko http://hg.mozilla.org/releases/mozilla-b2g18_v1_0_1/rev/a9e4f8912607 Gaia 21ba59d933c66024cb351c2379315301d5352e0c
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: