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)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1084076

People

(Reporter: mai, Assigned: mai)

References

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Details | Review
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.
Attached file patch v1.0
Assignee: nobody → mri
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)
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 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)
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.

Attachment

General

Created:
Updated:
Size: