Blacklist => Whitelist
jni: remove obsolete flag from makefile

Change-Id: Ia7e67694a736745333e9d36396b8cb6194fd26ec
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Sensors could be disabled by any application

In the SensorManager API unregisterListener any application could
unregister any sensor. This lets any application disable a sensor
which another application is using.
This fix restricts the applications to only be able to unregister
a sensor it has previously registered to.

Change-Id: Ief926dd29f480dd97626160810dff87a8d3ac8dc
Revert "Additional omap-zoom updates"

This reverts commit bf6a640be50279851a92a0e1784f62d81ed73658.

Conflicts:

	opengl/libs/Android.mk

Change-Id: I224e30eb59972a5f0fe981041b1fd428a99d680a
Revert "libstagefright updates"

This reverts commit 446b7d785724ad376327b958464f6aff695c0d35.
Revert "we do not have the libasfextractor"

This reverts commit 08b7ac07bc33a344003e3abe0c1a642c055c436b.
Revert "Fix crash"

This reverts commit a7eec82a93ac61e9036858f4bc94b55b270e8b2f.
Revert "Additional core OMAP_ENHANCEMENT requirements"

This reverts commit dc15a3eab2122819cc592309b19b88428205a1b3.

Conflicts:

	include/media/stagefright/ColorConverter.h
	media/libstagefright/colorconversion/ColorConverter.cpp

Change-Id: Ida74c32afa6d7406203debdf95c7c2df51499c30
Revert "Fix build"

This reverts commit 12d3b3d709a2e969cd6fa06e574e933677d41e6f.
Revert "omapzoom changes for stagefright"

This reverts commit 480e76aa111bbbd3cd715b225b54d4d23857fce6.

Conflicts:

	include/media/stagefright/MediaSource.h
	include/media/stagefright/SurfaceMediaSource.h

Change-Id: I8429ea81ade70635c97e4fbf574555170e635242
Revert "Update 'updateTexImage()' for OMAP_ENHANCEMENT compatibility"

This reverts commit ba9fb616394e4f625d28d1d49e1cb8e714ecb0aa.

Conflicts:

	libs/gui/SurfaceTexture.cpp

Conflicts:

	libs/gui/SurfaceTexture.cpp

Change-Id: I32323f70ef5e9c7b3b63af72dd604e4a6a97ec2b
Revert "GUI libs OMAP_ENHANCEMENT support"

This reverts commit 0b2f8e48fb0255aff0e483bd77b4a195f8ccf0e5.

Conflicts:

	libs/gui/ISurfaceTexture.cpp
	libs/gui/SurfaceTexture.cpp
	libs/gui/SurfaceTextureClient.cpp

Conflicts:

	libs/gui/ISurfaceTexture.cpp
	libs/gui/SurfaceTextureClient.cpp

Change-Id: Ic7f3b0a91bc41d394d028233815f1f32f4c179b6
Fix graphics after reverts :-/
Revert "Import the necessary header changes for OMAP_ENHANCEMENT from omapzoom"

This reverts commit 19ce2e51778a6a94855c9c15935d3357a3668dc6.

Conflicts:

	core/java/android/view/SurfaceView.java

Change-Id: I635e35a32bf3170c08eae376075c7cadba30c252
Revert "EGL: Fix reporting of incorrect extension string"

This reverts commit 0b31453bfa3d71664bb6fa154f6a8a5edc6ef543.
Removing wrong equals method in comparator.

This implementation of equals method has been likely created by
template in an IDE. It is useless, possibly leading to poor performance
and completely violating the contract of equals method as defined in
Object base class.

Change-Id: I5e7fd759b7bd9370b44d9374b57390c4e9feba02
stagefright aacenc: Fix inline asm constraints

Output-only parameters should use =r or =&r constrains, never +r.

This fixes a lot of warnings about the variable 'result' being
used uninitialized.

Change-Id: Ie689fce8c6ecd874d4fc66e87687c67551d9ab6a

Conflicts:

	media/libstagefright/codecs/aacenc/basic_op/basic_op.h

Conflicts:

	media/libstagefright/codecs/aacenc/basic_op/basic_op.h
Change StringTokenizer to TextUtils.StringSplitter

Replacing StringTokenizer to TextUtils.StringSplitter,
since TextUtils.StringSplitter is more suitable for basic splitting tasks.
Also increased initial values for HashMap and StringBuilders to avoid
unnecessary buffer enlargement operations. This improves the performance
of these operations.

Change-Id: If9a5b68e6596ba9a6d29597876b6164ef34b57ac

Conflicts:

	core/java/android/hardware/Camera.java
Finish up tokenizer conversion from ac07037dee14094d3b46c24d2cb241f395431163

Conflicts:

	core/java/android/hardware/Camera.java

Conflicts:

	core/java/android/hardware/Camera.java

Change-Id: Idf5de7237506f282dc4e2cb2e06fd09e813c3d29
stagefright aacenc: Fix inline asm

- don't write input-only registers
- use temp variables instead of hardcoded regs
- don't build constants manually, specify as asm inputs
- remove unnecessary volatile qualifiers

Change-Id: I3b9bb2d30768bcf409dc478bde4489135eeb50d7

Conflicts:

	media/libstagefright/codecs/aacenc/basic_op/basic_op.h

Conflicts:

	media/libstagefright/codecs/aacenc/basic_op/basic_op.h