Audio: Organize, include only newer ringtones

Change-Id: I8480bab6aee378db137630262015dcd14436aa12
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
GCC 4.7 now correctly implements the two-phase name lookup rules

See: http://gcc.gnu.org/gcc-4.7/changes.html

Change-Id: Iaf285e2ebf4456a063817858ffa358e9380e9012
Profiles: add sync and mobile data override (1/2)

Change-Id: I93fe2af38b3fe49c1aa555cf5f27c366fd38ab91
WebSettings: Add ro.cm.version to default user agent.

Change-Id: Ic14a1626ab7bec26297e2041bdcfb26ca7b3a440
Merge "GCC 4.7 now correctly implements the two-phase name lookup rules" into ics
Merge "SystemUI: Fix data activity overlay not being removed when data is disabled" into ics
Added support for a fourth audio device - dock

Adding persistant setting to choose to use usb audio

Change-Id: I3860c04c8f14e8e98d79d82a354a92b78565c3d1
Merge "Audio: Organize, include only newer ringtones" into ics
Merge "Profiles: add sync and mobile data override (1/2)" into ics
Make the volume overlay more functional 1/2

This Patch is to add new Volume Overlay Styles

 * Make the Icon on left touchable to go to Sound Menu
 * Always show the Phone Ring volume in expanded (for devices that have phone)
 * Always show the Alarm volume in expanded mode
 * Put an Option in Sound menu to choose a Style (see 2/2 patch)
    - Single : as default
    - Expandable : Enable the more link to expand all choosen volumes
    - Expanded : Show all volumes
    - Off : show no overlay
 * Fix a BUG that when you linked the volumes you got 2 phone icons
 * Fix a BUG when linked all volumes did not move when using hard buttons
 * Fix a BUG when you drag when linked, other expanded did not move
 * Added a default mode so non-telephone devices get Expandable by default

Note : When you are using BT in phone call
or the phone normally there is an extra expanded volume

Change-Id: Ie716e55ba6d4e89a1a67c59b9934d4e088833c5b
Add option for switching between UMS and MTP/PTP mode. (1/2)

This adds support for switching between UMS and MTP/PTP.
Framework part (this part) will only enable UMS if the config setting is set.
Standard is to enable UMS if the primary volume supports UMS.

p2: Fix compile error
p3: Some code styling
p4: Fix mysterious bug where USB notification is not fired when switching from UMS.
p5: Revert last commit.

Change-Id: I753b7dd3823958da1b043ca44b50118d67637cc1
Disable UMS splash when phone in locked state

Currently devices which use UMS will display the UMS toggle screen
over the lockscreen. This would allow unauthorised users to access
the contents of the SD card, when plugged into USB, without first
unlocking the device.

Disable the UMS splash if the phone is in a locked state.

Change-Id: Ic18462758344c327e70e6a70d674f08d8ad51cb0
Merge remote-tracking branch 'upstream/ics' into ics