9101 Commits

Author SHA1 Message Date
Leon Scroggins
3dc02fecbe For flash trackball, send several downs followed by a single up.
Change-Id: I2ca892bc409372ab1389f2da8254f13b2d84351c
2010-03-09 11:27:34 -05:00
Cary Clark
31b8367570 requestChildRectangleOnScreen takes layers into account
Call native LayerAndroid::subtractLayers so
the layers can be removed from the visible portion of the screen
when computing how much to scroll.

companion fix in external/webkit

Change-Id: Ib441b826ab5b2baaba20f41f392848a28a9e09ee
http://b/2453841
2010-03-09 10:00:30 -05:00
Brad Fitzpatrick
f19d43d880 Merge "Fix Parcel leak in ContentProvider.call()" 2010-03-08 22:18:52 -08:00
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
Dmitri Plotnikov
4a8a310aae New (hidden) API for ContactsProvider status.
Bug: 2498528
Change-Id: I95ab8b68c3d3caa5698e79c60ccb9794091e8b8a
2010-03-08 19:43:21 -08:00
Dan Morrill
50ab63f583 Adding definitions & APIs for features that are newly-optional in FroYo.
This also refactors the files containing the features so that they are more
modular. Note that this also changes data/etc/Android.mk so that
required_hardware.xml is NOT copied automatically for all devices
anymore. Accordingly, that file is removed.
2010-03-08 19:28:28 -08:00
Adam Powell
eb6a592a28 Merge "Fix issues with ListView.smoothScrollBy" 2010-03-08 19:11:16 -08:00
Adam Powell
029cfbd6f2 Fix issues with ListView.smoothScrollBy
Change-Id: I4a2752c56a1d2ad3227644f764d6be7a02c9eb8d
2010-03-08 19:07:14 -08:00
Dmitri Plotnikov
c4e26a5c99 Merge "Showing phonetic name in the contact header." 2010-03-08 18:04:24 -08:00
Romain Guy
56ec3c888a Merge "Fix scrolling bug in AutoCompleteTextView. Bug #2495033" 2010-03-08 17:46:36 -08:00
Romain Guy
3e14168500 Fix scrolling bug in AutoCompleteTextView.
Bug #2495033

This fixes various issues. ACTV would sometimes not update its popup to match
its size/location.

Change-Id: Ic662bddf40e49b09482b15ff91666be3709da1d5
2010-03-08 17:44:40 -08:00
The Android Open Source Project
9161e202d1 merge from open-source master
Change-Id: I66d3db4c9ed3f54ce17a8d64ca0c6cce6941cdaa
2010-03-08 17:14:25 -08:00
Daniel Lehmann
f1f90d4aba Merge "Expose the Uri of the newly created contact Bug: 2448065" 2010-03-08 17:10:03 -08:00
Eric Fischer
2ba1af34f9 Merge "Guard against calls to getTextAfterCursor() in text that has no cursor." 2010-03-08 16:59:48 -08:00
Dianne Hackborn
2509d3c11f Clear active password in device admin when password is cleared.
Fixes issue #2480213: DevicePolicyManagerService returning true
for isActivePasswordSufficient even though the current password
on the device is not sufficient.

Change-Id: I3cb11311d8696670726d969712a63a7c00cd1ce4
2010-03-08 16:48:23 -08:00
Eric Fischer
1127895fd4 Guard against calls to getTextAfterCursor() in text that has no cursor.
Act like the cursor is at 0 in this case instead of crashing.

Bug 2497485

Change-Id: I5ce9b83b323d895e3be75e3133ff2f8e33cc203d
2010-03-08 16:38:03 -08:00
Tom Taylor
a87afd07c0 Remove mms-common library
Put the Mms files back in the framework where they've been since 1.0.

Change-Id: I3c449468053ddd82d35c45a06d71957de660bf99
2010-03-08 16:34:53 -08:00
Dmitri Plotnikov
aeae357f63 Showing phonetic name in the contact header.
Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1
2010-03-08 16:05:41 -08:00
Amith Yamasani
156c435455 Move lockscreen settings to secure table to prevent tampering. b/2343673
Migrate old settings to secure on upgrade.
2010-03-08 15:42:48 -08:00
Daniel Lehmann
b1b1371150 Expose the Uri of the newly created contact
Bug: 2448065

Change-Id: Ie1de3c02981ae471b7772cac289a07f0fc870f31
2010-03-08 15:14:19 -08:00
Dianne Hackborn
453e60db6e Merge "Hold wake lock while shutting down." 2010-03-08 14:58:25 -08:00
Romain Guy
31e78e0725 Merge "Report scroll events from ScrollView and HorizontalScrollView. Bug #2342763" 2010-03-08 14:44:00 -08:00
Dianne Hackborn
f99ae76533 Hold wake lock while shutting down.
It is nicer to make sure the screen stays on while we are shutting
down, so the screen goes off when we are actually complete rather
than some time before.

Change-Id: I8725ac9884df6d21344f35288da3e375d9779b3b
2010-03-08 12:43:51 -08:00
Romain Guy
8e618e54ef Report scroll events from ScrollView and HorizontalScrollView.
Bug #2342763

Also fix typos in TextView.

Change-Id: I58ab906b9bebe562c1a913977e2d6970bfcf3788
2010-03-08 12:21:37 -08:00
Dan Egnor
3eda9799a1 Add Debug.dumpService(), a public method for "dumpsys" functionality 2010-03-08 12:13:11 -08:00
Mike LeBeau
80825e3876 Merge "Update comments for the new EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS." 2010-03-08 11:22:58 -08:00
Mike LeBeau
eba0f753b2 Update comments for the new EXTRA_VOICE_SEARCH_RESULT_HTTP_HEADERS.
Change-Id: I72d7ede8e6fbe47217f76806f892c4a0854f9a3d
2010-03-08 11:17:12 -08:00
Vasu Nori
d1356e440d Merge "caching bug in SQLiteDatabase causes invalid finalizer warnings" 2010-03-08 11:13:52 -08:00
Vasu Nori
c8195ffcfd Merge "rollback AFTER commit causes warning message from sqlite bug:2486731" 2010-03-08 11:08:10 -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
Vasu Nori
49d02acec8 caching bug in SQLiteDatabase causes invalid finalizer warnings
a bug in maintaining the cache caused these warnings. when the cache
is full, caching code in SQLiteDatabase dropped an entry from the cache
to accommodate the new one. and if the just-dropped one is not in use
that object got GC'ed and caused a finalizer warning. Calendar is one app
that didn't use ? for bindargs (sometimes) and noticed this bug in that app
Fix is to not add the new enry to cache if the cache is already full.
that will cause the app's close() to release the entry.

another common case where this finalizer warning occurs is when unittests run.
if the test does not close the database in tearDown(), it will cause
database object and the compiled sql statement cache within the database
obj get GC'ed which cause finalizer warnings.
2010-03-08 09:54:53 -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
Patrick Scott
2807dbd594 If both cookies have null values, use the name difference.
Change-Id: Idee9763a14dd559f136ee8b1eea9abaf265d15a1
2010-03-08 12:12:13 -05: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
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
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
Amith Yamasani
d0ca3379c2 Fix a SettingsProvider test : 2377540 2010-03-07 21:25:21 -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