libbinder: Export older versions of binder symbols

libbinder's enforceInterface function has changed, and even though the API
is backwards-compatible, the ABI isn't. Proprietaries linked with an older
(pre-gb) libbinder.so will fail without this
Additionally, ICS changed the argument types for appendFrom; add a wrapper
for that one.

Change-Id: Ib719f6fba3d8725ad81a2afaa419b7ee52fd3780
MemoryHeapBase: ifdef for gingerbread compatibility

Allow to "revert" by a board config flag the offset member addon
see commit f24c4cd0f20 (aosp change id Ie618fb5c0718e)

This change is required to use overlay based proprietary camera libs
coming from gingerbread and froyo builds.

This change also requires a global cflag named BINDER_COMPAT
because a lot of modules use the MemoryHeap includes

Add this in your BoardConfig.mk :
COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT

Change-Id: Ib0370fbf4c4770f8141607a8fc393639ffbdc8e2
Displayhardware: fix "correcting MDP composition"

i dont know how the hell this was missed when applying
commit 0ac32310011be2a5dbb951bedf207793045a4cd1
Author: Naseer Ahmed <naseer@codeaurora.org>
Date:   Sun Mar 4 00:52:27 2012 +0100

    DisplayHardware: Set MDP composition flag correctly

Change-Id: Ie1ad7e26a7d06d4b7cbe53cf67fa8c237a62b55d
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)
Revert "SurfaceFlinger: Skip composition when rotation is not completed"

This reverts commit c6722eb295df47f9edae0ee46d201090a689783f.

Conflicts:

	services/surfaceflinger/SurfaceFlinger.cpp

Change-Id: I543fe12c412de3a20afce68b9b23ea33737b2214
SurfaceFlinger: Return the current transform value when queried

When an application queries the transform hint,
SurfaceTexture returns the value based on the previous
queueBuffer function. When query() is called before any
queueBuffer() calls, it doesn't return the current transform.
Make sure to get the current transform from a layer
whenever query() is called.

(cherry picked from commit d9668f53f8c41c16588531183f3ec8d6780b234d)

Change-Id: I635481ccd7d22148d2b7ab92f4e8c0c63ef7e715

Conflicts:

	libs/gui/SurfaceTextureClient.cpp
	services/surfaceflinger/SurfaceTextureLayer.cpp
	services/surfaceflinger/SurfaceTextureLayer.h
ifdef
SurfaceTexture: Reset buffer values on disconnect.

When the surface texture client disconnects, reset the values set
for buffer width, height, transform and format. This is to ensure
that the same surface texture can be used by another client with
different parameters without any corruptions.

Change-Id: I1e158f4641d7b06cea9976ad2827c7b12c95f538
CRs-Fixed: 347382

Conflicts:

	libs/gui/SurfaceTexture.cpp
SurfaceTexture: returning the current transform value

Change-Id: I2975057f47b219ef1ebe73cb8ef85048dc22c784
libhwui: Correct transform used for drawing text-shadow.

The model-view transform used for text-shadow in drawText() should
be in sync with the transform used for main text draw.

CRs-Fixed: 342161

Change-Id: I6bb36691c84809aaede65ad5fc1c4a1e90f1ecfc
(cherry picked from commit d4c8be8416c6c3064e43ed80ebacb2a177be3019)
frameworks/base: capping live wallpapper fps

CRs-Fixed: 343813
(cherry picked from commit a3343a04940bcd31d1a9992336ab178777fd0ff9)

Change-Id: I46b805f8cf74995a744eb6c9e0cd0d593d3af3b9
remove LOCAL_CFLAGS += -DQCOM_HARDWARE
Revert "qui: qsd8k: skip S3DFormat update, not supported anyway"

This reverts commit 04ec72419384cdb6608078030b54bffe9ff5263d.

Conflicts:

	libs/gui/Android.mk

Change-Id: Id95c96415ebbb7346b7c67a2be10555b5919e2ea

Conflicts:

	libs/gui/Android.mk
Revert "hwui: qsd8k: dont remove opaque check"

This reverts commit 12ca7b58c0693009bc6c66d1bf9ad07d1af6dc0c.

Conflicts:

	libs/hwui/Android.mk

Change-Id: I3460dff61433937f2391305e3b2734c9cd1f33c9

Conflicts:

	libs/hwui/Android.mk
Revert "surfaceflinger: qsd8k: compat for new commits"

This reverts commit 8dbaa7dc57b336547a6c611efc20c6ff48ff33d7.

Conflicts:

	services/surfaceflinger/SurfaceFlinger.cpp

Change-Id: Ic38316da2263f316e84acfa0d01ee43f81c53fcb

Conflicts:

	services/surfaceflinger/Android.mk
surfaceflinger: copypaste fail

Change-Id: I27d2c1208ce0542acda54eb511dc2fc51139f717
remove here too