8575 Commits

Author SHA1 Message Date
Steve Block
01228fcff6 Makes sure GeolocationPermissions is fully robust to calls being made before the message handler is initialized
Bug: 2315829
Change-Id: I6c0d1adf7049c5c89228e43e34934702664c8691
2010-02-19 16:26:41 +00:00
Steve Block
e4b2d4dc7d Adds synchronization around message handler in GeolocationPermissions and WebStorage
The message handler is instantiated on the WebCore thread and its presence is
checked on the browser thread. This requires synchronization.

Change-Id: I4b71c7a2470b60fa273dc2bcb46f645ed135ee11
2010-02-19 12:21:35 +00:00
Cary Clark
bf8f3a888c Merge "add support for audio/3gpp" 2010-02-18 06:28:45 -08:00
Cary Clark
1b098a6852 add support for audio/3gpp
This parallels an entry in WebCore/platform/MIMETypeRegistry.cpp

http://b/2452889
http://code.google.com/p/android/issues/detail?id=3728
2010-02-18 09:08:42 -05:00
Kenny Root
9a686b5c42 Merge "Prevent possible NPE in android.gesture.Learner" 2010-02-17 15:37:24 -08:00
Adam Powell
c6a0a9cb67 Merge "Don't move the fast scroll thumb with a list on overscroll." 2010-02-17 15:16:08 -08:00
Jeff Sharkey
2b95c24138 Added more @RemotableViewMethod methods, mutate ImageView.
Catch some View methods missed during the first pass of
marking with @RemotableViewMethod annotation.  Also adds new
ImageView.setColorFilter(int) to match the android:tint XML
attribute.

When ImageView touches ColorFilter or alpha, mutate the
underlying Drawable. Fix NPE in StateListDrawable.mutate().
2010-02-17 15:03:32 -08:00
Adam Powell
7fd28847f1 Don't move the fast scroll thumb with a list on overscroll. 2010-02-17 14:34:21 -08:00
Kenny Root
7951eaa92a Change Javadocs to fix SDK build
Remove some hidden reference and update links to other classes and
methods.

Change-Id: I4b6561f1bac07329d75da13f72496aa7d5b20a62
2010-02-17 14:00:55 -08:00
Brett Chabot
5df3a9017e Merge "Add a host based test for package manager installs." 2010-02-17 13:26:33 -08:00
Brett Chabot
cb2003afee Add a host based test for package manager installs.
Bug 2430400
2010-02-17 13:25:41 -08:00
Kenny Root
574ecc8ed9 Merge "Add better index checks for AndroidCharacter.mirror" 2010-02-17 13:24:37 -08:00
Amith Yamasani
479ae0a280 Cleanup of global search references in SearchDialog and SearchManager. 2010-02-17 13:19:27 -08:00
Kenny Root
fed93779a3 Merge "Fix cast to String[] in FullBackupAgent" 2010-02-17 13:00:25 -08:00
Kenny Root
a3639da4f2 Fix cast to String[] in FullBackupAgent
obj.toArray() can't return anything more specific than Object[], so use
obj.toArray(new String[obj.size()]) to do this instead.

Change-Id: I87a0a2bb10206a37b28a535652a8f81f94c1f06f
2010-02-17 12:47:04 -08:00
Kenny Root
41207b6eb0 Merge "Add hashCode() to BluetoothService$RemoteService" 2010-02-17 12:25:20 -08:00
Kenny Root
5f61416305 Add hashCode() to BluetoothService$RemoteService
RemoteService is used as a key in a HashMap, so it should have a
hashCode()

Change-Id: I69b72991474f4d5ec11c0620a6e66eb0c44d04b6
2010-02-17 12:01:52 -08:00
Adam Powell
c9fbaabc1b XML attribute for overscrolling behavior 2010-02-17 11:47:00 -08:00
Leon Scroggins
6088e83374 Changes to remove WebTextView at end of touch/press rather than during.
Add a parameter for clearTextEntry to disable the focus controller,
and call clearTextEntry when releasing the trackball.

Requires a change to external/webkit

Fix for http://b/issue?id=2340871
2010-02-17 14:25:07 -05:00
Dmitri Plotnikov
a257169ff8 Merge "Adding support for "contact counts grouped by the first letter of the sort key"." 2010-02-17 10:58:10 -08:00
Dmitri Plotnikov
53de90462b Adding support for "contact counts grouped by the first letter
of the sort key".

This is needed for two purposes:
1. To fix the A-Z index, specifically non-English ones and
address the issue of messed up index when sort order does not match
display order.

2. Take the first step toward the introduction of a scrolling
cursor.  When we have a scrolling cursor, we will _have_ to
build the index independently of fetching all of the data.

Bug: 2407129
Change-Id: Ie2979ff8e67446329ea6d1c2f5c9f4f215e6ec89
2010-02-17 10:57:19 -08:00
Dianne Hackborn
dfac9a643e Merge "Fix issue #2420412: API review: DeviceAdmin API changes" 2010-02-17 10:56:58 -08:00
Eric Fischer
f7c569897c Merge "Enhance text docs, rename some variables for clarity, comment places in the code for further investigation." 2010-02-17 10:37:29 -08:00
Dianne Hackborn
ef6b22fc04 Fix issue #2420412: API review: DeviceAdmin API changes
Note in docs that callbacks are on main thread.
Rename to DeviceAdminReceiver?
Document resetPassword is the device's password.

Also hide android.R.attr.neverEncrypt.
2010-02-17 10:29:52 -08:00
Cary Clark
855dd9e074 Add UI considerations to layers
companion fix is in external/webkit

- Add class to return view metrics.
- Draw cursor rings and find matches in proper order.

http://b/2369549
2010-02-17 13:18:45 -05:00
Kenny Root
ea46dea9da Prevent possible NPE in android.gesture.Learner
Change-Id: If9b0ac9a05b6736719d84c6b58be73e3f7771f07
2010-02-17 10:04:39 -08:00
Jaikumar Ganesh
aec0937be6 Merge "AVRCP volume controls for the docks." 2010-02-17 09:16:19 -08:00
Kenny Root
073a3d56ea Add better index checks for AndroidCharacter.mirror
Fix potential invalid array access if start index is before the
beginning of the array or start + count is past the end of the array.
Update Javadoc for mirror to reflect the usage of "start" and "count".

Change-Id: I7e596de8eae5c518a2b4ff0d28604bd9c59f9d9d
2010-02-17 08:46:04 -08:00
Leon Scroggins
e265532f30 Create a default style for WebTextView.
As a result, all apps using WebView (and therefore WebTextView)
will get the same style, and display properly.

Fixes http://b/issue?id=2385422
2010-02-17 10:30:12 -05:00
Bjorn Bringert
0a05f5dfeb Merge "Clean up after failed MemoryFileTest.testPurge()" 2010-02-17 01:58:59 -08:00
Mike LeBeau
329c6aed78 Remove ACTION_VOICE_SEARCH_SETTINGS (added only for Froyo), because we've got
a more robust solution instead.
2010-02-16 18:22:23 -08:00
San Mehat
2db939bde9 Merge "MountService: Add API call for getting a list of pids currently using the specified mountpoint" 2010-02-16 18:07:31 -08:00
Mathias Agopian
8ff97b5869 Merge "get rid off the YUV formats at the libui layer" 2010-02-16 18:00:13 -08:00
Mathias Agopian
8f2423e8f3 get rid off the YUV formats at the libui layer 2010-02-16 17:33:37 -08:00
Doug Felt
71b8dd71e4 Enhance text docs, rename some variables for clarity, comment places in the code
for further investigation.
2010-02-16 17:27:09 -08:00
San Mehat
c1b4ce93be MountService: Add API call for getting a list of pids currently using the specified mountpoint
Signed-off-by: San Mehat <san@google.com>
2010-02-16 17:13:03 -08:00
Robert Greenwalt
6a6ce74e59 Merge "Update Tethering." 2010-02-16 17:11:10 -08:00
Chris Tate
cff1ae56e8 Merge "API CHANGE: expose backup/restore to the SDK" 2010-02-16 16:58:17 -08:00
Robert Greenwalt
2a091d7aa0 Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
2010-02-16 16:56:09 -08:00
Christopher Tate
e28290e21f API CHANGE: expose backup/restore to the SDK
The core backup/restore classes [BackupManager, BackupAgent, RestoreSession, and
RestoreObserver] are now published for 3rd party developers, as well as the suite
of helper classes that exist so far to aid authorship of backup/restore agents.

