Merge branch 'ics' of git://github.com/AOKP/frameworks_base into ics-aokp
Merge branch 'ics-aokp' of github.com:STS-Dev-Team/android_frameworks_base into ics-aokp
SystemUI: tablet statusbar improvments

1) move clock to the right and adjust padding
2) use a config value for default boolean of whether
   to hide signal bars (to avoid WiFi icon cut off).
   Requires overriding of config_hideSignalBars
   from false to true

Change-Id: Id63e7b33ccda5f7cd069b59e0eef4fda58026a17
telephony: HTCQualcommRIL: fix signal strength calculation

HTC RIL defines a custom signal strength packet format. Modify the
signal strength packet data such that the framework signal strength
calculation function understands it.

Change-Id: I8640c2ab31f06740325f440ae4aa4a0953968146
telephony: HTCQualcommRIL: clean up processUnsolicited

Based on rmcc's processUnsolicited cleanup commit.

Change-Id: I00f266c52d281ed92b9f8dab0f3c432acc24c6e7
telephony: HTCQualcommRIL: add custom sim pin/datacall functions

HTC use a custom function set for data call and simlock functionality.
This patch fixes sim pin and 3G-2G switch functionality.

Change-Id: Ieb4b47501fe1665620afa4d58616180f6c516d9e
Merge branch 'ics' of git://github.com/AOKP/frameworks_base into ics-aokp
BoardConfig-based hack to override width and height of fb0

Change-Id: I48c48e1cb1a799f3bf3806e2eb7cc43e6b742bb4
Merge branch 'ics-aokp' of github.com:STS-Dev-Team/android_frameworks_base into ics-aokp
DevicePolicy: Fix lockNow() failing to turn off screen

A fix introduced in 93c518e4f8abd98f87cda1712b30a5a86cfa60dd
causes lockNow() to sometimes (most of the time) fail to turn
off the screen. The screen will turn off, but then immediately turn
on showing the lock screen.

This is caused by getWindowManager().lockNow() call which calls the
method to lock the screen, which the PowerManager service also
call in parallel, leading to a race condition.

The fix is to only call getWindowManager().lockNow() if the screen
is not on.

Change-Id: I235c0f34d5cc15268d569e18e025a87330deced7
SystemUI: add some padding to tablet nav buttons

Change-Id: Ic75c228bb09d61349e94608cbafcad48417c605f
audioflinger: Optimze ditherAndClamp with ARM NEON

Change-Id: Ifc436e39f15b103cec404e8a81fa8b8a6b5f0e5f
Merge "audioflinger: Optimze ditherAndClamp with ARM NEON" into ics
surfaceflinger: Enable dithering if persist.sys.use_dithering=1

* fixes color banding
* needs reboots after changed (caches variable for performance)

Change-Id: I66de607b149ec4e01967febeec234ef2994d20a4
tethering: Tolerate socket exception from ifindex look-up

The code already handles the case of internalNetworkInterface being null,
but this would never happen since it throws an exception if
NetworkInterface.getByName(internalInterface) fails. Catch the exception
and continue processing.

This is needed with some older usb gadget code which don't populate
/sys/class/net/usb0/.

Change-Id: I15adead7835ff3a4f77f87175ac85c5d9f45f9c0
frameworks/base: enable meta mode for 7x27a video encoder

msm7627a family of chipsets supports only one input frame at
one time. camera expects the input frame to be released before
sending another frame. so send one input buffer and available
output bufefrs to video encoder component. release the input
buffer to camera (to get another frame) after receiving input
frame done callback from video encoder component.

Change-Id: I8fbc911f046ff7e2a3047dd65d8c09ac2d8608e1
stagefright: limit 7x27a meta mode check to QCOM_HARDWARE

This was breaking builds for non-qcom devices

Change-Id: I3ac4e23d1790185f1d3de13d6262d7e046fab5aa
libhwui: Delete display list objects and resources on the UI thread

Bug #6073717
Bug #6065504
Bug #6026515
Bug #5971725

Prior to this change, the destructor of DisplayList would always run
on the finalizer thread. This could cause a race condition if the UI
thread was busy rendering display lists at the same time leading to
various random native crashes.

CRs-Fixed: 353211, 343109
(cherry picked from commit 14baed35c789e53df7fd5150c90aa1c0c960ac6f)

Change-Id: Ib454326a8df9fc28ee140467a10d370ff21b9766
SurfaceFlinger: Invalidate HWC Geometry on buffer validity change

HWC layer's flags and properties need to be updated whenever the
properties of the layer change. This change adds support to update
the flag when layer's buffer validity changes.

CRs-Fixed: 334664

Change-Id: Ia785f58c8d89ebd18867c78d93f1733c82694435
(cherry picked from commit 242fc135f91e6967d0a37f6de78e6090643fa35d)
LGEQualcommUiccRIL: Fix multi-PDP support

Multiple concurrent PDPs are now functional, allowing the back-compat
singlepdp flag to be disabled

Change-Id: I8ef55e96b9f05d4a4dd8dbbaeddf6d48ded7fc67