Closed
Bug 1086216
Opened 11 years ago
Closed 11 years ago
[Usage][Airplane Mode] Launching Usage app with Airplane mode after restart shows "no sim" message instead "simcard not ready"
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(b2g-v2.1 wontfix, b2g-v2.2 affected)
RESOLVED
FIXED
People
(Reporter: mai, Assigned: mai)
References
Details
(Keywords: regression, Whiteboard: [2.1-Daily-Testing])
Attachments
(2 files)
+++ This bug was initially created as a clone of Bug #1083541 +++
Description:
If the user has a SIM Pin enabled, and boots the phone with Airplane Mode enabled, the Usage app will display an odd looking loading screen when launched, which the app will not be able to progress past.
Note, if the Usage app is launched just with Airplane mode enabled, it will launch normally. If it is launched with just SIM PIN enabled, it will display an appropriate error message.
Repro Steps:
1) Update a Flame device to BuildID: 20141015001201
2) Perform the initial set up for the Usage app
3) Enable Sim Pin
4) Enable Airplane Mode
5) Restart the device
6) Launch the Usage app
Actual:
Usage app displays endless loading screen
Expected:
Usage app displays an error message for the user.
Environmental Variables:
Device: Flame 2.1 (319MB)
BuildID: 20141015001201 (Full Flash)
Gaia: 379ea4c9dd6d3f8ca2f79ce59c15f6afe6e557c3
Gecko: 4853208cb48a
Gonk: 52c909e821d107d414f851e267dedcd7aae2cebf
Version: 34.0 (2.1)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.
Repro frequency: 5/5
See attached: screenshot, logcat
---------------
This issue DOES occur on Flame 2.2
Usage app displays an endless loading screen when launched with Airplane mode and Sim Pin enabled.
Environmental Variables:
Device: Flame 2.2 Master
BuildID: 20141015040201
Gaia: 5f1f0960ae9d22acf2a324ad37a48174d6df87f6
Gecko: 62f0b771583c
Gonk: 52c909e821d107d414f851e267dedcd7aae2cebf
Version: 36.0a1 (2.2 Master)
Firmware: V180
User Agent: Mozilla/5.0 (Mobile; rv:36.0) Gecko/36.0 Firefox/36.0
| Assignee | ||
Comment 1•11 years ago
|
||
Currently,
When flame boots up with airplane mode enabled, gecko only knows there is a sim card inserted, but don't know more detailed information, e.g. is it a GSM card? is it locked? (because the radio is off)
So in such case, gecko reports card state as 'unknown' given that we don't have enough information about the sim card.
We should add an error message for this scenario (assuming the bug cannot be fixed), the message should be specific and understandable to the user.
NI to UX
Flags: needinfo?(jhuang)
Comment 2•11 years ago
|
||
Hi,
Is the error screen only happens when restart the device with airplane mode? Or it also happens in other uncertain cases?
If geko knows the device is in airplane mode and it only happens in the case you describe, we can drop the exist string:
"Please turn off airplane mode to enable Usage."
But if this error also happens in other unknown cases no matter in airplane mode or not, we may need new string to cover all possible error cases.
Flags: needinfo?(jhuang)
| Assignee | ||
Comment 3•11 years ago
|
||
Hi,
I don't know if there are another way to reproduce this scenario.
Hsinyi, could you help us with this? Do you know if it exists another way to reproduce the scenario where the simcard returns the 'unknown' state?
Saludos
Flags: needinfo?(htsai)
Comment 4•11 years ago
|
||
(In reply to Marina Rodríguez [:mai] from comment #3)
> Hi,
> I don't know if there are another way to reproduce this scenario.
>
> Hsinyi, could you help us with this? Do you know if it exists another way to
> reproduce the scenario where the simcard returns the 'unknown' state?
>
> Saludos
A possible scenario is if my device is GSM mode and I insert CDMA SIM card, or vice versa.
Flags: needinfo?(htsai)
Comment 6•11 years ago
|
||
I think Hsin-Yi's case is more like a general issue across the whole device, not specific to usage app. If users insert a CDMA SIM card into a GSM device, it just not work in any cases including data connection.
So I think this error case should be handled by a higher level instead of app specific level.
Yet if it cannot be resolved right now, the string can be:
"Unknown Error !
Please make sure your airplane mode is off. "
Need info Matej for adive.
Hi Matej,
In this case we need to provide a string that includes both "Please turn on airplane mode to use usage app" & "Unknown error so we cannot open Usage app"
It would be great if you can provide some advices.
Thank you!
Flags: needinfo?(jhuang) → needinfo?(Mnovak)
Comment 7•11 years ago
|
||
It seems odd to tell a user that the error is "unknown," but then give them a suggestion. It implies that turning off airplane mode will fix it.
Do we have to say "unknown"? If not, it could be:
Error
Please make sure airplane mode is off.
Flags: needinfo?(Mnovak)
Comment 8•11 years ago
|
||
Ok cool!
Thank you for your advice :)
Hi Marina,
Can you help with this? The message would be
"Error
Please make sure airplane mode is off"
Flags: needinfo?(marina.rodrigueziglesias)
| Assignee | ||
Comment 9•11 years ago
|
||
Thanks Juwei,
I'll prepare the patch with your suggestion
Regards
Flags: needinfo?(marina.rodrigueziglesias)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → marina.rodrigueziglesias
Updated•11 years ago
|
status-b2g-v2.1:
--- → wontfix
status-b2g-v2.2:
--- → affected
| Assignee | ||
Comment 10•11 years ago
|
||
Hi salva,
would you mind reviewing the patch?
Regards
Attachment #8514851 -
Flags: review?(salva)
| Assignee | ||
Comment 11•11 years ago
|
||
Screenshots with the patch applied.
Comment 12•11 years ago
|
||
Comment on attachment 8514851 [details] [review]
patch v1.0
Looks ok. Thank you. Mai.
Attachment #8514851 -
Flags: review?(salva) → review+
| Assignee | ||
Comment 13•11 years ago
|
||
Master: 7a0e1f31b87467bf6e00eb832c28cfbccab52b74
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•