Closed
Bug 1100238
Opened 10 years ago
Closed 10 years ago
[Stingray] Allow appdeck or other certified apps to take screenshot
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.1 S9 (21Nov)
People
(Reporter: rexboy, Assigned: rexboy)
References
Details
(Whiteboard: [ft:conndevices])
Attachments
(2 files)
For pin-to-card use case, apps need to get screenshots for themselves. This can be realized by system app but not possible for apps for now. So this bug is dedicated for opening a way to let app get screenshots from system app.
Assignee | ||
Comment 1•10 years ago
|
||
WIP https://github.com/rexboy7/gaia/commit/f86a6bd7c978e78e8a657a784a3d7ca5d7070442
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → rexboy
Assignee | ||
Comment 2•10 years ago
|
||
John may you give some feedback on this patch? I temporarily let Home App use the screen capturing, but it should actually be landed into AppDeck and other apps.
Attachment #8523800 -
Flags: feedback?(im)
Comment 3•10 years ago
|
||
Comment on attachment 8523800 [details]
Patch
This looks good for our short-term milestone. In the future, we may still need to support screenshot on "OOP" case. I would like to see the current version. And we add the OOP support when we need it.
Another issue is that we should keep this activity as certified only. I don't know if we can do it or not. If not, we should change to IAC.
Attachment #8523800 -
Flags: feedback?(im)
Updated•10 years ago
|
Target Milestone: --- → 2.1 S9 (21Nov)
Assignee | ||
Comment 4•10 years ago
|
||
John would you help review this patch?
Attachment #8525791 -
Flags: review?(im)
Assignee | ||
Comment 5•10 years ago
|
||
In this version I changed the implementation to IAC for limiting permission to certified apps.
Comment 6•10 years ago
|
||
Comment on attachment 8525791 [details] [review] patch Bascially, the code is workable and looks good, except sending blob. So, I give r+ but please check the following before landing the code. I do not have enough knowledge about IAC sending Blob. In my previous experience, all large object sending through MessagePort should be wrapped with Transferable. That can ease the usage of memory. But I am not really sure about this in IAC.
Attachment #8525791 -
Flags: review?(im) → review+
Assignee | ||
Comment 7•10 years ago
|
||
By the study with John we found that IAC port hasn't support Transferable objects yet. So I'll keep the code as is for now.
Assignee | ||
Comment 8•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/d1a32413537a9e0b61a78377b3dfbd5b6e82c15d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•