Closed Bug 989537 Opened 7 years ago Closed 7 years ago
Privileged apps need a way to set the wallpaper
We are building a replaceable homescreen for gaia. The homescreen should have a way for users to change the wallpaper as they do in the current homescreen. Currently the homescreen does this by writing to the settings API in the key: wallpaper.image Perhaps one option here would be to use a web activity instead, then have the settings app handle this.
Hi Vivien, Jonas - what would you suggest the best way to set the wallpaper from a privileged app? Right now you need the settings permission to do this. Two possible implementations may be: 1 - Create a new webAPI for setting the wallpaper. 2 - Proxy the pick activity through the settings app, creating a new pick-wallpaper activity. Do you guys have any preference in implementation? Thanks!
Seems like a duplicate of bug 900551 :) A new API for the background sounds a big hammer. A new web activity probably does not work as the background needs to be accessed by both the homescreen and the call screen :/ One way could be to have the Settings apps exposed a datastore of some configurable bits and so some other apps can access it.
Sure, let's dupe it :)
No longer blocks: vertical-homescreen
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 900551
You need to log in before you can comment on or make changes to this bug.