Closed Bug 1136605 Opened 9 years ago Closed 9 years ago

[Stingray] expose isVisible and focus API for entry sheet

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: johnhu, Assigned: suchiu)

References

Details

Attachments

(1 file)

1. isVisible API: Determine whether this UI is visible or not, and return z-index.
2. focus API: Focus the default elementin this UI.
Assignee: nobody → suchiu
Comment on attachment 8574501 [details] [review]
[gaia] sean2449:Bug_1136605 > mozilla-b2g:master

1. Add isVisible, getElement and focus API in Captive_Portal (for EntrySheet). Notifications are handled in interactive_notification.
2. To test this patch:
   a. Under build/config/tv/custom-prefs.js, add user_pref('captivedetect.canonicalContent', 'no\n');

   b. To test EntrySheet, we have to change line 36 ‘if (FtuLauncher.isFtuRunning())’ to ‘if (true || FtuLauncher.isFtuRunning())’
Attachment #8574501 - Flags: review?(im)
Comment on attachment 8574501 [details] [review]
[gaia] sean2449:Bug_1136605 > mozilla-b2g:master

Looks good.

Please find my comments at PR. We should include few lines of code to prevent multiple close function call.
Attachment #8574501 - Flags: review?(im) → review+
Commit: https://github.com/mozilla-b2g/gaia/commit/2af946d09db6625e29cbc1c04bdd0b67c2acebef
Gaia-try(all green): https://treeherder.mozilla.org/#/jobs?repo=gaia-try&revision=38e7312d616e
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: