19311 Commits

Author SHA1 Message Date
Vasu Nori
08b448ea39 in finalizer warnings, use a better exception - NOT Exception()
finalizer warnings should use a more descriptive exception instead of
Exception() so it is clearer to the developers as to why this
warning is output.
2010-03-03 10:05:16 -08:00
Leon Scroggins
c833119c14 Merge "Remove the TAB key from <textarea>s." 2010-03-03 09:21:14 -08:00
Leon Scroggins
7af1b837ff Remove the TAB key from <textarea>s.
Do not use flag for web edit, so that the IME does not have the
TAB key.

Fix for http://b/issue?id=2484101
2010-03-03 12:09:45 -05:00
Cary Clark
3403eb3156 refactor find state and scrolling
Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in external/webkit and packages/apps/Browser

http://b/2370069
2010-03-03 11:12:33 -05:00
Cary Clark
de023c1ddd refactor find state and scrolling
Separate out state when find is up and is empty.
Request a scroll when setting a match, rather than when drawing.
Don't draw if there's no match.

Companion fix in external/webkit and packages/apps/Browser

http://b/2370069
2010-03-03 10:42:45 -05:00
Bjorn Bringert
687c44f2f0 Merge "Call close() instead of deactivate() in CursorToBulkCursorAdaptor.close()" 2010-03-03 05:39:31 -08:00
Bjorn Bringert
d6dfca8302 Call close() instead of deactivate() in CursorToBulkCursorAdaptor.close()
This seems like a long-lived copy-and-paste bug.

Fixes http://b/issue?id=2015069

This is the master version of change
https://android-git.corp.google.com/g/8636 which never
made it into Eclair.

Change-Id: I75f3a1942994982d5e5f779ab43a573cb953490b
2010-03-03 12:49:17 +00:00
Tadashi G. Takaoka
d9894bc3b3 Fixed NPE by guarding the reference of variable
Bug: 2395174
2010-03-03 20:47:47 +09:00
Mike Lockwood
bf2dd44a6f MountService: Send ACTION_MEDIA_UNSHARED Intent a volume is no longer shared via UMS.
Change-Id: I21c887ae76eccabcc5d8449aa0a38e98758e8958
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-03 06:16:52 -05:00
Bjorn Bringert
0b49ab5cae Add SearchManager.SUGGEST_COLUMN_TEXT_2_URL
This column overrides SUGGEST_COLUMN_TEXT_2. SearchDialog
and QuickSearchBox render the value of this column as a URL in
green.

Part of the fix for http://b/issue?id=2380681

Change-Id: I6735e0eba90e24c81f9e72520f257e5e61796d7a
2010-03-03 09:20:36 +00:00
Dianne Hackborn
97106ab5af Fix issue #2325621 Runtime restart after launching Android keyboard setting . 2010-03-03 00:08:31 -08:00
Brian Carlstrom
ddb42a421f Merge "Fixing spelling of intiialization to initialization in comment" 2010-03-02 19:05:12 -08:00
Adam Powell
dbc96e18a7 Merge "Fix a bug in OverScroller.setFinalX/Y" 2010-03-02 18:20:13 -08:00
Yu Shan Emily Lau
fde67f4925 Merge "Added the Camera Preveiw memory test which can help to isolate the memory leak issue." 2010-03-02 18:12:12 -08:00
Mike Lockwood
b5ccb59e06 Merge "DockObserver: Watch for exceptions in LocationManger.isProviderEnabled()." 2010-03-02 18:06:30 -08:00
Adam Powell
d93b998c92 Fix a bug in OverScroller.setFinalX/Y 2010-03-02 18:04:43 -08:00
Wink Saville
25c374e836 Merge "Fix documentation." 2010-03-02 18:00:01 -08:00
Mike Lockwood
faa7e8363e DockObserver: Watch for exceptions in LocationManger.isProviderEnabled().
Change-Id: Ieb9f6b0c20a6ce2223cb4b4956580b8543094c2f
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-02 20:52:46 -05:00
Doug Felt
08209a767b Disable tests that require package-private access to code under test. 2010-03-02 17:42:30 -08:00
Dianne Hackborn
a2e92266b3 Maybe fix issue #2482201: Paired bluetooth device looks like a qwerty keyboard
We now only consider a device to be a default keyboard if its name
has "-keypad".  A hack, but whatever.

Also add some debug logging for the input state to help identify such
issues in the future.
2010-03-02 17:37:45 -08:00
Jaikumar Ganesh
081a9b69a7 Remove UUIDs from the cache when the device is unpaired.
This fixes one probable case of A2DP profile connection state hanging
in connecting state. When the device is unpaired and repaired,
before the drivers are up on the bluez side, settings app / auto-connect
code can try to connect.
2010-03-02 17:19:20 -08:00
Mike Lockwood
c018f3cfdd Merge "Hide GeocoderParams class from public API." 2010-03-02 17:13:28 -08:00
Adam Powell
34a223850e Merge "Added Scroller compatibility methods to OverScroller" 2010-03-02 17:13:02 -08:00
Adam Powell
9d5b488abe Added Scroller compatibility methods to OverScroller 2010-03-02 17:09:38 -08:00
Romain Guy
3ddde16874 Merge "Add new CAPTURE_LAYERS command to HiearchyViewer protocol." 2010-03-02 17:09:27 -08:00
Romain Guy
223ff5c058 Add new CAPTURE_LAYERS command to HiearchyViewer protocol.
This command is used by the desktop tool to export a given view hierarchy into
a layered file format.
2010-03-02 17:07:47 -08:00
Brian Carlstrom
68612bae68 Merge "SslCertificate should clone Dates" 2010-03-02 16:56:59 -08:00
Dima Zavin
6b1806b2d3 surfaceflinger: remove un-cached buffers hack for Adreno
Change-Id: I5ae4e74bfa3e25b55be2cddf7b3c51368a140ab9
Signed-off-by: Dima Zavin <dima@android.com>
2010-03-02 16:44:46 -08:00
Mike Lockwood
8754be5cac Hide GeocoderParams class from public API.
This does not need to be publc until we unbundle the network location provider.

