Merge commit '3ac8da87bba83de254e612ff8387db23e6434119' into HEAD

* commit '3ac8da87bba83de254e612ff8387db23e6434119':
  Remove the obsolete film example.
Merge commit 'bbb5d6e256675199c21f0bb621e6233acc3418a6' into HEAD

* commit 'bbb5d6e256675199c21f0bb621e6233acc3418a6':
  Fixed scrolling issue when moving cursor in long TextViews.
Merge commit 'df7627db715a7a2e7f646f02a07caf2347bb90b8' into HEAD

* commit 'df7627db715a7a2e7f646f02a07caf2347bb90b8':
  Changes for bluetooth keyboard support.
Merge commit '2c63fe44f48cde663c3f9d5373ec93f7dd96f6f8' into HEAD

* commit '2c63fe44f48cde663c3f9d5373ec93f7dd96f6f8':
  Remove ContactHeaderWidget, because it lives directly in the Contacts App from now on

Conflicts:
	core/java/com/android/internal/widget/ContactHeaderWidget.java
	core/res/res/values/strings.xml
	preloaded-classes
Merge (-sours) commit '57f4e5bcf56752053815a755fee4867e722ce2b8' into HEAD

* commit '57f4e5bcf56752053815a755fee4867e722ce2b8':
  Fixed scrolling issue when moving cursor in long TextViews.
Merge commit 'f110d4b787b91dabe968a812e76e5c1f8d953487' into HEAD

* commit 'f110d4b787b91dabe968a812e76e5c1f8d953487':
  Move ImageProcessing and ModelViewer to reflected files. Implement boolean support.
Merge commit '9e2b0c505af55a56171db0d025368e7ea6c15458' into HEAD

* commit '9e2b0c505af55a56171db0d025368e7ea6c15458':
  Fix build error.
Merge commit 'f9b731d383790e0dfd407525efcd72bba4ee4895' into HEAD

* commit 'f9b731d383790e0dfd407525efcd72bba4ee4895':
  Add a WebSettings to control whether WebView will use some perf trick, e.g. pause updating the picture, during panning and zooming transition.

Conflicts:
	api/current.xml
	core/java/android/webkit/WebSettings.java
Merge commit '08ae317c21ec3086b5017672bba87420cc38a407' into HEAD

* commit '08ae317c21ec3086b5017672bba87420cc38a407':
  Add glOrtho equivalent to the OpenGL ES 2.0 renderer.
Merge commit '5666170c1e9a45c4ef72d9327dfbf859bf174b1f' into HEAD

* commit '5666170c1e9a45c4ef72d9327dfbf859bf174b1f':
  when corruption occurs, not clsing the db is casuing stack overflow
Merge commit '85bf02fc16784d935fb9eebfa9cb20fe46ff7951' into HEAD

* commit '85bf02fc16784d935fb9eebfa9cb20fe46ff7951':
  Fix the simulator build.
Merge (-sours) commit '0dfdc060056cb88e2d128bf6d80cf00447217eaf' into HEAD

* commit '0dfdc060056cb88e2d128bf6d80cf00447217eaf':
  Create CallManager class.
Merge commit '3e168335b3422008908ac6973bb36078fd979f35' into HEAD

* commit '3e168335b3422008908ac6973bb36078fd979f35':
  Fix simulator build again.
Merge commit 'dff6e6e3781de219472589e9629b75de42b624d8' into HEAD

* commit 'dff6e6e3781de219472589e9629b75de42b624d8':
  mtptest: Add option to specify storage path at the command line.
Merge commit '42dbfa51aefa2abe9e732b5161316deb28134759' into HEAD

* commit '42dbfa51aefa2abe9e732b5161316deb28134759':
  MTP: Use a fd instead of a file path in file transfer ioctls.
Merge commit '5dc0c8253b368239a90d7176ff6325ae5ba371b3' into HEAD

* commit '5dc0c8253b368239a90d7176ff6325ae5ba371b3':
  Add setXSSAuditorEnabled support in WebSettings.
Moved the DOWNLOAD_CACHE to /sdcard/.cache
 (Or whatever is exported in init.rc)

Don't use DOWNLOAD_CACHE variable as this is specified sometimes in
boot images that we are unable to change, use EXTERNAL_STORAGE
instead, I understand this may cause a problem if there is none
specified, however most of the time this will not be a problem.
Reverted because it breaks LED notifications.
In particular, those which are received when the screen is on such as missed calls.

The logic doesn't make sense. Instead of using mLedNotification == null to disable the notification, it is using !mPendingPulseNotification, but if the screen is on at any point mPendingPulseNotification is set to false, which disables the notification before it has even happened.
Whatever they were trying to do by writing this code, it doesn't work!

Revert "Only pulse notification light if a new notification has been received since the screen was last turned off"

This reverts commit 2117f6fa3880e55e6a90fbd8b3a12d469c9b738b.
ProcessStats.java: Fix for bootloops.
mBuffer size was too small causing the CPU frequency array to be truncated causing exceptions and then the bootloop issue.
MAX_SPEEDS was too small, due to the additional overclocking steps.

http://code.google.com/p/oxygen-rom/issues/detail?id=507
NotificationManager/KeyguardUpdateMonitor: Charging behaviour
Only turn LED green when battery is actually fully charged, not at 90%
Also, don't display 'charged' on the lockscreen until the battery is fully charged