Closed Bug 857470 Opened 11 years ago Closed 6 years ago

[Wallpaper] require a special showWallpaper flag in pick activity

Categories

(Firefox OS Graveyard :: Gaia, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: djf, Unassigned)

Details

When apps want to pick an image, they generally don't want to set a list of built-in wallpapers.

Currently the wallpaper app only shows up in the list of apps that can provide images if the app that initiates the activity explicitly specifies that it wants a 320x480 image.

This won't work well when porting to larger screen sizes. So we should instead just use a flag for this purpose.  The wallpaper app should require showWallpaper:true, and the settings and homescreen apps should set that flag when they initiate their pick activities so that the built-in wallpapers will appear as choices.
Also, the current scheme with sizes doesn't actually work as originally intended. Wallpaper doesn't make those parameters required, so if the requestor does not specify a size, the wallpapers will be shown.  The email app lists wallpapers as attachments.  The contacts app specifies an image size, though, so wallpapers do not get listed in that case.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.