Fix build breakage on non-STE hardware

Change-Id: Ia9e655857b3661215952439a3a88b3dc95c94b64
ST_ERICSSON: Adding multimedia extension

adapted from
commit 151ce20c17e1a097a2edf5b467650941a1cc6287
Author: Patrik Ryd <patrik.ryd@stericsson.com>
Date:   Thu Apr 5 20:18:30 2012 +0000

    Adding multimedia extension

    More specifically:

    - Add support for ST-Ericsson native pixel formats and conversion to
    and from these formats.
    - The Khronos headers are out of date and Mali extensions are missing from
    the extension headers. GLES2/gl2ext.h has been updated with the missing ARM
    extensions.
    - ST-Ericsson audio support for multimedia.
    - ST-Ericsson video support for multimedia.

Change-Id: I716bdd850bc0e3ef783f7814e98e39c53f70d7e4
ST_ERICSSON: Adding multimedia extension part2

manual import from
commit 151ce20c17e1a097a2edf5b467650941a1cc6287
Author: Patrik Ryd <patrik.ryd@stericsson.com>
Date:   Thu Apr 5 20:18:30 2012 +0000

    Adding multimedia extension

    More specifically:
    - ST-Ericsson audio support for multimedia.
    - Support for FM Audio in framework.

Change-Id: Iea956cb398793023cf8e8c003089ae6aef7fb843
Merge "ST_ERICSSON: Adding multimedia extension" into ics
FM Radio: Add support for FM Radio in Android

Creating interface and framework for using FM Radio
RX and TX from different vendors.

Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
Change-Id: Change-Id: I1a71aed01bfffdddfabf1cdfbfa3707cb1ed016b

Conflicts:
	Android.mk
	core/java/android/app/ContextImpl.java

Conflicts:
	services/java/com/android/server/SystemServer.java
Smdk4210RIL: fix emergency dialing

Change-Id: I1aec71d1b6f8e1e4d4fe67e76b6d5994c92c5959
FM Radio: Add support for FM Radio in Android

Change-Id: I4ab536853a3ab43530f198e52a87b26e2f3a161a
Merge "FM Radio: Add support for FM Radio in Android" into ics
Merge "FM Radio: Add support for FM Radio in Android" into ics
Revert "FM Radio: Add support for FM Radio in Android"

This reverts commit ebeefec360f101e4ba690b2873344676307ab11e

Change-Id: I9fefa73151cb9a4afd6cb2fd2d84f293e083ae0a
Merge "Revert "FM Radio: Add support for FM Radio in Android"" into ics
am: Allow more hidden apps on devices with lots of RAM

 * If more than 1.5GB is present, allow up to 40 hidden apps.
 * Number is somewhat arbitrary, but was found to work well on D2.
 * Also look at the sys.mem.max_hidden_apps value if given.

Change-Id: I2d3cf6e0dad1bc0b482cc37bf9c61ed2f2b4be51