Closed Bug 1147791 Opened 11 years ago Closed 8 years ago

[Flame][Cost Control]It displays "Insert a SIM to enable Usage" instead of "Please, turn off airplane mode to enable Usage".

Categories

(Firefox OS Graveyard :: Gaia::Cost Control, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master affected)

RESOLVED WONTFIX
Tracking Status
b2g-v2.2 --- affected
b2g-master --- affected

People

(Reporter: fan.luo, Assigned: mai)

References

Details

Attachments

(5 files)

Attached image airplane.png
[1.Description]: [Flame v2.2 & v3.0][Cost Control]Device will show "Insert a SIM to enable Usage" page insted of "Please, after turning off airplane mode to enable Usage" page after user unlock screen, even if user insert a sim card. Attachment:logcat_1728.txt & airplane.png & video_1728.mp4 Found time:17:28 [2.Testing Steps]: Prerequisite:Device with a sim inserted 1.Open Usage app. 2.Turn on airplane mode. 3.Lock screen. 4.Unlock screen. [3.Expected Result]: 4.Device will show "Please, turn off airplane mode to enable Usage" page. or 4.Device will back to Usage. [4.Actual Result]: 4.Device will show "Insert a SIM to enable Usage" page. [5.Reproduction build]: Device: Flame 2.2 build(Affected) Build ID 20150325162500 Gaia Revision 2d42a7c1d99472780e3aeb2e16d7cb0a4adbd222 Gaia Date 2015-03-25 20:46:52 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/ebb742bfe1a4 Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150325.200218 Firmware Date Wed Mar 25 20:02:30 EDT 2015 Bootloader L1TC000118D0 Device: Flame 3.0 build(Affected) Build ID 20150325160204 Gaia Revision 508b8d48fb5ecf08bf0e5b4fef42bc48b770e7f2 Gaia Date 2015-03-25 16:54:53 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/f40ee067d081 Gecko Version 39.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150325.191758 Firmware Date Wed Mar 25 19:18:07 EDT 2015 Bootloader L1TC000118D0 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test
Attached video video_1728.mp4
Attached file logcat_1728.txt
Flags: needinfo?(slyu)
Able to reproduce this on 2.2. I see 3 different cases: 1. Use notification bar to turn on airplane mode * Open usage app * Drag down the notification center * Enable airplane mode using the icon at the bottom of the notification center * Drag up the notification to go back to usage app Result: The usage app is NOT blocked 2. Use edge swipe to go to settings * Prerequisite: settings app was opened * Open usage app * Edge swipe to switch to settings * Enable airplane mode * Edge swipe back to usage app Result: See the "Please insert SIM" message instead of the correct "Turn off airplane mode" message 3. Use home screen to go to settings * Open usage app * Press home button, then tap the settings app * Enable airplane mode * Press home button, then tap the usage app Result: The correct "Turn off airplane mode" message is shown. NI Marshall to see if he can handle it or find other developer.
Flags: needinfo?(slyu) → needinfo?(marshall)
I don't think I have the cycles for this in v2.2.. tagging Salva to see if he or anyone else can take a look
Flags: needinfo?(marshall) → needinfo?(salva)
(In reply to Shing Lyu [:slyu] from comment #3) > Able to reproduce this on 2.2. I see 3 different cases: > 1. Use notification bar to turn on airplane mode > * Open usage app > * Drag down the notification center > * Enable airplane mode using the icon at the bottom of the notification > center > * Drag up the notification to go back to usage app > Result: The usage app is NOT blocked > > 2. Use edge swipe to go to settings > * Prerequisite: settings app was opened > * Open usage app > * Edge swipe to switch to settings > * Enable airplane mode > * Edge swipe back to usage app > Result: See the "Please insert SIM" message instead of the correct "Turn > off airplane mode" message > > 3. Use home screen to go to settings > * Open usage app > * Press home button, then tap the settings app > * Enable airplane mode > * Press home button, then tap the usage app > Result: The correct "Turn off airplane mode" message is shown. > > NI Marshall to see if he can handle it or find other developer. All seems related with the same root cause. Marina thinks this is related with visibility change events and will take a look.
Assignee: nobody → marina.rodrigueziglesias
Flags: needinfo?(salva)
Comment on attachment 8588542 [details] [review] [gaia] gitmai:bug-1147791-usage-wrong-message-when-airplanemode-is-enabled > mozilla-b2g:master Hi Salva, would you mind reviewing the patch? Regards
Attachment #8588542 - Flags: feedback?(salva)
Comment on attachment 8588542 [details] [review] [gaia] gitmai:bug-1147791-usage-wrong-message-when-airplanemode-is-enabled > mozilla-b2g:master While Cost Control application is open I still can reproduce the same error even noticing the correct message, looking through the utility tray, appears when enabling air-plane mode. It seems to happen just after opening the application.
Attachment #8588542 - Flags: feedback?(salva) → feedback-
Attached file lotcat_1728.txt
This issue can repro on latest Flame 2.2 3.0,The STR is same as Comment 0. Reproduce rate:5/5 See logcat_1728.txt Flame 2.2(Affected): Build ID 20150429162504 Gaia Revision 7a9254e35efad3083707dbc23cc954a562a4f873 Gaia Date 2015-04-29 16:38:40 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/3cede85ef2ad Gecko Version 37.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150429.200313 Firmware Date Wed Apr 29 20:03:24 EDT 2015 Bootloader L1TC000118D0 Flame 3.0(Affected): Build ID 20150429010205 Gaia Revision 6e35b0948c42a4398b8a5916015de167121683a1 Gaia Date 2015-04-28 16:06:07 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/1ad65cbeb2f4 Gecko Version 40.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150429.043837 Firmware Date Wed Apr 29 04:38:48 EDT 2015 Bootloader L1TC000118D0
Comment on attachment 8588542 [details] [review] [gaia] gitmai:bug-1147791-usage-wrong-message-when-airplanemode-is-enabled > mozilla-b2g:master Hi Salva, would you mind reviewing the patch? Regards, Marina
Attachment #8588542 - Flags: feedback- → review+
Comment on attachment 8588542 [details] [review] [gaia] gitmai:bug-1147791-usage-wrong-message-when-airplanemode-is-enabled > mozilla-b2g:master Would you mind reviewing the patch?
Attachment #8588542 - Flags: review+ → review?(salva)
Blocks: 1166907
This is causing a strange behaviour. STR: 1. Configure Usage 2. Close Usage 3. Enable Airplane mode from Utility tray 4. Open Usage 5. Disable Airplane mode from Utility tray 6. Dismiss utility tray Expected: The application is unlocked Actual: The message "Insert a SIM to enable Usage" is shown. Maybe this is a separated issue. Marina, can you check this?
Comment on attachment 8588542 [details] [review] [gaia] gitmai:bug-1147791-usage-wrong-message-when-airplanemode-is-enabled > mozilla-b2g:master Code seems well to me but I'm a little bit worried about the issue I detected.
Attachment #8588542 - Flags: review?(salva) → review+
I cannot reproduce the STR of the comment 12
Keywords: checkin-needed
Gaia Try run shows real-looking GU failures.
Keywords: checkin-needed
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: