Closed Bug 1016866 Opened 10 years ago Closed 10 years ago

Always send a notification when captive portal is detected

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

x86_64
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(feature-b2g:2.0)

RESOLVED FIXED
2.0 S3 (6june)
feature-b2g 2.0

People

(Reporter: hchang, Assigned: hchang)

References

Details

(Whiteboard: [p=1][ft:ril])

Attachments

(1 file)

Current system app will handle captive portal in three different ways: 

1) During FTU, show a entry sheet to view a URL reported by gecko.
2) For manually connection, launch a browser.
3) For auto connection, send a notification.

This patch is going to merge 2) into 3), that is, always send a notification whenever not in FTU, for the sake of the potential UX issue of captive portal and WISPr.
Assignee: nobody → hchang
Whiteboard: [p=1][ft:ril]
Target Milestone: --- → 2.0 S3 (6june)
Comment on attachment 8429922 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/19714

Hi Tim, per discussion yesterday, I requested a PR to move unify the non-FTU captive portal behavior to sending notification. The corresponding test case is also modified and passed all tests. I am asking for your review first. Thanks!
Attachment #8429922 - Flags: review?(timdream)
Comment on attachment 8429922 [details] [review]
https://github.com/mozilla-b2g/gaia/pull/19714

This is good for 2.0 for resolving conflicts between app-handled captive portal (e.g. WISPr) and the system handled ones. 

What's the other bug for notification detail out of feature-b2g: 2.0?
Attachment #8429922 - Flags: review?(timdream) → review+
feature-b2g: --- → 2.0
Please address the dup test case in pull request and I will merge this for you.

Thanks!!
Flags: needinfo?(hchang)
Hi Tim, 

I already removed the dup test case and am waiting for the travis test result.
Besides, bug 1017472 is the bug for the existing issue that the captive portal 
notification will still be there to confuse user even if we already log in.

Thanks!
Flags: needinfo?(hchang)
master: https://github.com/mozilla-b2g/gaia/commit/6001520d36ff3ceb37acc30c93ef15560551bc6d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Blocks: 1030063
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: