Themes: Set bounds on iconUpon

Change-Id: I90720b87ed6d5c30f342bd0e1c149e8a6e238d6e
tests: Hide new private APIs

Add missing @hide
This should have been done in If04e82a13250f520d70b58991586c8ce38f0ecb1 to avoid

/opt/jenkins/android/workspace/android/cm-11.0/out/target/common/obj/PACKAGING/public_api.txt:24102:
error 4: Added public method android.test.mock.MockPackageManager.getThemedResourcesForApplication
/opt/jenkins/android/workspace/android/cm-11.0/out/target/common/obj/PACKAGING/public_api.txt:24103:
error 4: Added public method android.test.mock.MockPackageManager.getThemedResourcesForApplication

Change-Id: Ib40279065c937b130322350c1dbdf5b0b43506e3
PackageManagerService: Prevent sending a SIGKILL while the device shutting down

This avoid potential NPE when cleanup theme related data

Change-Id: Ifc7b5f7a21af32464feb32012336cfbe4b7de2ff
Keyguard: Distinguish the TextView id of pinEntry

Both KeyguardSimPinView and KeyguardPinView have the same id of pinEntry
for their TextView of the password. When one of them is created in the
mSecurityViewContainer, the other one will get the wrong TextView of the
same id pinEntry.

Change the id pinEntry in KeyguardSimPinView to simPinEntry.

This fixes CYAN-3822,CYAN-3887

CRs-Fixed: 661955

Change-Id: Ia75d1d1f74530e6671d534000f9ce49cb1f814c4
Updating ActivityIntentResolver so that queryIntents doesn't return protected applications.

Any calls from System UID(1000) are not filtered

Change-Id: I037cddaf91b6943b8cc837c5b046cf320c4caa5f
SystemUI: Update UserTile from Google 4.4 code

Change-Id: I867167b83897636a3e28d08849e018a3b25caad7
Fix icon support for secondary users.

This fixes the problem when switching to a secondary user and
icons are currently applied.  Prior to this patch the secondary
user would see droids as their icons and apps would FC at start.

Change-Id: Icd4275eae5868612bf2a81b375ac4d0779a61395
Don't create idmap if app doesn't have resources.arsc

Some apps do not have a restable but some legacy themes
try to theme these apps anyways. In this case we skip
the idmap creation process.

Change-Id: I8bc60984299791733d4fe8c9bbcaa75eca6d736b
Revert "Hover: disallow notfications from currently active app"

This reverts commit 285d21149835d78c6ef9573172e1c453459fc8b0.
Hover settings (1/2)

- Require full screen mode;
- Hide non-clearable;
- Exclude low priority;

Original commits
https://github.com/TheKang/frameworks_base/commit/598fa9d46e84b563d9ec6ffa75a38da9fc3cc5a9
https://github.com/TheKang/frameworks_base/commit/a3b44ef4fce7cdabc477075ac646b596dc0f83a4

Thanks @Der-Schubi

Change-Id: If3c34496acf75d49434902c49dfe48f997c0b668

Conflicts:
	core/java/android/provider/Settings.java
Hover notification timeout (1/2)

Allow user to set how much time the hover notification will stay visisible without touch the screen

Change-Id: I5847adb3f33522d9d78867685f9867477542c37e
Remove lockscreen slide delay option (2/2)

Also enable this option for insecure lockscreen:
* Power button instantly locks

Change-Id: Ibf93519637e0c08bad5d2224c3f76c99b0af60f7
Fix for default USB debugging in eng builds.

* Start adbd on first launch and accept all connections for eng
* Start adbd on first launch and prompt for userdebug
* Do not start adbd for user.

Change-Id: I26d1ef1bb208cec79d45687aea833a1b3e076b83
Update
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0
Fix missing nav bar on tablets in landscape mode
Merge remote-tracking branch 'upstream/cm-11.0' into cm-11.0
Update cr_strings.xml
Remove DEFAULT_THEME_APPLIED_ON_FIRST_BOOT

doApplyDefaultTheme should be able to apply the default theme, if
one exists, whenever applyDefaultTheme() is called.

Change-Id: Ia50b4089d122855a4ddde91a02eef33ed3f9eaf4
Add status bar and navigation bar to ThemesContract

Change-Id: I8048c735d7bbbfdb86ee5923b95bece6b4252bf7