History log of /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/DefaultWallpaperInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4d797968a61e19954edb21961b51a8c4c5058d5a 21-Mar-2016 Tony Wickham <twickham@google.com> Add option to set lock screen only for default wallpaper.

- If setting home or both, use clear() like before
- If setting lock screen only, get built-in default wallpaper
and explicitly set it

Bug: 27706226
Change-Id: I801efca69f6d22653f52759d2d9ebc0243ac401d
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/DefaultWallpaperInfo.java
7d21299b0f731db1259f7ee22f36548d5b59fbf9 16-Mar-2016 Tony Wickham <twickham@google.com> Wallpaper dialog is cancelable.

If you're setting a wallpaper and are prompted to choose between lock
screen and home screen, you can now cancel the dialog. This was
previously disallowed because the "Set wallpaper" action bar and the
wallpaper tiles are hidden when the dialog is shown; now they are
reshown if the dialog is canceled.

Bug: 27484728
Change-Id: Ibe98c1320ebe185a4cb16254b5dec5105db4f1b7
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/DefaultWallpaperInfo.java
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/tileinfo/DefaultWallpaperInfo.java
ecaa9ab6ff554cda81c6c6b1fc20fd71bfb3ee16 18-Feb-2016 Tony Wickham <twickham@google.com> Use new WallpaperManager APIs to set lockscreen wallpaper.

Via reflection for now.

Change-Id: Iac2df1905100dbba705d1bd59205120cc0dbfa39
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/DefaultWallpaperInfo.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/tileinfo/DefaultWallpaperInfo.java
748dfe025b128ea88ba626c8bfb7da315d5af29c 05-Feb-2016 Sunny Goyal <sunnygoyal@google.com> Fixing the WallpaperPicker project

> Adding make file and gradle file
> Changing the package to com.android.wallpaperpicker
> Adding WallpaperUtils and other dependen files

Change-Id: If1d288943cc5b995be9fea1e230f892b57c2d709
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/DefaultWallpaperInfo.java