Framework: Slide lock delay support (Part 1 of 2)

This commit adds the framework support for the Slide lock delay settings while
retaining the security integrity of AOSP.

Change-Id: Ib023025535c022213dc13de82b0ffae9a53d9ef5
frameworks_base_core - Update Italian Translation

Change-Id: I0e38f93479f87695562446cc6a76a920e6652b99
frameworks_base_core - Update Italian Translation FIX

Change-Id: I4be024ee2a3abb3d27540a017f4914041990d0f8
libmedia: renamed cflag for samsungs isSeparatedStream()

also needed on non-yamaha sound phones
BOARD_USE_YAMAHAPLAYER -> BOARD_USE_SAMSUNG_SEPARATEDSTREAM

Change-Id: I5326f4e561102df4d47152b560fe0185fa848ff5
telephony: SamsungRIL cleanup

== RIL ==
* remove unused "found" boolean in processSolicited
* make requestToString/repsonseToString append the request
  ID on unknown requests.

== Samsung RIL ==
* add CM copyright header to file
* SAMSUNG_UNKNOWN_MAGIC_REQUEST_3 is actually UNSOL_AM
* add DIAL_EMERGENCY to a SamsungRIL::requestToString
* add DIAL_EMERGENCY response to processSolicited
* move emergency dialing into dialEmergencyCall()
* dialEmergencyCall() also ditches UUS info like on stock.
* cleanup and improve readibility of responseCallList()
* move isVideo before isVoicePrivacy, as it is in stock:
    ref "stock" code: http://pastebin.com/WePMyXDi
    ref "stock" order: isMpty then isMT then als then isVoice then isVideo
                       then isVoicePrivacy
    ref cm code: http://pastebin.com/UU105gNr
    ref cm order: isMpty then isMT then als then isVoice then
                  isVoicePrivacy then "videoMagic"
* general cleanup

Change-Id: Ic4ada0a3d6ac1bf580b3930a2599a91e822540ef
Allow configuration of DHCP lease time in tethering

Make lease time for DHCP offers configurable via
Settings.Secure.TETHER_LEASE_TIME which is either the lease time in
seconds or Settings.Secure.TETHER_LEASE_TIME_DEFAULT for the default
lease time defined by netd.

This change depends on Ic65818fdb472a49c72fb56b1ad3ac33e4136a9a4 and
I0b369889f7f790f43f9c89da0c4e133a342debd7.

Change-Id: I2a83242bcacccb55780716845d4f67728612cc74
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)
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
extend PreferenceActivity for title text on a single pane mode

startPreferencePanel() ignores titleText on a single pane mode
this commits extends PreferenceActivity by adding EXTRA_SHOW_FRAGMENT_TITLE_TEXT to intent

Change-Id: Ie0702dc20b17504148f4da9cc83a6d7865d95423
Change SIM Pin lock entry to center of window with transparent background
for devices with large screens (Tablets)

Change-Id: Ieff8b7c0062c09d97da6333d344d4fbb4ef20a68
Use the Hotspot driver call from WIFI HAL

Change-Id: Ie27de1c073681e92ba1602dcd40ef1aa297fd4f4
Ad-hoc network support (framework part)

Based on GB patch by havlenapetr

Change-Id: I588b6b46c00b883a6a85317cdefdf5626bebae43
Allow customization of SoftAp

Support for device with SoftAp only relying on one interface.
Support for device with SoftAp that does not required manual firmware.

Change-Id: If2db6e8ce675c3214ce645231c7a354f41ea0cc6
Implement additional keycodes

Adds keys for

*) WLAN, Bluetooth, touchpad toggle,
*) brightness down, up, auto and
*) screenshot

as found on docks of current Asus Transformer devices.

Change-Id: I94a5a4e80e5de85db49a1044c7dcb9ef28db075c
Adjust statusbar PowerWidget indicator color to match ICS blue

The current color of the indicator when active doesn't match
the blue line below it due to the resulting alpha value. This
also makes the on/off status more noticeable.

Change-Id: I45923e0cadf60950f8c7566178b97bb8f0e99fc5
Fix a couple of nasty heap corruption bugs.

- When replacing the buffer pointer with another one, the allocated
  length wasn't updated. As the TI encoder relies of those being matched
up (it e.g. does a memset(pBuffer, 0, nAllocLen) at certain places), this
could lead to random memory being overwritten (or to a segfault when
reaching the end of the mapping)
- When replacing the buffer, the old buffer wasn't saved and restored
  before calling freeBuffer. This led to a different address passed to
free() than was returned by malloc(), could lead to all kinds of weird,
undefined behaviour.
frameworks: Fix audio routing when plugged to docks

A patch by StevenHarperUK <StevenHarperUK@gmail.com>, with
Change-Id: I3860c04c8f14e8e98d79d82a354a92b78565c3d1 forces an audio
reroute each time a CarDock is plugged in (status == 2 means cardock,
not an audio device; see core/java/android/content/Intent.java).

This caused audio over bluetooth to stop when plugging in a dock.
This patch disables this check by default
Lockscreen : Customizable shortcuts

Allow users to choose lockscreen shortcuts / icons :
	Phone - 1-5 targets
	Tablets - 1-8 targets

Patchset 2  : Fix default target reading
Patchset 3  : Switch to resolveActivityInfo
Patchset 4  : Case check for empty target
Patchset 5  : Add index check for targetDescriptions
            : Minor cleanup
Patchset 6  : Custom icons
            : The RSS, Browser, Facebook, Twitter and Podcasts images are
              derivative works by DvTonder made from the from the WPZOOM Developer Icon Pack,
              licensed under Creative Commons Attribution-NonCommercial-ShareAlike, (c) WPZOOM
Patchset 7  : Fix variable reference
Patchset 8  : Change storing method (dynamically get drawable id)
Patchset 9  : Randomz...
Patchset 10 : Icon pack support (Template found at : https://github.com/Danesh/CmIconPicker)
            : Removed stock messaging icon, use ours instead.
Patchset 11 : Code cleanup

Change-Id: I93c842a78fff3517002f7be08555db5b585f6eb8
Merge branch 'themes-4.0' into 'ics'

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

Change-Id: Ibc0f6aa12cae829d593eaf4795b8b70f78c86614