webkit: Reduce processing in WebCore thread while scrolling and zooming

Change-Id: If29ccd0248b02f3dbc02957494d2aa942c7112ac
Fix crashes on video playback.

Change I8ee9162536da5711e383dd1d89dca4fa1da107be missed correct variable
initializations at one of two places, which led to a null pointer
dereference. This patch fixes that.
It also updates the variable that stores the original allocated length
to be of the same type as used in the OMX buffer header.

Change-Id: I15b083da8565ec3e8769d18ba1f19d3b12f54cb1
Change APP_SWITCH key event to open Android 4.0 recent apps switcher

Without this patch it opens the old Gingerbread-style recent apps.

Thanks to XDA forum member evilisto for demonstrating how to make this change:
http://forum.xda-developers.com/showthread.php?t=1450138

Patch Set 2: Fixed commit dependencies
Patch Set 3: Open app switcher when key is released rather than when it is
             first pressed, to conform with the behaviour of other keys.

Change-Id: Iea04c3015b773b5f375a01a9ee30c5130de13dff
enable bandwidth control: ignore the iptables errors

Change-Id: I2f85c8d93482b7c03631db810bc25d402164701c
libstagefright: Fix MPEG4 timestamp

MPEG4 timestamp needs to be stored with the classic Mac OS epoch not
the unix epoch. Header needs to be changed to version 1 to support
64-bit timestamp which is needed to represent the time.

Change-Id: Ie86c62349edaa96dd9c5c5cb8e2bdb89794ebb5f
Add an option to change the device hostname (1/2).

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

Change-Id: I44e4771f4415a32fe66867d4dd90f1ad138341e1
Fix off-by-one error when filtering application UIDs

A filtering check in writeLPr() mistakenly includes the first application UID
(10000) with the result that the package with UID 10000 is missing from
packages.list. This patch fix the error.

Change-Id: I3651beb346290db8e09317391b95a77aed1946b6
Signed-off-by: Magnus Eriksson <eriksson.mag@gmail.com>
Prevent empty overflow popup when there are no overflow items.

On a device with a hardware menu key, an empty overflow window can be displayed
if there are no items in said overflow menu. This leads to the next user touch
being swallowed in the action of dismissing the invisible window.

Change-Id: I9191e4b2e1ed4888e4bc7261e8b3f095a272a9b5
ipconfig.txt: fix a possible error in parsing

The format of /data/misc/wifi/ipconfig.txt is this one
  <version>
  <netA_key1><netA_value1><netA_key2><netA_value2>...<EOS>
  <netB_key1><netB_value1><netB_key2><netB_value2>...<EOS>

On the defy, i had an error on boot regarding a missing "id" in NetworkStats,
so i compared on another device...

It appears that defy one format was :
  <version><EOS>
  <netA_key1><netA_value1><netA_key2><netA_value2>...<EOS>

I dont know exactly what caused this format error,
maybe because the quota and usage stats are enabled on it.

Change-Id: I4cf70fe88688341b8eea007a08910acb6f4fcff7
wifi: Never reload the wifi firmware in frameworks

if overlay config is set to false (config_wifi_ap_firmware_reload)

Change-Id: I854011dacae6c724985b889c4254d735bcae48df
Return to cm9 softap config, it's easier to fix in netd

Change-Id: Ida72caf0a6361ef0639dbd695df7fc394d71c75a
softap: only keep the stop interface fix
Force the screen-on after phone calls, ignore proximity sensor

Proximity workaround for device specific settings, this is required
on phone with a case hiding the proximity sensor, or buggy sensors.

From Quarx2k <agent00791@gmail.com> (gingerbread)

Change-Id: I5b6174d5f19ef601dd503b4dadafb3defbf2bb00
EGL: disable warning on screen off

Change-Id: I6e84a017783229d751f4062532c10021a728789d
bootanimation: performance enhancements #2

This patch implements two simple performance enhancements, which
might benefit devices. They are completely opt-in by setting
the following variables.

  * TARGET_BOOTANIMATION_PRELOAD: will preload the bootanimation
    zip to memory; this is handy on devices where the storage
    might be slow. By preloading it, we get quick access to the
    zip file, and the animation doesn't stutter.

  * TARGET_BOOTANIMATION_TEXTURE_CACHE: allows maintainers to
    force texture cache on/off.

also fix the sign warnings related to int / size_t comparaison

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5

Conflicts:

	cmds/bootanimation/BootAnimation.cpp
bootanimation: final optimization patchset
enable bandwidth control: ignore the iptables errors

Change-Id: I2f85c8d93482b7c03631db810bc25d402164701c
OMXMaster: log failing lib name on error

Change-Id: I309863a4161b8b4c253e68aeb7b20276e2dcde8d
Overlay: small changes

Change-Id: I35aa4e84555733336f2c5f5b4a5a7b5e116d3cf7
Overlay: move the class in libcamera_client

Change-Id: I20a596983dbc624b39e41c3b139df94e843c05cb