Revert "added ability to keep Parcel::appendFrom GB compat"

This reverts commit ca84e1f7368f48675271e8fd3979a8d13e11027c.
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
Revert "libbinder: MemoryHeapBase patch for camera"

This reverts commit 8f3edafc63ca3b80b697dcc2989cecf6afd2a87d.
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
SystemUI: Fix data activity overlay not being removed when data is disabled

If mobile data connection is disabled while there is active data
activity, the data activity overlay will not be removed and will
be stuck there. This patch fixes that.

(Previously merged 5c39b1ce3897d166d9c4578106e10a17037b0213 but it was
accidentally removed in 874c5d8cf02054037d137fc38b32b3924e312e8b due to
merge error.)

Change-Id: I0eda652a7533fed8db58d7dca2ba60b0b28a4b81
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
FLACExtractor: Don't check size of first STREAMINFO

The size of the first STREAMINFO is not necessarily 042, as some
encoders may fill it with padding. The metadata parser handles
premature EOF just fine, so we don't need to be strict about it.

Change-Id: Ic077633c2622bb54402cdd8f04d30cd2b7776727
Lockscreen: Make wave animation follow the unlock toggle.

Change-Id: If4ec26133510354c0c0fe7a490bb58f3d07e248c
Merge commit 'themes-4.0' into 'ics'

Change-Id: Ifd5d41523d30c67b2ada9f3b21efcf415dd09e44
fwbs: Add theme compatibility settings constants.

Change-Id: I1c1eb0d7c28a03e0f649fb9e4ddcbdc2152bf5f5
Allow theming of framework UI elements.

As the theme engine works by replacing resources while loading the APK,
framework UI couldn't be themed so far. Workaround that by manually
creating a com.android.systemui package context and using that for
showing the UI. This attempt is a bit hacky, but should be safe as
a) systemui should always be present
b) if it isn't, we fall back to no theming

Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac

Applying theming to more framework items.

All dialogs and notifications should be covered now.

Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
SystemUI: Recreate navigation bar when rebuilding the status bar

Ensure that all listeners (such as orientation change...) get properly
linked in the newly generated view, to avoid errors due to non-attached
views after applying a theme

Change-Id: I46992694844944564739ac12a8da43b6348658c9
SimUnlockScreen: Explicitly register themeChange receiver

The unlock activity changed a bit in ICS, so we need to register the
receiver explicitly instead of relying on onResume() to be called in
order to set it up

Change-Id: I9ac9463f249b37466f8daf99d34b85c15b06d43f
Fix system crash introduced by themeable framework

After entering the PIN the system crashed due to trying to unregister a
not registered BroadcastReceiver.

Handported from http://review.cyanogenmod.com/#/c/16010/

Change-Id: Iad1309089208e3a615289dbc23b0f4ef9bbce4e7
restart SystemUI on theme change

This will forcefully (and ungracefully!) restart the
	SystemUI process, to recreate it cleanly and apply
	the theme without any errors. SystemUI usually takes
	~5 seconds to restart.

Change-Id: I00ffa98d06c5ddbf09aaf036eeec838d20cfb409
GlobalActions: Fix themeing of the ShutdownThread

Apply the correct UI context so the reboot dialog is properly
themed

Change-Id: I115c81538ab9c27223b2090279f877d5b68d6dd3
Themes: Missing code from themes commit.

Change-Id: I02600254951534253951ae32b704ca602d3a158c
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