Merge commit '03e489157191a7bda903babe9437076bf135bc41' into HEAD

* commit '03e489157191a7bda903babe9437076bf135bc41':
  Refactoring more webview zoom code into ZoomManager.

Conflicts:
	core/java/android/webkit/WebView.java
Merge commit '92c1571f0a5202f742d3318d5f852dc5e395d19c' into HEAD

* commit '92c1571f0a5202f742d3318d5f852dc5e395d19c':
  Fix 2584857: Reset grabbed state when SlidingTab visibility changes
Merge commit 'c6ea35372854521ea059eccaba5958a920228959' into HEAD

* commit 'c6ea35372854521ea059eccaba5958a920228959':
  Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.
Merge commit 'c9946d5bde66c10c4f8a2a98c70054be19751071' into HEAD

* commit 'c9946d5bde66c10c4f8a2a98c70054be19751071':
  Merge WebKit at r60074: Update UA string
Merge commit 'd72ec5f29d49ce1841b65044c6144fef7335bdec' into HEAD

* commit 'd72ec5f29d49ce1841b65044c6144fef7335bdec':
  when sqlite returns SQLITE_OK on SQLITEStatement.execute(), ignore it
Merge commit '631e0f163abbec84b755706eca8e9ede2cf0e41a' into HEAD

* commit '631e0f163abbec84b755706eca8e9ede2cf0e41a':
  bugreport: wifi: Add list of networks
Merge commit '18804b3fe4133e4e5c29118eac9dc1d426220db3' into HEAD

* commit '18804b3fe4133e4e5c29118eac9dc1d426220db3':
  Telephony: Process MT SMS with MTI set to 3
Merge commit 'fb4b88fddb95ae37bafb304bec8d7f0a0d447dd9' into HEAD

* commit 'fb4b88fddb95ae37bafb304bec8d7f0a0d447dd9':
  Fixes an error when displaying the current layout test index.
Merge commit 'a3f055e205b29a6bf6a7bb294916c9019d1b3402' into HEAD

* commit 'a3f055e205b29a6bf6a7bb294916c9019d1b3402':
  Fix layout test failure with fast/events/touch/touch-stale-node-crash.html

Conflicts:
	services/java/com/android/server/ThrottleService.java
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
Fix for what seems to be a typo responsible for some cases of issue 2207
(http://code.google.com/p/android/issues/detail?id=2207)

Change-Id: I61503990035718fef98e61f020fc7799e848424c
Merge fix for PduParser.java - Part 1

It looks like there was a merge issue in PduParser.java that duplicated
some code when the gingerbread code was merged.  The change in
gingerbread essentially put the entire PduPart.P_CONTENT_DISPOSITION in
an if statement, and set it to positive for all devices.

This fixes MMS problems on the Nexus One, and possibly other phones.

Change-Id: I47b0f17327f906055e1d358226b5db0ddfb2241f
Reduce Call Answer Delay

This patch sets a boolean acceptingIncomingCall to true on
acceptCall.  In setAudioMode, we set the mode as IN_CALL if the call is
ringing and acceptingIncomingCall is true.  This initializes the
microphone sooner, and should reduce the microphone delay.

Not sure if this is the best way to do this, but this reduces call
delay to under a second for me.  I thought I might as well upload it so
others could have a look at it.

Change-Id: Ied21acb81c8447fc9949cecf861c0be4ca67ebb0