History log of /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/Utilities.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
841a502864d307341945eae62569b92cada93e75 09-Mar-2016 Sunny Goyal <sunnygoyal@google.com> Simplifying some wallpaper loading code

Adding a InputStreamProvider class to abstract out input stream generation logic
This removed duplicate code at multiple places to handle uri and resources differently

Change-Id: I29709629e371032b07818e2202a50e1aed57dcc5
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/Utilities.java
e396f914a5aaedb0607ea62038b80be7556d6c6c 02-Feb-2016 Tony Wickham <twickham@google.com> Add option to set lock screen wallpaper on N+.

When clicking "Set wallpaper" in the cropper, a dialog pops up asking
which wallpaper you want to set. Though the implemenation does not yet
do anything, the dialog correctly shows up in the following cases:
- Opening a photo in Photos, and clicking "Use as" > "Photos"
- Settings > Display > Wallpaper, as long as you use our cropper
- Long-pressing the home screen > "Wallpapers" > "My photos"
- Long-pressing the home screen > built in wallpapers

The most notable case where it doesn't work yet is for live wallpapers,
because that goes through a different activity than the cropper.
Change-Id: Ia51d9e49fe5cc5845c006bafe3c300095652e7c6
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/Utilities.java