Add empty libmedia_native in old location

Submitting this first, in the old location, will allow early testing of
the build for all the dependent projects.  Then those projects will not
need to be updated atomically when libmedia_native is moved.

Change-Id: I31ab315e53970986d18a4e3b1673e31460f6a3f1
Merge "Add empty libmedia_native in old location"
Merge Aosp Upstream Patches

Conflicts:
	core/java/android/content/Intent.java
	docs/html/sdk/android-4.0-highlights.jd
	drm/jni/android_drm_DrmManagerClient.cpp
	media/libmediaplayerservice/nuplayer/NuPlayer.cpp
	media/libstagefright/ACodec.cpp
	media/libstagefright/AwesomePlayer.cpp
	media/libstagefright/NuCachedSource2.cpp
	media/libstagefright/OMXCodec.cpp
	media/libstagefright/codecs/aacenc/src/adj_thr.c
	media/libstagefright/codecs/amrwbenc/inc/basic_op.h
	media/libstagefright/codecs/amrwbenc/inc/isp_isf.tab
	media/libstagefright/httplive/LiveSession.cpp
	services/camera/libcameraservice/CameraHardwareInterface.h
	services/surfaceflinger/DisplayHardware/DisplayHardware.cpp
	wifi/java/android/net/wifi/WifiStateMachine.java
Revert "Cause Qcom Error/Break Mpeg4 Playback"

This reverts commit 8c9bac1105bd9b7ad9e94fdac8019afff9087cce.
Revert "QualcommNoSimReadyRil: Get rid of processSolicited/unsolicited overloads"

This reverts commit 116d49eaeebdb0c349f379f4c0ffe85c1f0bb0c0.
Remove Legacy Camera Overlays
MemoryHeapBase: Save and binderize the offset

Conflicts:

	libs/binder/Android.mk
MemoryHeapBase: Save and binderize the offset by build
Binderize locally to avoid missing calls before variable set

Conflicts:

	libs/binder/Android.mk
Overlay Patch [zbwu86]
Realign overlay for compatibility for other revisions of UI

Conflicts:

	libs/ui/Android.mk
QualcommNoSimReadyRIL: Drop the initialstatechange check

ICS doesn't have it anymore, and it actually breaks the P930's init
sequence

Change-Id: Ic9dfb5f2eddcda825a6d3fc5d380ebc4d56add90
LGEQualcommUiccRIL: New subclass to deal with the latest qcom RIL

Yet another generation of CAF RIL, this one is necessary to support
multi-RAT (GSM/LTE) radios...

Change-Id: I87b5126ffbc16f3ccc7caaf227354edf95543c35
Profiles: Sort profiles alphabetically
Profiles: Case insensitive duplicate name checking

 - Prevents duplicate names such as Default/default

Change-Id: I479a34192295677653985a66b05becb2d1b6cdf3
profiles: Add support for disabling screen lock

 * We can now have the option of disabling lockscreen security as part
   of the profile. A good use case for this is to create "Car" profile.
   You certainly don't want to input a pattern, or worse, face-unlock if
   you should happen to break the law and use your phone whilst driving.
 * Profile system now permits insecure mode or entirely disabling
   lockscreen as an override.
 * Fix issue where changes aren't applied if the active profile is
   modified.
 * Also fix a couple of string-comparison derps.

Change-Id: I07a09b7011bad4f32cdd7bfa576e3befa71193ea
bootanim: Don't cache textures if they're expected to use a lot of VRAM

bootanimation cached all the textures generated until the animation
was completed.
For Hi-res animations with lots of frames (like the new CM9 anim on
xhdpi devices), this implied using large amounts of video RAM, more
than most devices actually have available, causing the animation to
stall (and in some cases, gralloc to lock up); so if an animation is
expected to use a lot of RAM (rough estimation based on frame size
and number of frames), disable cache entirely and generate the textures
on demand

Change-Id: I157e5cdde2aab1d82d980d77cbedd9f127c83a1d
profiles: Fix "disabled" lock screen mode

Without this fix, it's impossible to select the "Disabled" lock screen
mode.

Change-Id: I214f52093d78631f799a604394e838a4b329494a
Telephony: Make the compat-flag verification method available everywhere

Export needsOldRilFeature() through the commands interface to make it
available to other parts of the telephony stack

Change-Id: I0e6fec083f5208795bf5067f8c73e35660e942ed

Conflicts:

	telephony/java/com/android/internal/telephony/RIL.java
Telephony: Make partial QCOM USIM support more widely available