Allow ADB to be enabled by default via a config overlay on a per-device basis.
This is useful for developers that are testing and troubleshooting boot issues
and adb ends up being disabled by default once the system kicks in.  This should
only be used for testing and removed once a device is deemed stable and able to
boot.

Change-Id: Ib17d4e10ec68640ce55a91d5b1067d3d37eeec9d

Conflicts:
	core/res/res/values/symbols.xml
Fix NullpointerException in MediaMetadataRetriever

According to the API documentation and the ICS implementation
the setDataSource(String) method throws an
IllegalArgumentException if path is null. In JB a
NullpointerException is thrown instead. This fix restores
the earlier behaviour.

Change-Id: Ic47baadf91076acc227d92d84f6b8d1d6ecd0c03
Remove useless/repetitive code

fixScale(float) method has been extracted from the code but the original
code has been kept in place. Because of this, the animation scale is
"fixed" twice which is not necessary. This patch, simply call
fixScale(float) once and stores the result of it in the scale variable.

Change-Id: I50aeacbc2c13ebbf447506ae4309d50c0e313837
remove dependency if airplane mode is not set

Change-Id: I8c01b4ac9cea8271b4a8140b24cfa56280435448
increase lockscreen widgets

Change-Id: Ie2e28873c8401e05bd1be59fe51dc215fbbded5e
selectable text in gtalk

Change-Id: I9fe3634dfdc64cb37ece7f431d12845c164d639b
postpone sending scroll mesage to webcore thread

post a message to the UI thread instead, to send the scroll message later

Change-Id: Iaf234effb77f1d8c6a50c9c288c5e8c269b38e40
Fixed a leaked partial wakelock in AbstractThreadedSyncAdapter.

This fix ensures that onFinished() is always called in a syncClient
even if the application lacks the READ_SYNC_SETTINGS permission.

Change-Id: I944717e71ceae06a665f8a3b1199b41d73e12da4
Fix leak in videoEditor_renderMediaItemPreviewFrame

This change makes sure that the pString is released
even if any of the error paths are taken later.

Change-Id: I533f8254cb853767a21571cddb1c130f8efde2b4
bootanimation: performance enhancements

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 fixes the sign warnings related to int / size_t comparison

Change-Id: Ie92d1b0aa90b43ba39c368a2a33657a60c3a64b5
A tiny optimalization

Change-Id: Ib2cb773ffe5cb579c2b46bd0e6a5a3f2c55d190d
LegacyUSB: Squashed commit with updates for 4.3

LegacyUSB: add overlay for UMS lun and use existence of lun to enable legacy USB

LegacyUSB: Add support for legacy USB implementations

Rebased for JB 4.3

Option to hide Adb notification icon (framework) - authorship belongs to Rick C

Change-Id: Id14f70f7e21b689c08cadef69f69da711c7dc566

Conflicts:
	core/res/res/values/symbols.xml
Allow compatibility with 'old' Touchscreens (Linux < 3.1)

BOARD_USE_LEGACY_TOUCHSCREEN := true in your BoardConfig.mk

Support the Multitouch, 10-points tested on the qtouch (Defy/Droid)

Remember to add the new idc file required for the touchscreen/keypad
Example: /system/usr/idc/qtouch-touchscreen.idc

Change-Id: I62f8b36350784ec6ba73f4a2d942f441fe710ae3
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>