Add EventLog event for logging of attempts to call java.lang.Object.getClass

Bug: 13694467
Change-Id: I886c6ffb3a008d0cf701c1adc16c607cbf7dce39
(1/2) Base: Bring back lockscreen blur

Change-Id: I4d85a589c74b18e1493db97ad63a5237e9372ff1
HOVER: Theme Engine compatibilities and some resources tweaks

Use default notification dimens, avoid setting a custom one.
A bit of cleanup too.

Notifications:
Hardcode dimensions to android defaults. Avoid themes to change them,
Ribbons feature (present on CM based roms mostly) needs that.

Thanks to +John Xionidis to help me trick this out for full CM11 made themes :)

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
Change-Id: Iccf12061c045c29db4bc73736dac68e52dda198c
revert "Quicksettings: add option to choose number of tiles per row (1/2)"
QS: Make it possible to show smaller tiles (1/2)

* Remove text and show more tiles on one row

ps18: set icon margin based on density of device
ps19: adjust the margin
ps20: implement show text under the tiles
ps21: fix typo
ps22: underp

Change-Id: Ie247aba1ae5fbdb8f5298e30fb2f04a985e73532
QS: smaller tiles: Fix the text labels on small screen devices

The text labels are broken if the density is smaller than xhdpi

Change-Id: Ie9859a9d8d539249de1584953f28ac56256ef35c

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/QuickSettingsTile.java
Better expose 'QS Tiles and layout' function

Reorganizing & customizing the QS tiles is one of our features, but it
is buried 4 clicks deep in Settings menus. This is not ideal.

Create a new icon on the main QS panel view to quickly launch into
the configuration page.

Screenshots: http://imgur.com/a/H3iN7

This respects all the existing flip animations and quick pulldown. Does not
interfere with the clear-all button either.

PS2: Rebase
PS3: Change intent
PS4: Add missing boolean
PS5: Whitespace & Use different icon
PS6: Address comments and add additional drawable densities
PS7: Fix reference to old drawable
PS9: Swap back to + icon
PS10: Typo

Change-Id: Ia715767ba2a7cfdd44b0fafa082877def6867440
revert "SystemUI: QuickTiles: add support for gestures"
Revert "Frameworks: speed up statubar/notification drawer"

This reverts commit 38779bf35ecb47cd0d8697ff8a70ed2c172863d0.
Lock screen targets: switch back to using CyanogenMods drawables (1/2)
SystemUI: Update UserTile from Google 4.4 code

Change-Id: I867167b83897636a3e28d08849e018a3b25caad7

Conflicts:
	packages/SystemUI/src/com/android/systemui/quicksettings/UserTile.java
SystemUI: update torch and battery saver drawables thanks to @rush25
Make notification-shade-collapse-after-dismiss behaviour configurable.

Change-Id: I1be0be2753b479e6d2e4fc8e17d971d03ce01bb7
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
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