Themes: Add categories to theme change intent.

The following categories are available:

org.cyanogenmod.intent.category.MODS_HOMESCREEN
org.cyanogenmod.intent.category.MODS_LOCKSCREEN
org.cyanogenmod.intent.category.MODS_ICONS
org.cyanogenmod.intent.category.MODS_FONTS
org.cyanogenmod.intent.category.MODS_BOOTANIM
org.cyanogenmod.intent.category.MODS_NOTIFICATIONS
org.cyanogenmod.intent.category.MODS_ALARMS
org.cyanogenmod.intent.category.MODS_RINGTONES
org.cyanogenmod.intent.category.MODS_OVERLAYS

Change-Id: Ic444278d1d712cb6207bb10574a471524a8fed41
Themes: Get resources with an explicit theme attached.

Change-Id: If04e82a13250f520d70b58991586c8ce38f0ecb1
Don't log an error if we cannot open icon hash

The icons will end up being processed if we cannot access the hash
so let's just fail gracefully and silently.

Change-Id: I6368ee9bb47a9d52351fff22283ffac2de625b71
framework: option to enable/disable menu unlock (1/3)

Change-Id: I5e4b82148ff434ee8a56bd41a46be2f4e085f155
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
framework : Auto Immersive Mode (1/2)

Automatically enables the immersive mode when someone opens the selected app.

PS2: Fixed whitespaces
PS3: more code style

Change-Id: I2d73465f07ede9e2cf48cdbd064d9e3ea18b778a
Signed-off-by: Umair Khan <omerjerk@gmail.com>
CRT screen off animation user defined (1/2)

Signed-off-by: kecinzer <kecinzer@gmail.com>

Frameworks: ElectronBeam get some love (1/2) - SlimBean
This commit removes the CRT On animation because it is just
not nice implemented from AOSP and not really needed. If ppl
turn on the screen they want to see fast their content. But still
CRT animation needed some love. So this commit introduces another
SlimBean mode. Crt animation mode:
Features:
- Crt Off animation controll (on/off like it was before)
- You can select different crt off animation modes
- always horizontal (stock behaviour)
- always vertical (screen collapse from left and right to the middle)
- orientation dependent (means portrait = horizontal animation, landscape = vertical animation)
cheers

Signed-off-by: task650 <task650@gmail.com@gmail.com>

Change-Id: Ifa13ad72986d384e50b69917b38640e8c70c27d1
Lockscreen rotate option (1/2)

Change-Id: I18242b6d264623015008d1a87ac7c13785f38493
NFC Polling Mode (3/3)

Change-Id: I41c76e6f23642af3daf356daf3788387b396594f
Signed-off-by: kecinzer <kecinzer@gmail.com>
Merge branch 'kitkat' of github.com:AOKP/frameworks_base into kitkat
Add CM TorchConstants
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
Themes: Set bounds on iconUpon

Change-Id: I90720b87ed6d5c30f342bd0e1c149e8a6e238d6e
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
Add EventLog event for logging of attempts to call java.lang.Object.getClass

Bug: 13694467
Change-Id: I886c6ffb3a008d0cf701c1adc16c607cbf7dce39
Option to disable fullscreen keyboard 1/2

PS3: Move to AOKP Setings and remove system profiles derp that shouldn't even be there

Change-Id: I285f1156cd729e4e3107d5ce71cdd6685e22b9ff
Merge branch 'kitkat' of github.com:AOKP/frameworks_base into kitkat
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