Closed
Bug 883048
Opened 12 years ago
Closed 12 years ago
[MMI] Send a ussd code while in airplane mode is allowed and doesn´t show any notification
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
People
(Reporter: carlosmartinez, Assigned: ferjm)
References
Details
(Whiteboard: leorun3,mozilla-triage)
Attachments
(1 file, 1 obsolete file)
|
5.46 KB,
patch
|
vicamo
:
review+
|
Details | Diff | Splinter Review |
Tested in Leo device with:
ril01.01.00.019.117
Gecko: b518de015ff9d28c7a59a9f1e799fc0ec688024e
Gaia: ea18de80fd04110756becaed214656642388401d
STR:
1-Enable airplane mode
2-Dial *321#
Expected result --> Some kind of notification to the user should be shown, indicating calls cannot be stablished with airplane mode on
Actual result --> USSD is sent and then generic failure is shown
| Reporter | ||
Updated•12 years ago
|
blocking-b2g: --- → leo?
Updated•12 years ago
|
Whiteboard: leorun3 → leorun3,mozilla-triage
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ferjmoreno
| Assignee | ||
Updated•12 years ago
|
Component: Gaia::Dialer → DOM: Device Interfaces
Product: Boot2Gecko → Core
| Assignee | ||
Updated•12 years ago
|
Blocks: MMI
Summary: [DIALER] Send a ussd code while in airplane mode is allowed and doesn´t show any notification → [MMI] Send a ussd code while in airplane mode is allowed and doesn´t show any notification
Comment 1•12 years ago
|
||
Can we display the same error as if we're trying to make a phone call in airplane mode?
Some phones use the same prompt for both USSD and phone call cases in airplane mode.
Flags: needinfo?(ferjmoreno)
| Assignee | ||
Comment 2•12 years ago
|
||
Sure, we can do that. I'd like to fire this error from the platform though, so I'll need bug 883178 before.
Depends on: 883178
Flags: needinfo?(ferjmoreno)
Comment 3•12 years ago
|
||
Hi Fernando, can we move on this bug now that bug 883178 is done ;)
Flags: needinfo?(ferjmoreno)
| Assignee | ||
Comment 4•12 years ago
|
||
Yes. However, I'd like to say in advance that there are MMI codes that are supposed to be allowed even in airplane mode (i.e. get IMEI, or any device specific MMI code). We don't know in advance if the MMI request involves a network connection, so we need to send it to the RIL and show the result in the MMI screen. All that we can do is to substitute the "Generic Failure" message error for a "Radio not available" one.
Flags: needinfo?(ferjmoreno)
| Assignee | ||
Comment 5•12 years ago
|
||
Untested patch
Comment 6•12 years ago
|
||
Hi Fernando,
That sounds fair. I think we should replce it when RIl throws an error while airplane mode is enabled. In case where airplane mode is disabled, keep whatever prompt we currently have. Does that sound right?
When can we expect a patch ready? Thanks!
| Assignee | ||
Comment 7•12 years ago
|
||
Attachment #771620 -
Attachment is obsolete: true
Attachment #772047 -
Flags: review?(vyang)
Comment 8•12 years ago
|
||
Comment on attachment 772047 [details] [diff] [review]
v1
Review of attachment 772047 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/system/gonk/ril_worker.js
@@ +2233,5 @@
> + // If we couldn't parse the MMI code, we'll send it as an USSD request.
> + if (mmi === null) {
> + if (!_isRadioAvailable(MMI_KS_SC_USSD)) {
> + return;
> + }
Should move this if-block into |if (this._ussdSession)|.
Attachment #772047 -
Flags: review?(vyang) → review+
| Assignee | ||
Comment 10•12 years ago
|
||
http://hg.mozilla.org/projects/birch/rev/972a7b140ddd
No, there is no need for a Gaia patch.
Comment 11•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
Comment 12•12 years ago
|
||
status-b2g18:
--- → fixed
status-b2g18-v1.0.0:
--- → wontfix
status-b2g18-v1.0.1:
--- → wontfix
status-b2g-v1.1hd:
--- → affected
status-firefox23:
--- → wontfix
status-firefox24:
--- → wontfix
status-firefox25:
--- → fixed
Comment 13•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•