4.2.2 cleanup

Change-Id: If0843c3f0ba52a255806e53d2d88c9dc10b96a62
remove klingon from user rotation mode

Change-Id: Id49c3f21acfce2dd5e80a75c050c29aca6cd937e
update 2g/2g network tile

Change-Id: I7024cc1039a8ef3113039328673c0de144b83464
Revert "remove klingon from user rotation mode"

This reverts commit b362c3a0ebaaf6d6aa8731dde6a8c1d540b06afb.
Policy: fix keyguard statusbar showing while in ext desktop, fixes it in
apps like currents as well

Change-Id: Id3e4b99d60c33e4050e0e97c365d1ae739f603ec
allow widgets to minimize in extended desktop

Change-Id: I666f61644386ff10631185324f445a750571b104
derp

Change-Id: I83441eb7dbd8daedde5bdf4247d4b5445a8886c0
Include android.permission.ACCESS_SUPERUSER permission in the base API

Since we don't include this version of the su binary we need to
register this permission other wise if user installs Koush's Superuser
apk later all apps previously installed will not be granted
superuser permission as it, the permission, did not exist when apk
previously asked for permissions

This is a hack to avoid Android Issue 25906
 (https://code.google.com/p/android/issues/detail?id=25906)

Change-Id: I4bc044fa8808d7e11e8cc004f680a99d11d9b66d
-Typo-
Applying ChannelScrolling to remove calculateDragAngle

To avoid angle calculation changed the logic to use virtual areas.
When try to drag or pan, check where the current touch point locates
and determine how to drag a page.

Change-Id: Id9bd08a69c4ac93ff385c8088e6c16bed5dc5f88
Signed-off-by: kiwon <kiwon98.lee@samsung.com>
Account malloc mmaped pages as native heap.

Currently when malloc uses a page rather than brk the heap gets accounted as
ashmem memory. Previously the memory would be accounted as unknown but since
[1] it gets accounted as ashmem. This change makes the accounting see this
memory as being native, ie the same kind of memory we associate with brk.

[1] https://android-review.googlesource.com/#/c/49583/3

Change-Id: I6f496cfeb590268d41d8e047b12cd5c90359e2b0
Merge "Fix ListView is not scrolled properly with arrows"
Merge "Recognize odex files in memory accounting."
Track stack memory in MemoryInfo.

In /proc/pid/maps the main stack is identified as "[stack]". In Linux 3.4
thread stacks are identified as "[stack:<tid>]" where <tid> is the thread ID of
the thread using that stack. Add support in MemInfo's otherStats to track
memory being used by the stack.

Add sanity check on the length of the otherStats array.
Add detail messages to two null pointer exceptions.

Bug: 8265251

Change-Id: I2b228b147da9bdc5c7a4d825dfc628fcc7923927
Revert "GC triggering performance optimizations"

This reverts commit e5ae4f5e9d79995f659b17e78528536e4dd397a0.