Revert "Custom lockscreen wallpaper [1/2]"

This reverts commit bd695aba22e91dc87ac4e76a46dbec4b2e35fb13.

Change-Id: I6482a54f7f0f153d8d259cd44da182b699d78a6b

frameworks: move keyguard wallpaper to system  (1/2)

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/cm_strings.xml
	packages/Keyguard/src/com/android/keyguard/KeyguardViewManager.java
	services/java/com/android/server/ThemeService.java
	services/java/com/android/server/WallpaperManagerService.java
        core/java/android/app/WallpaperManager.java
	core/res/res/values/cr_strings.xml

Signed-off-by: Roman Birg <roman@cyngn.com>

Change-Id: I0eb1b5578b705c2ade4c0772fa86e09478b9f73e

Add wallpaper pickers to seperate package [1/2]

Currently wallpaper pickers were part of the various launchers
and we were relying on Trebuchet's to add code for including
wallpapers from themes.  If Trebuchet is removed then this
functionality is lost.  This package is already included in all
builds so making the picker available here removes the dependency
on a specific launcher.

Trebuchet still contains a picker which should probably be removed
and make use of this package instead.

Conflicts:
	packages/WallpaperCropper/src/com/android/wallpapercropper/WallpaperCropActivity.java

Change-Id: Ie42ae0e01f951a8293d13d6c8a73fde0dea6682b

Fixed retrieving non-initialized wallpaper information

When an attempt is made to retrieve wallpaper information such
as getWidthHint during user switching, the wallpaper may be
uninitialized and therefore throw NullPointerException.

Resolved by initializing wallpaper for current active user
if not yet initialized or returning null if applicable.

Conflicts:
	services/java/com/android/server/WallpaperManagerService.java

Change-Id: I1d3931379cbf4ea82cd25bc813898bbe4fb65a67

Notify callbacks on "any" wallpaper change

Callbacks are not notified when the wallpaper is changed to
a live wallpaper.  This patch notifies callbacks of the change
regardless of the type of wallpaper be set.

Conflicts:
	services/java/com/android/server/WallpaperManagerService.java

Change-Id: Icbb7b825cd7e7096c90c5498b6fee0bc61a3de3b

WallpaperPicker: Destroy cropview to avoid leaks

If the cropview's TiledImageRenderer is rendering threads, the activity
context gets leaked. Avoid that by invoking its destroy in onDestroy() of activity.

Change-Id: I0804c903d14d3f3d13529f0fe90d12784d97e93f
Merge commit 'refs/changes/07/407/6' of https://review.carbonrom.org/CarbonDev/android_frameworks_base into wallpaper
WallpaperCropper requires these permission.
Merge remote-tracking branch 'origin/kk' into wallpaper

Conflicts:
	core/res/res/values/cr_strings.xml
Themes: Use first asset entry for lockscreen wallpaper

The current implementation assumes the wallpaper will be named
either wallpaper.png or wallpaper.jpg.  If this is not the case
the wallpaper is not applied.  This patch implements the lockscreen
wallpaper the same way that the regular wallpaper is done.

Change-Id: I9f3dd299c1e61158fa53c163f7e42e21e2f9b1dc
Themes: Use default_wallpaper for HOLO lockscreen wp

Change-Id: I9c7fd29c99d13e811993eb9b3b045010431ccad0

Conflicts:
	services/java/com/android/server/ThemeService.java
WallpaperCropper: include wallpapers from themes!

Theme all the things!!!!!!!!!

Change-Id: Ie9d5d4dfe6533442188e38fa0b11742368246e37
Signed-off-by: Roman Birg <roman@cyngn.com>

Conflicts:
	packages/WallpaperCropper/src/com/android/wallpapercropper/LockWallpaperPickerActivity.java
Update LockWallpaperPickerActivity.java
lil change