Closed
Bug 1036895
Opened 11 years ago
Closed 11 years ago
The widget does not updated correctly with some device
Categories
(Firefox OS Graveyard :: Gaia::Cost Control, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1084076
People
(Reporter: mai, Assigned: mai)
References
Details
Attachments
(1 file)
Not all the devices emit the iccdetected event after booting up or after the airplanemode is disabled.
This produce that the widget is not updated correctly.
| Assignee | ||
Comment 2•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mri
| Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8467732 [details] [review]
patch v1.0
Hi Salva,
would you mind reviewing the solution proposed?
This patch is for devices that don't emit the iccdetected event.
Regards
Attachment #8467732 -
Flags: review?(salva)
Comment 4•11 years ago
|
||
Hi Marina,
As per IRC discussion i tested the below patch.
https://github.com/mozilla-b2g/gaia/pull/22523
Please find the observations after applying this patch on Master Gaia.
STR1:
Insert SIM->Enable Airplane mode->Configure FTE->Disable airplane mode
Expected:Widget should show Usage progress bar.
Actual:"NO SIM Inserted" message.
(I waited for 3 to 5sec and close the utility tray and repoen,then it shows the Usage Progress bar)
STR2:
Insert SIM with PIN->Skip Entering the PIN->Open Utility tray->Check the Widget message(Shows Locked SIM)->Enable the Airplane mode->Disable the Airplane mode
Expected:Widget should shows the "Locked SIM" message
Actual:"No SIM Inserted" message is shown by widget.
Comment 5•11 years ago
|
||
Comment on attachment 8467732 [details] [review]
patch v1.0
I'm not totally convinced about this workaround including a timeout. I would prefer to not rely on timeouts but in API events.
We could see what's happening in the Settings App for these non-compliant devices and check how they are dealing with the problem.
I think you could prepare a test application to see what's happening on the different APIs for the different devices and thus try to determine a common reliable solution for all of them. And please, link other related bugs if there are.
What do you think?
Attachment #8467732 -
Flags: review?(salva)
| Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•