In conjunction with the API change, the restore-time automatic data wipe has now
been removed:  applications are responsible for managing the logic of wipe vs
merge themselves.  If the app's agent onRestore() callback throws, the data
is presumed to be incoherent and a wipe is issued via the Activity Manager;
otherwise, no automatic action is ever taken.

Change-Id: I0b3418b829d4689b58b88be3d9c4ace37a8583a9
2010-02-16 16:23:55 -08:00
Mike LeBeau
4b71fc0fa8 Merge "Add constant to android-common for voice search's EXTRA_CALLING_PACKAGE, and use it from SearchDialog." 2010-02-16 16:10:09 -08:00
Suchi Amalapurapu
044a401292 Merge "Move mount service wrapper calls to PackageHelper" 2010-02-16 16:08:00 -08:00
Bjorn Bringert
1017a134c1 Clean up after failed MemoryFileTest.testPurge()
MemoryFileTest.testPurge() can fail if the process runs
out of file descriptors before the kernel starts purging ashmem areas.
Before, there was no finally block to close the open ashmem
file descriptions, which caused random other tests to fail.

I also changed the size of the memory areas to 10MB, which
should cause it to run out of memory before it runs out of file
descriptors. It now fails with this instead:

java.io.IOException
	at android.os.MemoryFile.native_pin(Native Method)
	at android.os.MemoryFile.allowPurging(MemoryFile.java:189)
	at android.os.MemoryFileTest.testPurge(MemoryFileTest.java:53)
	at java.lang.reflect.Method.invokeNative(Native Method)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
	at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
	at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:430)
	at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)

I'm not sure why, but it could be that the kernel is purging the just
allocated area instead of an old one. That seems like bug.

See http://b/issue?id=2203775

Change-Id: Ia7930a714378474dd4c2c6709da40c08e715ab6f
2010-02-16 23:31:46 +00:00
Suchi Amalapurapu
679bba339e Move mount service wrapper calls to PackageHelper
Fix bug related to forward locked apps.
2010-02-16 15:11:04 -08:00
Kenny Root
bb9a51768d Add API to access ICU's East Asian Width
Currently there is no way for an application built against the API to
access East Asian Width data from ICU. This adds an API for applications
to use to access it for correct drawing of international characters.

Change-Id: Iab50698ee555ae2ca8ab4b242cc14aa6e0dc3b48
2010-02-16 15:05:02 -08:00
Daisuke Miyakawa
4a2d3b15ec Merge "Fixing the use of entities in VCardExporter." 2010-02-16 14:55:08 -08:00
Jean-Baptiste Queru
a466f86201 Merge "fix build" 2010-02-16 14:49:44 -08:00
Jean-Baptiste Queru
e3460d7a01 fix build
Change-Id: I08b7d09408530e8c107e2821af7a769fba1c7bd7
2010-02-16 14:49:01 -08:00
Dmitri Plotnikov
989edfde74 Fixing the use of entities in VCardExporter.
Bug: 2377678
Change-Id: I05768fd2ce28406b1fc32005343fa1eeaaecdd24
2010-02-16 14:40:46 -08:00
Eric Fischer
a877c03442 Keep Rfc822Tokenizer from crashing when the string ends with a backslash.
Bug 2442537
2010-02-16 14:34:32 -08:00