Change-Id: Ib4109d2392624242eee33f271a8151588e3f0c56
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-03-02 19:39:50 -05:00
Brian Carlstrom
a5987a5101 SslCertificate should clone Dates
To avoid external tampering with Dates withing SslCertificate by code
holding on to pointers to Dates used in the constructor or code
mutating values returned by the accessors, we now clone Dates taking
in as arguments and returned to callers.
2010-03-02 16:39:14 -08:00
Vasu Nori
bd80e560ac Merge "resubmit reverted CL https://android-git.corp.google.com/g/#change,42682" 2010-03-02 16:08:38 -08:00
Yu Shan Emily Lau
30a1390819 Added the Camera Preveiw memory test which can help to isolate the memory leak issue. 2010-03-02 15:42:31 -08:00
Dianne Hackborn
626e805d22 Merge "Fix issue #2482423: Settings is broken due to dead-code stripping" 2010-03-02 15:07:33 -08:00
Ken Shirriff
316860c00e Merge "Remove calendar.jar." 2010-03-02 14:57:47 -08:00
Dianne Hackborn
abd03658bc Fix issue #2482423: Settings is broken due to dead-code stripping
Take care of more custom classes in layouts, and also scan through
preference XMLs.
2010-03-02 14:56:51 -08:00
Leon Scroggins
d2334cb68a Create a method to find matching URLs and use it in updateVisitedHistory.
The method for finding matching URLs is taken from Bookmarks.java in
the Browser package.  When looking to see if the URL is already in
the database, include versions which have/don't have "http" as well
as "www."

Part of fix for http://b/issue?id=2442391
2010-03-02 17:21:52 -05:00
Vasu Nori
91d0e3c950 resubmit reverted CL https://android-git.corp.google.com/g/#change,42682
register a logging func with sqlite, to get extra info on errors
sqlite3 (latest patch) from DRH included this functionality.
use it to get more useful debugging info from sqlite
2010-03-02 14:12:19 -08:00
Romain Guy
0bf88594c4 Make sure all list items know they are in a window.
Bug #2476671

If you had a ListView with a layout_height equals to WRAP_CONTENT, you would
get list children with a parent but not attached to the window. This was caused
by the onMeasure() code: that code was obtaining views from the adapter to
measure them and putting them in the recyler for later reuse. Unfortunately
the recycler assumes that views have been attached to the window but detached
from the parent, thus causing much grief. The fix simply forces measured views
to be added to the window the first time they come out of the recycler.

ListView, bow before me for I am your master!
2010-03-02 13:41:46 -08:00
Brian Carlstrom
37254dcdcf Fixing spelling of intiialization to initialization in comment 2010-03-02 13:30:04 -08:00
Fred Quintana
db204c2383 Merge "change ObserverNode.binderDied() to lock the root node before manipulating the observers tree by calling removeObserverLocked()" 2010-03-02 13:23:17 -08:00
Ken Shirriff
8156486c2f Remove calendar.jar.
This jar file failed to meet its goal of unbundling calendar.

bug 2468654
2010-03-02 13:02:12 -08:00
Dave Sparks
6c26fe4e8e Fix build. I screwed up a merge. 2010-03-02 12:56:37 -08:00
Dave Sparks
16433e2fe3 Add locking to signal in AudioCache::notify(). Bug 2317844. 2010-03-02 12:35:20 -08:00
Vasu Nori
14b60e747c add warning in finalizer. deprecate protected members.
finalizer shoudl not be called ever. add a warning to say that.
adeprecate a few members in SQLiteProgram.java. they should not
have had protected access level. shoudl be package.
2010-03-02 11:50:39 -08:00
Dianne Hackborn
d2b41b6e7d Merge "Fix issue #2468687: back and home keys don't work on InCallScreen" 2010-03-02 11:43:47 -08:00
Dianne Hackborn
b601ce14f9 Fix issue #2468687: back and home keys don't work on InCallScreen
Make sure we update the focus after hiding a window via the
policy visibility.
2010-03-02 11:43:16 -08:00
Romain Guy
b99370bc78 Merge "Turn on fading scrollbars by default. Bug #2142162" 2010-03-02 11:43:14 -08:00
Romain Guy
8bda24874f Turn on fading scrollbars by default.
Bug #2142162
2010-03-02 11:42:11 -08:00
Gilles Debunne
c4fc2cc47f Merge "Null pointer tests removed from HeaderViewListAdapter." 2010-03-02 11:41:49 -08:00
Brian Carlstrom
0eaa4d3a14 Merge "SslCertificate should use Dates - fixing api for build" 2010-03-02 11:31:20 -08:00