8784 Commits

Author SHA1 Message Date
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
Mike Lockwood
59d25d00a1 Catch Java exceptions in the FileObserver JNI code
Change-Id: I8aed85baadef7a3ea80333b33df0743e0d349915
BUG: 2404428
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-18 07:09:06 -05:00
Romain Guy
ab4835ee0d am 00b17659: Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Merge commit '00b17659bb4b2774580eea523c5f23b588105ab6' into eclair-plus-aosp

* commit '00b17659bb4b2774580eea523c5f23b588105ab6':
  Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
2010-02-17 21:22:52 -08:00
Romain Guy
6f4a52a3f7 am 67e9e9df: Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
Merge commit '67e9e9df929aad9139f1dc776b15f6c5d64f424e' into eclair-plus-aosp

* commit '67e9e9df929aad9139f1dc776b15f6c5d64f424e':
  Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
2010-02-17 21:17:48 -08:00
Romain Guy
00b17659bb Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Prevent infinite loop in the Phone UI.
2010-02-17 21:16:36 -08:00
Romain Guy
67e9e9df92 Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
Fix the lock screen.
2010-02-17 21:12:47 -08:00
Romain Guy
6c71d476f3 am 8368ef0b: Manual merge of 40080 DO NOT MERGE Properly notifies listener when an animation is cancelled. Bug: #2428005.
Merge commit '8368ef0b670f8193f3161671b119e78b1fb659a1' into eclair-plus-aosp

* commit '8368ef0b670f8193f3161671b119e78b1fb659a1':
  Manual merge of 40080 DO NOT MERGE
2010-02-17 21:10:34 -08:00
Romain Guy
8368ef0b67 Manual merge of 40080 DO NOT MERGE
Properly notifies listener when an animation is cancelled.
Bug: #2428005.
2010-02-17 20:49:10 -08:00
Jaikumar Ganesh
cf5f652740 Set error condition correctly when device is already created.
When device is already created, and we call CreateDevice, we
need to report the error correctly. Only then the SDP query
will be done from java land.
2010-02-17 17:19:26 -08:00
Svetoslav Ganov
9b31779eab Fix for bug 2448479 2010-02-17 16:46:42 -08: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
Fred Quintana
fb6a5359e4 remove check for obsolete property ro.config.sync 2010-02-17 13:35:49 -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
Chih-Chung Chang
59bac03b28 Do setThreadPriority() later so we can notify the waiting thread
and release the lock as soon as possible even if we run the loop
in background priority.
2010-02-16 15:34:06 -08:00