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
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
Ad-hoc network support (framework part)

Based on GB patch by havlenapetr

Change-Id: I588b6b46c00b883a6a85317cdefdf5626bebae43
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
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
Merge branch 'ics' of git://github.com/CyanogenMod/android_frameworks_base into opensensation
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)
Merge "FLACExtractor: Don't check size of first STREAMINFO" into ics
Merge "extend PreferenceActivity for title text on a single pane mode" into ics
Merge "Change SIM Pin lock entry to center of window with transparent background for devices with large screens (Tablets)" into ics
Merge "Framework: Slide lock delay support (Part 1 of 2)" into ics
Merge branch 'ics' of git://github.com/CyanogenMod/android_frameworks_base into opensensation
Use the Hotspot driver call from WIFI HAL

Change-Id: Ie27de1c073681e92ba1602dcd40ef1aa297fd4f4
Merge "Ad-hoc network support (framework part)" into ics
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
Merge branch 'ics' of git://github.com/CyanogenMod/android_frameworks_base into opensensation
Merge "Implement additional keycodes" into ics