Reapply theme components in a runnable.

We need to give other apps a chance to finish processing the
ACTION_PACKAGE_REPLACED before reapplying the updated theme
components.

An example of this behavior can be seen when a legacy icon pack is
applied and is updated.  Some Google services, such as google play,
FC when this happens.

Change-Id: If526223e6d318b4240fa765abb53dbe61f9ce746
Define reapply delay as a constant

Change-Id: Ifc606b5ca07efeaef428edb7bd464cabcbe5c474
Automatic translation import

Change-Id: I05d09af62f1013fa03df61969428208d5cb00c8a
Revert "Listen for ACTION_PACKAGE_BEING_REMOVED"

This reverts commit 13b9a546c7dee1ca588ef7cbb2f643df85f8f0a0.

Change-Id: Id560c730957484f2ae693f63b4597f275e44aaff
Revert "Reapply theme components in a runnable."

This reverts commit 92f77e77e097e59f9ec8d7bc64324f1987230af6.

Change-Id: I79a7beedb43d097e743a41b0501805cd1afad9d4
Don't call insertCapabilities for legacy icon packs.

Change-Id: Ib10a6888259a4da7a2341dc738dc91d0a1839392
Modify config to support app specific themes [3/4]

See frameworks/base commit for full msg. This is just simple renaming.

Change-Id: If7011a93d60197b2879028902f8e9a190bac147d
Themes: Only reapply fonts, icons and overlays

The provider and WP service can be out of sync. This is possibly by applying
a theme and then separately going in and changing the WP.

Prior to this patch, an updated theme would trigger all set theme elements
to be reapplied, including the wallpaper of the set theme, even if the user
had changed the WP to something else.

The issue has been resolved by only applying theme elements which:
(1) do not pose a risk of being out of sync in the provider
(2) must be reapplied so as to not cause a FC.

Change-Id: I00f12952a5ef040e8f368d0fade222a3e88d003e
Automatic translation import

Change-Id: Iad0eaf8f1ed72f805d5061ea51949657a7f5e81c
Automatic translation import

Change-Id: I80d67843d1ad7c56480e00cdfef33d98f10bf906
Automatic translation import

Change-Id: I30d66dfb9f16f0e192a409e3e28df00b03ad24df
Merge https://github.com/CyanogenMod/android_packages_providers_ThemesProvider into du44