Merge commit '9b815d080145f0bc8effc9e011090010ad51f203' into HEAD

* commit '9b815d080145f0bc8effc9e011090010ad51f203':
  DumpRenderTree changes
Merge commit '341e22ffceb5be2dd143e749aa2d85ef1e0dd53f' into HEAD

* commit '341e22ffceb5be2dd143e749aa2d85ef1e0dd53f':
  Refactor zoom logic from WebView to ZoomManager.

Conflicts:
	core/java/android/webkit/WebView.java
Merge commit '970effc07c5456af6d85f3c22a644248a55f3f6a' into HEAD

* commit '970effc07c5456af6d85f3c22a644248a55f3f6a':
  Add indexeddb files to the skip list
Merge commit '4aaf8ec9dfb9a9e0f3d84e8ee95d7ac2ebca8d92' into HEAD

* commit '4aaf8ec9dfb9a9e0f3d84e8ee95d7ac2ebca8d92':
  Do not invoke onProgressUpdate if the task is canceled. Bug #2734382
Merge commit 'd315ee93c678a109b57fcad4ba1456e9b5244648' into HEAD

* commit 'd315ee93c678a109b57fcad4ba1456e9b5244648':
  Fix memory leak in LocalActivityManager. Also properly removes embedded activities. Bug #2738247
Merge commit 'ccd954480c32e9f35357b66023ae912e7f3fa76b' into HEAD

* commit 'ccd954480c32e9f35357b66023ae912e7f3fa76b':
  cleanup some small but ugly things. all minor things.

Conflicts:
	core/java/android/database/sqlite/SQLiteDatabase.java
	core/java/android/database/sqlite/SQLiteStatement.java
Merge (-sours) commit '55bd466d783384db74969881a3a1dfbcf56b3179' into HEAD

* commit '55bd466d783384db74969881a3a1dfbcf56b3179':
  Fix build by adding Java 6 API changes that were not in the earlier merge.
Merge commit '26ae7875ad41c79d595a137c2f4a55c8d8e16f4c' into HEAD

* commit '26ae7875ad41c79d595a137c2f4a55c8d8e16f4c':
  Remove dead classes from the preload list.

Conflicts:
	preloaded-classes
Merge (-sours) commit 'e2417541b4c1c0954295dd77d6c95512f99a9f91' into HEAD

* commit 'e2417541b4c1c0954295dd77d6c95512f99a9f91':
  Preloaded class list problems shall no longer break the build.
Merge commit '74f170f9468d3cf6d7d0ef453320141a3e63571b' into HEAD

* commit '74f170f9468d3cf6d7d0ef453320141a3e63571b':
  new API in Context. on openDatabase, new param DatabaseErrorHandler

Conflicts:
	api/current.xml
Merge commit 'c982f60e982c1d2df9f115ed9a5c3ef3643d0892' into HEAD

* commit 'c982f60e982c1d2df9f115ed9a5c3ef3643d0892':
  Fix alignment issues with RTL paragraphs.

Conflicts:
	core/java/android/text/method/Touch.java
Merge commit '03acd51bae7d3fe746d21aa89f5b6de539d92bc8' into HEAD

* commit '03acd51bae7d3fe746d21aa89f5b6de539d92bc8':
  fix docs errors
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
automatic backlight: Allow level decrease and increase
activitymanager: fix for onstartcommand
onstartcommand is not being called with a null intent, which causes services not to be restarted, in particular the EAS service.
http://groups.google.com/group/android-developers/msg/0968c394999f2967
Should resolve issue 741 providing it doesn't cause any regressions.
audiosystem: Alter audio routing policy
This will work around 2 issues.
1) the stream pause whilst media is playing.
2) the strange camera crashing behaviour when a headset is plugged in. Issue 709.
I don't think this will break anything or alter the behaviour of anything else.
NotificationManager: Don't play notification if in call
Fix for issue 779