Allow creating custom dialogs in DialogPreference.

This allows creating non-AlertDialogs while still using the click and
state handling of DialogPreference.

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
show notification count overlay

Conflicts:

core/java/android/provider/Settings.java
[2/2] Framework/base: Lockscreen maximized widgets

Framework part of maximizing lockscreen widgets

Taken from cm and modified for kitkat

Change-Id: I6a354d218fa5cc4603b92ba479d6aeba7f8f9c60