38854 Commits

Author SHA1 Message Date
Cary Clark
b83a4b98de Merge "pass enter key to webkit more often" into honeycomb 2011-01-06 11:29:33 -08:00
Xavier Ducrohet
29c288da52 Cherry-pick 9b53dd9d60a01ddb1307177c296c7b4fd6114753 from master
Change-Id: I670872542feb62c47fe693eb183b19e2eef2b20d
LayoutLib: use new API with log in init method.
2011-01-06 11:11:05 -08:00
Cary Clark
ddbda005ad pass enter key to webkit more often
If the cursor is active and on a node that doesn't want
key events, treat the enter key as a click.

Otherwise, pass key down and key up to webkit.

A companion change in external/webkit adds frames
as nodes that wants key events.

bug:3325093
Change-Id: I134d2999505925ee1e571841759cb295103b5a30
2011-01-06 13:42:11 -05:00
Steve Block
67ba204aa2 Tidy up CacheManager comments and documentation
Change-Id: I3a7d3836a51ef3092652ade87f29bc84af69ee7d
2011-01-06 17:20:21 +00:00
Steve Block
e7fc1d26c5 Remove an unused non-public CacheManager method
Change-Id: Ia0bef0a66167ce948802701e1dd85e82b937dbdf
2011-01-06 17:19:58 +00:00
Mike Lockwood
264f6cd0b9 Temporarily remove UsbManager support for USB host.
A new USB host API will be added in an upcoming commit

Change-Id: I5816c10c7acd236d31ab8ae255fc83c77121eea0
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:48:19 -05:00
Mike Lockwood
27480cd494 Remove support for obsolete PTP content provider
This will be replaced by a new PTP host API in an upcoming commit.

Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:47:56 -05:00
Mike Lockwood
65d2a4cb5f Remove CameraBrowser test app
Change-Id: I7e04ef674746c5c2cdf421a2b9ec440d7ea831bd
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:47:25 -05:00
Mike Lockwood
215b682b8a MTP: changes to use new usb_request support in libusbhost
Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-06 11:46:55 -05:00
Steve Block
faba502a8d Update WebView useragent string for merge to WebKit r72805
Note that this is a backwards merge from Chromium release 9.0.600.0
to 9.0.597.0, to align with the Chromium 9 stable release branch.

Change-Id: I9cf18eeaa9bc6eb2964272721b686c8ea0b2b897
2011-01-06 14:30:22 +00:00
satok
82652574b7 Merge "Check null pointer agressively." 2011-01-06 02:40:07 -08:00
satok
4fdf1de47f Check null pointer agressively.
Bug: 3250622

Change-Id: I25f367ad1bd6a741282603f2f587f7a1256ef460
2011-01-06 19:35:12 +09:00
Chia-chi Yeh
f1304572ae Merge "Enable built-in echo canceler if available." 2011-01-06 01:56:27 -08:00
Chia-chi Yeh
d87be273aa Enable built-in echo canceler if available.
1. Always initialize AudioRecord with VOICE_COMMUNICATION.
2. If echo canceler is available, disable our echo suppressor.

Change-Id: Idf18d3833189a8478c1b252ebe6ce55e923280b3
2011-01-06 17:43:24 +08:00
Chia-chi Yeh
57d22a7430 Merge "Do not set back to AudioManager.MODE_NORMAL in SipAudioCall." 2011-01-06 00:10:26 -08:00
Chia-chi Yeh
4bf82df2f0 Do not set back to AudioManager.MODE_NORMAL in SipAudioCall.
Change-Id: I8f68e01e5f8c73bb8afd44312cbfadb55aab4330
2011-01-06 15:51:45 +08:00
Adam Powell
e4a04989e2 Merge "Fix a bug that could cause padded lists to draw dividers incorrectly" 2011-01-05 23:32:31 -08:00
Adam Powell
9456655f93 Fix a bug that could cause padded lists to draw dividers incorrectly
Change-Id: I6483848c55567f901ac8b1628991de3343bd3f3d
2011-01-05 23:25:33 -08:00
Dianne Hackborn
abfc847b67 am c042eb77: am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit 'c042eb77a5e4c3cb4f2a886d61cff17e1c9b5aed':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:10 -08:00
Johannes Carlsson
d3f36dfdea am 73fef3c7: am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit '73fef3c7c0986468d75e3ef09d2255c3509a80c9':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:05 -08:00
Dianne Hackborn
d541f0cbdc am 4302886f: am c91f9fe5: Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
* commit '4302886f8f77c3f53cdc094069f3550dd56bc812':
  Avoiding cyclic references when unbinding from a service
2011-01-05 22:48:00 -08:00
Adam Powell
1470f9c24e Merge "Fix bug 3326380 - ListView motion scrolling stops too early when list is padded" 2011-01-05 22:38:35 -08:00
Adam Powell
a13fc67b81 Fix bug 3326380 - ListView motion scrolling stops too early when list
is padded

