WallpaperManager: add NULL pointer check for getCropAndSetWallpaperIntent

Originally the api 'getCropAndSetWallpaperIntent' does not check
whether the parsed parameter is a NULL pointer, as leads to the
whole app crash if it call this api with a null parameter accidentally.
A null pointer check logic is added into its original parameter check
logic, so that this API will throw an IllegalArgumentException if it
is parsed with a null pointer

Change-Id: Ib7de40e571419d09e1a744edc969eb7162766b75
Themes: Style, boot animation, and wallpaper previews

Change-Id: I2b367bf5336c03f2a4972a05b68922065cd4a701
FWB: Fix FC on Floating window after tap outside


Speacial thanx to @pappschlumpf from XDA for derp hunting :)


Change-Id: I43e65d1c77d0e25dd8ee8e521e2f839612d16883
Signed-off-by: doc <doc.divxm@gmail.com>
Merge "Themes: Style, boot animation, and wallpaper previews" into kitkat
Merge "FWB: Fix FC on Floating window after tap outside" into kitkat
Frameworks: Quiet Hours Automatic Switch (1/2)

Change-Id: I3e09891a60ffc5a11f5b5fabef8e06fb02dc9f5d
Derp leftover from Auto Quiet hours patch

Change-Id: I42e214425c094b49ef6c102569aca9dec79ba802
Allow subclasses to override bindPreferences().

Allows them to modify adapter behaviour.

Change-Id: I6767e3988740b674fbdf40a903cd2ef3949ca7db
Fix possible NPE in SyncHandler.onBootCompleted()

If onBootCompleted() was called a second time, it would have throw a
NullPointerException since the queue object would have already been
set to null by the previous call. This commit just makes such an
object behave as an empty queue instead of throwing the exception.

Change-Id: I7ef82ba1e2504ceb0a2c11694d32f0588db7d0af
Add more Slim shortcuts:

Quiet hours
Rotation

PS2: show shortcuts
PS3: again :D
PS4: add volume panel, reboot and recovery shortcuts
PS5: forgot AndroidManifest change

Change-Id: I1647076b2038ea1e2a218e74f73726dc0c9c4c06
App Circle Sidebar: Support for Configurable Trigger Region[1/2]

Change-Id: Ib89a98e607f48108b1a1fb54f00335a3bc4ff2e7
Frameworks: Quiet Hours Change Logic (1/2)

12:00am - 12:00am = 24 hours
	(Or any "==" time)

This makes more sense for the user
	if they have the direct ability
	to toggle quiet hours.
	The feature should work as-is
	and in a 24-hour on/off manner
	through using the toggle.

Change-Id: I9431f5d166fb5e0485cf84b6607aa0c57165cc3c
Final fix for quiet hours +

rework for better QH toggle observing
fix double float launch in slim recents

Change-Id: Ifa701841851005f3d3a8d0cbe5d7dfded083f8fa
Revert "Base: App Circle sidebar (add support Samsung multiwindow flags)"

This reverts commit 971aa391aeee8f4b543af353aa3b31ffb77e1180.

Change-Id: I4be7ceb1f3e557110dfe0b5d0e290a40ccc45fa0
Make sure we clean up

pruneDeadThumbnailFile need to close its cursor
in a finally block to avoid leak resouces.

Change-Id: I2646b91970e47ee80a721a2452215b7cae149d10
Merge remote-tracking branch 'ap/kitkat' into kitkat

Conflicts:
	packages/SystemUI/res/values/strings_custom.xml
punchout