Closed
Bug 1156650
Opened 10 years ago
Closed 10 years ago
Show display dialog when launching app from homescreen
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Firefox OS Graveyard
Gaia::System
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lchang, Assigned: lchang)
References
Details
Attachments
(1 file)
System app needs to be notified whenever an external display is connected and disconnected. Since system app is the only one needs this information, I propose using mozChromeEvent in lieu of inventing a new API for now.
Assignee | ||
Comment 1•10 years ago
|
||
We've changed the behavior of launching an app to an external display so change the title accordingly.
The detail has been updated on wiki [1]. In short, the system app should pop up a dialog to let users choose where to launch the app. For this reason, system app needs to query the current connected display list from gecko prior to showing the dialog.
[1] https://wiki.mozilla.org/Firefox_OS/1UA_Multi-Screen#Gaia
Assignee: nobody → lchang
Status: NEW → ASSIGNED
Component: General → Gaia::System
Summary: Notify system app the state of external displays → Show display dialog when launching app from homescreen
Comment 2•10 years ago
|
||
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
Hi Alive,
This is a WIP patch. Could you please give us some feedback before we move on for the unit tests? Thanks a lot.
Attachment #8601977 -
Flags: feedback?(alive)
Comment 4•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
Per offline discussion canceling
Attachment #8601977 -
Flags: feedback?(alive)
Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
Hi Alive,
Patch is updated per our discussion. Would you mind taking a look again? Thanks.
Attachment #8601977 -
Flags: feedback?(alive)
Comment 6•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
LGTM
Attachment #8601977 -
Flags: feedback?(alive) → feedback+
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
Hi Alive,
I've finished my patch. Please help for reviewing. Thanks a log.
Attachment #8601977 -
Flags: review?(alive)
Comment 8•10 years ago
|
||
Comment on attachment 8601977 [details] [review]
[gaia] luke-chang:1156650_multiscreen_display_dialog > mozilla-b2g:master
r+ with nits
Attachment #8601977 -
Flags: review?(alive) → review+
Assignee | ||
Comment 9•10 years ago
|
||
Alive, Thanks. Comments are all addressed. Will land it when Bug 1163914 is ready.
Assignee | ||
Comment 10•10 years ago
|
||
Test passed: https://treeherder.mozilla.org/#/jobs?repo=gaia&revision=7a7e83e31b9c72fec88d5062dc2609af622c88f0
Landed on master: https://github.com/mozilla-b2g/gaia/commit/12b6953f90fe175415d99c9a55886807d5026317
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•