Change-Id: Iaca31e030aefc87f115d5022c2a42aefd73b88ea
2011-01-05 22:37:33 -08:00
Brian Carlstrom
33a385bcc4 Merge "Import libcore_to_document definition from libcore/Docs.mk" 2011-01-05 21:53:32 -08:00
Dianne Hackborn
1122566613 Merge "Implement issue #3326435: Battery stats improvements" 2011-01-05 21:35:56 -08:00
Adam Powell
fde439751a Merge "Fix bug 3242965 - Unreadable text in context menus using legacy theme" 2011-01-05 21:10:16 -08:00
Adam Powell
cfff00ef7f Fix bug 3242965 - Unreadable text in context menus using legacy theme
Change-Id: I716a93cdea36d7870601e3cdf43522240c2d1111
2011-01-05 21:06:26 -08:00
Dianne Hackborn
c1b40e361c Implement issue #3326435: Battery stats improvements
Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie4026a7cc8aabb2a6d47d03d2e278aa51c2d5ddf
2011-01-05 21:02:01 -08:00
Joe Onorato
f4e4b2753d Merge "Make the volume keys adjust the media volume by default if the device is not "voice capable."" 2011-01-05 20:53:14 -08:00
Joe Onorato
7998559032 Merge "Fix the 3G icon shows as G." 2011-01-05 20:53:05 -08:00
Dianne Hackborn
c042eb77a5 am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit '3769240b7976bfa50bb7bf235747b7f6bb7be08e':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:28:33 -08:00
Johannes Carlsson
73fef3c7c0 am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit 'b5a8654dea9ea8443b41f8ff3668ae4074e13a07':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:13:29 -08:00
Dianne Hackborn
3769240b79 Merge "Clear reference to the IIntentReceiver in order to avoid memory leak" 2011-01-05 19:10:15 -08:00
Johannes Carlsson
b5a8654dea Clear reference to the IIntentReceiver in order to avoid memory leak
When using sendOrderedBroadcast(..) with a BroadcastReceiver the
BroadcastReceiver instance was not released. The reason for this was that
the resultTo field in the BroadcastRecord kept a reference until it was pushed
out of the mBroadcastHistory. This reference in turn kept a reference to the
process side IIntentReceiver (implemented in ReceiverDispatcher$InnerReceiver).
This in turn had a strong reference (through mStrongRef) to the Context.

In order to keep the debug output the resultTo is also kept as a String in the
new resultToString variable.

Change-Id: I4382a22a541c27b3694fb2b78a04ee820b235f8f
2011-01-05 18:59:07 -08:00
Dianne Hackborn
4302886f8f am c91f9fe5: Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
* commit 'c91f9fe542fd1ca9d6da432faeba60d35c4d5c49':
  Avoiding cyclic references when unbinding from a service
2011-01-05 18:55:57 -08:00
Dianne Hackborn
c91f9fe542 Merge "Avoiding cyclic references when unbinding from a service" into gingerbread 2011-01-05 18:54:19 -08:00
Vasu Nori
6a904bc65e Revert "treat 'can't open database file error' as 'database corruption error'"
This reverts commit c7fe777d6348bd740d3f2554e9308176a0c462ed.

Change-Id: I9992d404394917537d5c22470efbd970605976ed
2011-01-05 18:38:15 -08:00
James Dong
6c30cfb0c5 am a8ce7736: am 35e8dcb9: Merge "Suppress the recording sound in the recorded video" into gingerbread
* commit 'a8ce773607c26dd4336f57856afce507fb98a279':
  Suppress the recording sound in the recorded video
2011-01-05 17:57:55 -08:00
James Dong
a8ce773607 am 35e8dcb9: Merge "Suppress the recording sound in the recorded video" into gingerbread
* commit '35e8dcb9df8c3d77ede120e3f1aaf842b2928639':
  Suppress the recording sound in the recorded video
2011-01-05 17:55:27 -08:00
James Dong
35e8dcb9df Merge "Suppress the recording sound in the recorded video" into gingerbread 2011-01-05 17:53:18 -08:00
Brian Carlstrom
cf9a013774 Import libcore_to_document definition from libcore/Docs.mk
Change-Id: I5f4ac355c6dadefce5762e0096dcc7379e5bf31d
2011-01-05 17:52:36 -08:00
Justin Ho
93fde2109e Merge "Updated HDPI assets from Gingerbread" 2011-01-05 17:50:26 -08:00
Robert Greenwalt
0d2631a34d Merge "Allow bumpDns() to execute correctly before boot has completed" 2011-01-05 17:47:18 -08:00
Jean-Michel Trivi
32cef98de8 Merge "Add support in TTS for volume and panning control of the synth output" 2011-01-05 17:36:46 -08:00
Justin Ho
8b56c50386 Updated HDPI assets from Gingerbread
Change-Id: I02fea9d2c9cb81bb28bba3519381cbe3187bca0d
2011-01-05 17:33:41 -08:00
Justin Ho
e893d1d5d5 Merge "Updated presence icons and new emergency icon" 2011-01-05 17:27:04 -08:00
Michael Jurka
dab559a24f exposing isDirty() method on View
- needed in Launcher2 for implementation of caching views to bitmaps

Change-Id: I1dc1e8e4328106f88e1aa8e55ccb17b08fc9756b
2011-01-05 17:14:24 -08:00
Stan Chesnutt
3d1db8672a Allow bumpDns() to execute correctly before boot has completed
Change-Id: I5c2cf023e555f49d7e29592f9d1439b3ac367e3d
2011-01-05 17:14:03 -08:00
Adam Powell
fb9bcdb139 Merge "Fix Holo Spinners" 2011-01-05 17:10:56 -08:00
Adam Powell
a39b987bb7 Fix Holo Spinners
Fix bug 3321329 - Spinner dropdown does not match widget width

Fix a bug in ListPopupWindow where setContentWidth was misbehaving

Add gravity setting to Spinner. This controls the positioning of the
selected item view within the widget. Holo default is left, legacy
default is center.

In dropdown mode, Spinners now WRAP_CONTENT width based on a limited
set of dropdown content. This means the dropdown can display a
reasonable amount of its content without clipping, while matching
width with the Spinner widget itself.

Change-Id: Ia17fd5f71526548408f4ad3b16bde536b0d3b207
2011-01-05 17:08:33 -08:00