PackageManger: Port build-time disabling of components

Ported from https://github.com/CyanogenMod/android_frameworks_base/commit/eb2e4e1

Change-Id: Id8c3a0d0e07526d9949ac6980f5a6b1a8dbf0672
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Treat default value that wasn't found as empty value.

Fixes http://code.google.com/p/android/issues/detail?id=33220

Change-Id: If22e8b245f688d922c168aa54c8acf743c0644d7
Signed-off-by: houst0nn <houstonn@gmail.com>
Allow creating custom dialogs in DialogPreference.

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

Change-Id: I54fd7d6d6b9f6a49fef1ae95e0178838b3edfa56
Merge "PackageManger: Port build-time disabling of components" into lollipop
Merge "Treat default value that wasn't found as empty value." into lollipop
Merge "Allow creating custom dialogs in DialogPreference." into lollipop