19469 Commits

Author SHA1 Message Date
Brad Fitzpatrick
dfb437e17c Fix Parcel leak in ContentProvider.call()
This manifested itself as memory allocation and Binder failures during
my load testing / benchmarking.

BUG=2498615

Change-Id: I260fd916f97777fc98bee98d10474f12deb21dee
2010-03-08 22:12:49 -08:00
Steve Block
68da044d3a Merge "Updates WebAddress to ignore the colon after the host component of a URL if no port is specified" 2010-03-08 10:43:38 -08:00
Leon Scroggins
198e40dcbe Merge "Pass keys to plugin while shift is held down." 2010-03-08 10:42:42 -08:00
Patrick Scott
529b2854de Merge "If both cookies have null values, use the name difference." 2010-03-08 09:54:08 -08:00
Steve Block
2257440f4b Updates WebAddress to ignore the colon after the host component of a URL if no port is specified
Currently, the regex used to extract the port matches ':' followed by 1 or more
digits. This means that when passed a malformed URL of type <host>:<path>, no
match is made for the port and the ':' is matched as part of the path. Since the
handling of the path adds a leading '/' where absent (see http://b/1011602),
this leads to the URL being converted to <host>/:<path>.

This change updates the port regex to match ':' followed by zero or more digits.
This means that the ':' is always matched, so it does not leak into the path
and the result is <host><path>. This matches the behavior of desktop browsers.

Bug: 2494876
Change-Id: I34b47c8187cf03aa7674c14cd6593de53dce3169
2010-03-08 17:52:02 +00:00
Mike LeBeau
08d5b1fdef Merge "Adding support for passing HTTP headers to a Browser" 2010-03-08 09:41:10 -08:00
Eric Laurent
c22415f3da Merge "Fix issue 2317760: Change the priority between wired headset and A2DP." 2010-03-08 09:40:15 -08:00
Patrick Scott
2807dbd594 If both cookies have null values, use the name difference.
Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1
2010-03-08 12:12:13 -05:00
San Mehat
bb2bf8fa33 Merge "dumpstate: Add secure container + mounted filesystems to bugreport" 2010-03-08 09:05:44 -08:00
Leon Scroggins
b127c8ff0e Pass keys to plugin while shift is held down.
Fix for http://b/issue?id=2484986

Change-Id: Ie252527957958d977cec044a1d383c229d3a3268
2010-03-08 12:04:48 -05:00
Amith Yamasani
4b10453cf9 Merge "Fix a SettingsProvider test : 2377540" 2010-03-08 09:02:31 -08:00
San Mehat
54aa577ea2 dumpstate: Add secure container + mounted filesystems to bugreport
Change-Id: I0cb465da86976f5cce3594c4bb846aa6510c52d6
Signed-off-by: San Mehat <san@google.com>
2010-03-08 08:58:03 -08:00
Patrick Scott
8da530c9b8 Merge "Cookies like "a=b" were broken due to my previous change." 2010-03-08 08:22:59 -08:00
Steve Block
271f7ae4e3 Merge "For synchronous loads, load file URLs in the WebCore thread, rather than in the new WebViewWorker thread" 2010-03-08 08:16:41 -08:00
Valentin Kravtsov
2ffa625a2a Adding support for passing HTTP headers to a Browser
It is a prt of the following bug fix: http://b/issue?id=2478548

The CL adds the ability to pass HTTP headers to the Browser

Change-Id: Ibf0ad8f678fc5aeef4ac098e5dfbcaed9ada8600
2010-03-08 16:12:39 +00:00
Bjorn Bringert
6aa6185709 Merge "Fixing: Position of right button edge is different for VS" 2010-03-08 07:16:16 -08:00
Eric Laurent
fe2e075e07 Fix issue 2317760: Change the priority between wired headset and A2DP.
Modified audio policy manager so that wired headset has precedence over A2DP headset.
2010-03-08 06:50:44 -08:00
Mike Lockwood
2390380944 Merge "location: dump LocationProvider internal state" 2010-03-08 06:47:49 -08:00
Cary Clark
ad7dd48361 scroll into view considers layers
Remove view metrics data, which is a duplicate of
an existing interface (calcOurContentVisibleRect)

companion fix in external/webkit

http://b/2485168
2010-03-08 09:20:16 -05:00
Mike Reed
5bffb45057 Merge "hidden api sameAs() to compare the pixels of 2 bitmaps for equality" 2010-03-08 05:54:42 -08:00
Mike Reed
76d1e01d5e hidden api sameAs() to compare the pixels of 2 bitmaps for equality 2010-03-08 08:53:23 -05:00
Bjorn Bringert
d1b21ff09a Merge "Hide Go button in browser when no text is entered" 2010-03-08 05:45:42 -08:00
Patrick Scott
d2b49d931a Cookies like "a=b" were broken due to my previous change.
Update the cookie parser to correctly detect "a=b" cookies and add comments.
Also change the comparator to compare null values before the name so that all
cookies with null values come after cookies with values.

Also added a cts test in cts project.

Bug: 2487245
2010-03-08 08:04:21 -05:00
Mike Lockwood
a1140f9d7c Merge "Disable car mode should not require DISABLE_KEYGUARD permission" 2010-03-08 04:12:28 -08:00
Tobias Haamel
9f93881f57 Disable car mode should not require DISABLE_KEYGUARD permission
Only the system can enable the car mode and the system should
already have appropriate permissions.
But since we wanna allow all other apps to disable the car mode
again, we don't want to enforce them to specify the DISABLE_KEYGUARD
permission in their manifest.

Change-Id: I1ad244a98d65b7193ea9817bff8406cfc2bce6f3
2010-03-08 11:30:38 +01:00
Chia-chi Yeh
61b09cbc02 keystore: allow '\0's in keys and add guards for cplusplus.
Change-Id: I0af6ed7c5d51ce4ca39cb837e475942800cf6e2d
2010-03-08 17:21:35 +08:00
Amith Yamasani
d0ca3379c2 Fix a SettingsProvider test : 2377540 2010-03-07 21:25:21 -08:00
Jean-Michel Trivi
c6120193ef Fix typo in log message in TTS SynthProxy.
Change-Id: Ica7dbf6cb3db2e07958fadad476571b91bde2c24
2010-03-07 14:29:58 -08:00
Jean-Michel Trivi
796325b619 Fix bug 2449814
Reduced the amount of filtering and amplification at the output
 of the Pico TTS engine v1.1.0.2

Change-Id: I89f577b5e94e171b4ed892faffb863f19428cc1a
2010-03-07 14:02:31 -08:00
Fred Fettinger
3c8fbdf5dd location: dump LocationProvider internal state
For each location provider, call getInternalState() to see if it has any
state information to include in a bugreport. If the returned string is not
null, then print a header with the provided name followed by the returned
string.

Change-Id: I0a388d7fba14ac8cadcb80eda0a0ceb95032410b
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-07 09:29:15 -05:00
Jack Palevich
83835359e5 Clarify the default algorithm used to choose an EGLConfig.
Explicitly default to an RGB_565 android.view.Surface.
2010-03-06 10:55:24 -08:00
Raphael
80b9af448e Merge "ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator." 2010-03-06 10:45:36 -08:00
Jack Palevich
f2193a2e52 Merge "Fix inverted release-EGLContext-on-pause logic." 2010-03-06 10:41:19 -08:00
Jack Palevich
4a2221ec4a Fix inverted release-EGLContext-on-pause logic.
This works around a bug in the
"Q3Dimension MSM7500" driver. That driver only
supports a single active EGLContext, so we must
release and restore the EGLContext when pausing
and unpausing.

Unfortunately the test for deciding whether to
release the context was inverted. We were
releasing the context on every device besides
the MSM7500 devices, which was a performance
drain, and we were not releasing the context on
the MSM7500, which meant the underlying driver
bug was not worked around.

Now we release the EGL context when pausing only
on the devices that have the bug.
2010-03-06 10:39:27 -08:00
Raphael
30df237f19 ADT: Mark WebView as a Widget. Eclipse/ADT will display it in the GUI creator.
SDK Bug 1588698

Change-Id: I47321a0e21a0761d20ed5e61a1a1db1024a141c5
2010-03-06 10:09:54 -08:00
Amith Yamasani
4c2d7b5198 Merge "Update keyboard key assets." 2010-03-05 21:40:23 -08:00
Amith Yamasani
56ddddd426 Update keyboard key assets. 2010-03-05 21:36:29 -08:00
Adam Powell
73e0546cbc Merge "Fixed a regression setting ListView selection mode without an adapter" 2010-03-05 19:57:09 -08:00
Adam Powell
cb704cd1e0 Fixed a regression setting ListView selection mode without an adapter 2010-03-05 19:51:59 -08:00
Christopher Tate
afc591ee03 One! More! Time!
Change-Id: I9e29975542ff1030b636f4e21954610faa2d8ff7
2010-03-05 19:15:39 -08:00
Adam Powell
f8012af8d3 Merge "Fix for badly rebased current.xml" 2010-03-05 18:54:38 -08:00
Adam Powell
bf3e5b03aa Fix for badly rebased current.xml 2010-03-05 18:52:28 -08:00
Christopher Tate
ed58aede50 Rename cleanspec => CleanSpec to match the build rule
Change-Id: I9cc9027ea82a90af5f369976823f0feb0a1eeda0
2010-03-05 18:48:59 -08:00
Christopher Tate
18c65d309f Merge "Fix up missed refactoring in JNI reg and preloaded-classes" 2010-03-05 18:27:37 -08:00
Christopher Tate
7adc274abd Fix up missed refactoring in JNI reg and preloaded-classes
Change-Id: I079bdf4edfb9083eba3e15d8e4dbf3b2bad9190c
2010-03-05 18:26:41 -08:00
Adam Powell
8f1bfe1a7c ListView#getCheckItemIds() deprecated for ListView#getCheckedItemIds().
ListView#getCheckedItemIds() now works more reliably.
2010-03-05 18:02:38 -08:00
Romain Guy
0a9355bc72 Merge "Correctly validate numbers when pasted in NumberPicker. Bug #2258525" 2010-03-05 17:34:10 -08:00
Romain Guy
aa516beb79 Correctly validate numbers when pasted in NumberPicker.
Bug #2258525
2010-03-05 17:33:20 -08:00
Christopher Tate
52ec30c1bd Merge "Fix doc references to "android.backup" to the new "android.app.backup"" 2010-03-05 17:32:52 -08:00
Christopher Tate
f49501eec5 Fix doc references to "android.backup" to the new "android.app.backup"
Change-Id: Ia347590a374f7e0b8928b0673dc10d55fe785e73
2010-03-05 17:30:42 -08:00