SystemUI: Fix missing top task in recent panel.

If preloadRecentTasksList was not called or was called too
late and RecentsActivty already started and last top activity has
excludeFromRecents flag setted it might be missing
from recent application list.

Change-Id: Idf7153824805ceea9fcaf04ac645b73a5e93a4d9
Use boost hints on dexopt

Change-Id: I541f83af99fde6b3a34b16dcb4f3870979de90cc
Zygoteinit: match preloading resources with AOSP 4.3

Change-Id: Iac145c1b82b07b97cae661a754d267ef8e5f2bc9
PackageManager: allow build-time disabling of components

Allow components to be specified as disabled at build time
(applied on boot).

This allows stock OTA components to be marked as disabled in
CM builds.

Change-Id: I6e4499cc40a779792a5ea97a10137399dad7d69f

Conflicts:

	core/res/res/values/symbols.xml
ActivityManager: memoize for performance

isHighEndGfx and isLargeRam are frequently called upon.. isLargeRam very
frequently within the ActivityStack. these aren't going to change after
they're calculated the first time so subject them to a basic memoization.
FTW.

Change-Id: I176089f99ac6c6e4074cb2fde502c729986ea701
Fix DataInputStream leaks

Fix fixes
-In viewstateserializer, try to close before throwing or returning, and throw early if inputstream is null
-other stuff

Change-Id: I7f3b16057582566b82a85841829ff6ed11cd570e
potential GraphRunner leak in camera effects

if the camera FCs while recording effects.. *poof* a tiny leak is born.
so.. we close mRunner onDestroy.

Change-Id: I6a7983f120a03137f545a3cd9bb07ff51a9cd2d7
activity manager tweak-a-roonie

Change-Id: Ic511257e8154610288019c52fb41cc6bf551ebd3

Conflicts:

	services/java/com/android/server/am/ActivityManagerService.java
fix cursor leaks in F_B

my previous commit was submitted before i was finished.  Here is an updated version.

PS2: missing bracket

Change-Id: I9d8048e49695cdac7ded086cd49ee6eb99e518cc
Selectively restore non-stupid parts of stuff we had
before a patented nuclear decrapificating

Change-Id: I679f5748365bb50451abc71398dcf35002282330

Conflicts:

	core/java/android/widget/ProgressBar.java
Memory leak in IInputMethodSessionWrapper executeMessage

In some cases the executeMessage is called with
mInputMethodSession == null. For the messages

DO_UPDATE_SELECTION, DO_APP_PRIVATE_COMMAND

memory is leaked. This commit recycles the args freeing
the allocated memory.

Change-Id: I6f4e2abbc08ec66b351947980efb8c22f65b5838
RECONCILE ALL THE THINGS

Change-Id: Ib1c42ec16b6fd88b8eee3f179bc248e2d9c6f137
Nuke says to reconcile this

Change-Id: I3e4655e29aea6f2630bf8a779a0edcf5ed3b682d

Conflicts:

	services/java/com/android/server/WiredAccessoryManager.java
ProcessStats: Handle changes in the scaling frequnency

Switching from MP to IKS mode results increase in number of operating points
and results in bug #1183781 . The patch makes sure that whenever the available
scaling frequency changes it resets the existing values and sets them as per the
new values.

Change-Id: Ic74cdc2015f3c4ddd61cb116d1f4b4ed1204a3bf
Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
fix some frameworks cursor leaks

Change-Id: Ib2c3b8944e12d7b198230f26f6104269f7d8fe0a
wifi: fixed to keep country code after boot

Change-Id: I9769f557d2e8bab58ddfa89e8e2a1427d7226e7a
SystemUI: Recents window visual updates

* Changed the KillAll button to not have a border/be transparent
* Stretched out the RAM bar across the top, and add a small shadow underneath
Merge branch 'revolt2' of https://github.com/ReVolt-ROM/frameworks_base into HEAD
Bluetooth: Add trust device feature.

Add set trust feature where the remote device is marked
as a trusted device for subsequent connection.

CRs-fixed: 523135

Change-Id: I9bde4d7dfe07d9d63b58a661ed2413f45501bd7b