OSDN Git Service

android-x86/frameworks-base.git
14 years agoPick up default install location
Suchi Amalapurapu [Thu, 25 Feb 2010 19:49:43 +0000 (11:49 -0800)]
Pick up default install location

14 years agoMerge "New test on ContextMenuInfo packed positions."
Gilles Debunne [Thu, 25 Feb 2010 21:49:53 +0000 (13:49 -0800)]
Merge "New test on ContextMenuInfo packed positions."

14 years agoNew test on ContextMenuInfo packed positions.
Gilles Debunne [Wed, 24 Feb 2010 23:50:40 +0000 (15:50 -0800)]
New test on ContextMenuInfo packed positions.

With and without headers.
Non regression test for bug
http://b/issue?id=1778239

Change-Id: I0235528ac6f8394292bac35f2350f3d5be1e4df7

14 years agoMerge "Improve accelerometer-based orientation sensing."
Steve Howard [Thu, 25 Feb 2010 21:42:43 +0000 (13:42 -0800)]
Merge "Improve accelerometer-based orientation sensing."

14 years agoMerge "Add support for accessing native bidi implementation via jni."
Eric Fischer [Thu, 25 Feb 2010 20:18:55 +0000 (12:18 -0800)]
Merge "Add support for accessing native bidi implementation via jni."

14 years agoMerge "Fix no-mobile-data after wifi."
Robert Greenwalt [Thu, 25 Feb 2010 20:18:26 +0000 (12:18 -0800)]
Merge "Fix no-mobile-data after wifi."

14 years agodon't draw layers with history
Cary Clark [Thu, 25 Feb 2010 19:49:26 +0000 (14:49 -0500)]
don't draw layers with history

The history picture and the layers drawn may be out of sync,
so for now, don't draw the layers when the history picture is
drawn.

Also, remove native class check from drawExtras() since it
is already checked by the caller.

fixes http://b/2457350
fixes http://b/2453780

14 years agoFix no-mobile-data after wifi.
Robert Greenwalt [Thu, 25 Feb 2010 20:04:29 +0000 (12:04 -0800)]
Fix no-mobile-data after wifi.

Missed a case - if you disabled mobile data and then cycled wifi, 3g would
be turned back on.

bug:2251458

14 years agoMerge "Replacing hard-coded mount point for ASEC with a getenv() call."
Oscar Montemayor [Thu, 25 Feb 2010 19:43:22 +0000 (11:43 -0800)]
Merge "Replacing hard-coded mount point for ASEC with a getenv() call."

14 years agoRe-arrange android-common so framework no longer links with it.
Dianne Hackborn [Thu, 25 Feb 2010 03:54:22 +0000 (19:54 -0800)]
Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common.  Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.

14 years agoMerge "Configuration param to indicate if sd card is behind the battery."
Amith Yamasani [Thu, 25 Feb 2010 19:13:21 +0000 (11:13 -0800)]
Merge "Configuration param to indicate if sd card is behind the battery."

14 years agoMerge "Init car mode when phone is booted in a dock."
Dianne Hackborn [Thu, 25 Feb 2010 19:10:55 +0000 (11:10 -0800)]
Merge "Init car mode when phone is booted in a dock."

14 years agoMerge "Correctly handle negative margins in horizontal linear layouts."
Romain Guy [Thu, 25 Feb 2010 19:02:24 +0000 (11:02 -0800)]
Merge "Correctly handle negative margins in horizontal linear layouts."

14 years agoCorrectly handle negative margins in horizontal linear layouts.
Romain Guy [Thu, 25 Feb 2010 19:01:01 +0000 (11:01 -0800)]
Correctly handle negative margins in horizontal linear layouts.

When LinearLayout is measured in EXACTLY mode, we handle the negative margins
a bit differently. This is to support the use case of the current tab design.

14 years agomake the SyncStateContentProviderHelper.update() method return an indication if the...
Fred Quintana [Thu, 25 Feb 2010 18:59:52 +0000 (10:59 -0800)]
make the SyncStateContentProviderHelper.update() method return an indication if the row to update still exists

14 years agoMerge "Remove incorrect/misleading irrelevancies from example code."
Elliott Hughes [Thu, 25 Feb 2010 18:32:41 +0000 (10:32 -0800)]
Merge "Remove incorrect/misleading irrelevancies from example code."

14 years agoMerge "Fix for voice search crash in maps and youtube. Bug 2453182"
Amith Yamasani [Thu, 25 Feb 2010 18:27:33 +0000 (10:27 -0800)]
Merge "Fix for voice search crash in maps and youtube. Bug 2453182"

14 years agoFix for voice search crash in maps and youtube. Bug 2453182
Amith Yamasani [Thu, 25 Feb 2010 03:05:35 +0000 (19:05 -0800)]
Fix for voice search crash in maps and youtube. Bug 2453182

No need to nullify the context variable.

Also fix 2463128 : No voice icon when text is present in text field

14 years agoMerge "Add the API constants to support providing hint strings in the response to...
Mike LeBeau [Thu, 25 Feb 2010 18:16:14 +0000 (10:16 -0800)]
Merge "Add the API constants to support providing hint strings in the response to RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS."

14 years agoWhen opening the IME or sending a key to a non-cursored textfield, set the default...
Leon Scroggins [Wed, 24 Feb 2010 21:49:35 +0000 (16:49 -0500)]
When opening the IME or sending a key to a non-cursored textfield, set the default selection.

Fix for http://b/issue?id=2431351

14 years agoMerge "Fix bug 2452941 Add a flag to maintain the intended direct playback of TTS...
Jean-Michel Trivi [Thu, 25 Feb 2010 16:47:40 +0000 (08:47 -0800)]
Merge "Fix bug 2452941 Add a flag to maintain the intended direct playback  of TTS data independently from the associated AudioTrack state.  Only start the track when it's been stopped but is supposed to be  playing."

14 years agoAdd the API constants to support providing hint strings in the response to
Mike LeBeau [Wed, 24 Feb 2010 22:08:18 +0000 (14:08 -0800)]
Add the API constants to support providing hint strings in the response to
RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS.

This will use the new support for ArrayList<CharSequence> bundles added in
http://b/2468093. This and the corresponding VoiceSearch CL should not be
submitted until that is.

14 years agorefactor drawing to support layers
Cary Clark [Tue, 23 Feb 2010 15:50:38 +0000 (10:50 -0500)]
refactor drawing to support layers

Drawing elements that appear atop or below layers need to be
drawn both in the proper order and with the correct canvas to
respect clipping and the matrix.

The logic of what to draw is still in WebView.java, but the
actual drawing calls are now triggered inside the layer code.

This still draws layers incorrectly after drawing the history;
will fix this in a future CL.

Move drawing to WebView.cpp.
Use inverseScale to simplify viewPort metrics.
Remove root layer; let WebView.cpp handle it exclusively.

Requires companion fix in external/webkit.

http://b/2457316
http://b/2454127
http://b/2454149

14 years agoAllow cookies with no name.
Patrick Scott [Mon, 22 Feb 2010 21:54:34 +0000 (16:54 -0500)]
Allow cookies with no name.

Cookies like "foo; path=/;" should be evaluated to have just a name. This makes
it easier to compare cookies when looking for duplicates.

Bug: 2333747

14 years agoMerge "Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list"
Steve Block [Thu, 25 Feb 2010 11:17:36 +0000 (03:17 -0800)]
Merge "Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list"

14 years agoMake setBackgroundResource() remotable
Bjorn Bringert [Wed, 24 Feb 2010 23:54:29 +0000 (23:54 +0000)]
Make setBackgroundResource() remotable

Change-Id: Iad9c2bdf743a81a085024cad9dc340ae8a983f34

14 years agoInit car mode when phone is booted in a dock.
Tobias Haamel [Thu, 25 Feb 2010 10:05:12 +0000 (11:05 +0100)]
Init car mode when phone is booted in a dock.

When the device is booted in a car dock the car mode needs to be set
as well, so that the status bar notification shows up and the system
is initialized the same way as if the phone is placed into a car dock
when it's booted already.

14 years agoMerge "Fix issue 2327064: Music played via line out is interrupted due to the phone...
Eric Laurent [Thu, 25 Feb 2010 08:14:47 +0000 (00:14 -0800)]
Merge "Fix issue 2327064: Music played via line out is interrupted due to the phone call audio on BT hs."

14 years agoReplacing hard-coded mount point for ASEC with a getenv() call.
Oscar Montemayor [Thu, 25 Feb 2010 08:06:41 +0000 (00:06 -0800)]
Replacing hard-coded mount point for ASEC with a getenv() call.

14 years agoCreate own reference for minSdkVersion in aapt
Kenny Root [Thu, 25 Feb 2010 07:49:59 +0000 (23:49 -0800)]
Create own reference for minSdkVersion in aapt

Fix bug where applications defining a minSdkVersion were experiencing
transient errors from memory corruption in aapt.

Change-Id: I839d5eda7388baac6133e735fa59f9799ca2822d

14 years agoRemove incorrect/misleading irrelevancies from example code.
Elliott Hughes [Thu, 25 Feb 2010 00:50:02 +0000 (16:50 -0800)]
Remove incorrect/misleading irrelevancies from example code.

(I'll start checking in all my benchmarks -- not just the ones relevant to this
document -- somewhere under dalvik/libcore/ tomorrow, and we can see about
linking to them for those who want something they can actually run, or just
want to see the exact code that was benchmarked.)

14 years agoMerge "Add new handler mechanism in MountService to make unmount api asynchronous...
Suchi Amalapurapu [Thu, 25 Feb 2010 04:43:24 +0000 (20:43 -0800)]
Merge "Add new handler mechanism in MountService to make unmount api asynchronous. MountService updates state on PackageManager and then tries to kill processes holding file references to media about to be unmounted by invoking api on ACtivityManager. This is retried upto 4 times to make sure all processes holding file references are killed before unmounting the media at specified path."

14 years agoAdd new handler mechanism in MountService to make unmount api asynchronous.
Suchi Amalapurapu [Tue, 23 Feb 2010 00:03:53 +0000 (16:03 -0800)]
Add new handler mechanism in MountService to make unmount api asynchronous.
MountService updates state on PackageManager and then tries to
kill processes holding file references to media about to be unmounted by
invoking api on ACtivityManager. This is retried upto 4 times to make sure all
processes holding file references are killed before unmounting the media
at specified path.

Also changed PackageManger api to return boolean value to indicate if
MountService is likely to receive broadcasts related to apps on sd.

14 years agoConfiguration param to indicate if sd card is behind the battery.
Amith Yamasani [Thu, 25 Feb 2010 04:24:10 +0000 (20:24 -0800)]
Configuration param to indicate if sd card is behind the battery.

This is to disable unmounting of the sd card by the user.

14 years agoScan for android namespace in manifest
Kenny Root [Thu, 25 Feb 2010 04:00:03 +0000 (20:00 -0800)]
Scan for android namespace in manifest

android:minSdkVersion wasn't being correctly scanned because the
namespace was incorrect. This fixes that problem so packages aren't
generated as UTF-8 when minSdkVersion is less than 7.

Change-Id: I8f45d47ea886915da6a4770f6e111e6085d61bee

14 years agoMerge "Add mobile data on/off switch."
Robert Greenwalt [Thu, 25 Feb 2010 03:45:32 +0000 (19:45 -0800)]
Merge "Add mobile data on/off switch."

14 years agoMerge "Remove empty finalize methods."
Carl Shapiro [Thu, 25 Feb 2010 03:15:06 +0000 (19:15 -0800)]
Merge "Remove empty finalize methods."

14 years agoMerge "MountService: Send UMS_CONNECTED broadcast on boot if UMS connected."
San Mehat [Thu, 25 Feb 2010 03:04:48 +0000 (19:04 -0800)]
Merge "MountService: Send UMS_CONNECTED broadcast on boot if UMS connected."

14 years agoam cbe4f887: (-s ours) am a406fb90: DO NOT MERGE
Grace Kloba [Thu, 25 Feb 2010 02:56:27 +0000 (18:56 -0800)]
am cbe4f887: (-s ours) am a406fb90: DO NOT MERGE

Merge commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243'

* commit 'cbe4f88747b56a753e4a9bf061946f4c6f051243':
  DO NOT MERGE

14 years agoMerge "Fix tabs."
Romain Guy [Thu, 25 Feb 2010 02:55:59 +0000 (18:55 -0800)]
Merge "Fix tabs."

14 years agoFix tabs.
Romain Guy [Thu, 25 Feb 2010 02:55:22 +0000 (18:55 -0800)]
Fix tabs.

14 years agoFix bug 2452941 Add a flag to maintain the intended direct playback
Jean-Michel Trivi [Thu, 25 Feb 2010 02:52:39 +0000 (18:52 -0800)]
Fix bug 2452941 Add a flag to maintain the intended direct playback
 of TTS data independently from the associated AudioTrack state.
 Only start the track when it's been stopped but is supposed to be
 playing.

14 years agoRemove empty finalize methods.
Carl Shapiro [Thu, 25 Feb 2010 02:43:36 +0000 (18:43 -0800)]
Remove empty finalize methods.

14 years agoImprove accelerometer-based orientation sensing.
Steve Howard [Tue, 23 Feb 2010 22:30:13 +0000 (14:30 -0800)]
Improve accelerometer-based orientation sensing.

There were three main complains about orientation sensing:
* Switching to landscape when putting a device down on a table (or picking it up)
* Changing orientation due to road bumps or vehicle vibrations while in a car dock
* Switching to upside-down too easily

This change includes three primary enhancements.

First, we run the accelerometer output through a lowpass filter before considering its orientation.  This avoids glitches due to brief phone movement, particularly when the phone hits a table.  The filter uses a very low default time constant of 200ms to retain responsiveness (note the samping period is ~200ms, so the effect of this filtering is pretty mild).  At tilt angles beyond 45 degrees, however, we increase the time constant to 600ms, which helps greatly with avoiding glitches picking the phone up from a table.  It does introduce some sluggishness when rotating while the phone is tilted back, i.e. being used in one's lap.

It's also worth mentioning that the accelerometer output on Sapphire appears to be pre-lowpass-filtered with a time constant of around 500ms, making this less necessary on that device, but the added effect doesn't noticeably degrade user experience in my opinion.

Second, we check the magnitude of the raw accelerometer output.  If it deviates from the strength of gravity by more than one m/s^2, we distrust the data, since that implies the device is under external acceleration and the sensor data doesn't accurately reflect orientation.  This helps avoid glitches due to shocks and vibrations, as in the car dock scenario.  However, rather than ignore the data entirely, we filter it with a very high time constant (5 sec).  As a result, if the device is rotated while vibrating, even if we never pick up a clean sample, we will eventually detect the orientation switch.  Of course, with a sampling period of 200ms, we're prone to aliasing, but that seems like a highly unlikely corner case.

Third, we restrict transitions to upside-down orientation to a much narrower range, both in terms of orientation and tilt.  This should prevent upside-down mode from activating in most cases where it's not desired.

I also updated a lot of stale documentation, added a lot of documentation, and cleaned up a lot of the code, so as to make this (often subtle) code as transparent as possible.

14 years agoam a406fb90: DO NOT MERGE
Grace Kloba [Thu, 25 Feb 2010 02:39:55 +0000 (18:39 -0800)]
am a406fb90: DO NOT MERGE

Merge commit 'a406fb90805adf36fe0fabd3a79018e33706453c' into eclair-mr2-plus-aosp

* commit 'a406fb90805adf36fe0fabd3a79018e33706453c':
  DO NOT MERGE

14 years agoMerge "ScrollView multiple pointer support. Fixed a bug where ScrollView wouldn't...
Adam Powell [Thu, 25 Feb 2010 02:30:14 +0000 (18:30 -0800)]
Merge "ScrollView multiple pointer support. Fixed a bug where ScrollView wouldn't scroll if the initially tapped child ignores the down event."

14 years agoMerge "Introducing tentative (and hidden) API for contact search snippets"
Dmitri Plotnikov [Thu, 25 Feb 2010 02:26:40 +0000 (18:26 -0800)]
Merge "Introducing tentative (and hidden) API for contact search snippets"

14 years agoDO NOT MERGE
Grace Kloba [Tue, 23 Feb 2010 23:25:31 +0000 (15:25 -0800)]
DO NOT MERGE

If mPreventDrag is cancelled due to time out, remove
the pending TOUCH_EVENTS and then send an ACTION_CANCEL
and skip the rest of touch events.

This should address the drag problem Flash plugin has.

Fix http://b/issue?id=245053

14 years agoIntroducing tentative (and hidden) API for contact search snippets
Dmitri Plotnikov [Thu, 25 Feb 2010 02:23:43 +0000 (18:23 -0800)]
Introducing tentative (and hidden) API for contact search snippets

Bug: 2447965
Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a

14 years agoScrollView multiple pointer support. Fixed a bug where ScrollView
Adam Powell [Tue, 23 Feb 2010 22:49:01 +0000 (14:49 -0800)]
ScrollView multiple pointer support. Fixed a bug where ScrollView
wouldn't scroll if the initially tapped child ignores the down event.

14 years agoAdd support for accessing native bidi implementation via jni.
Doug Felt [Wed, 24 Feb 2010 22:33:15 +0000 (14:33 -0800)]
Add support for accessing native bidi implementation via jni.

Include a simple test to verify that the bidi code works.

14 years agoMountService: Send UMS_CONNECTED broadcast on boot if UMS connected.
San Mehat [Thu, 25 Feb 2010 01:47:30 +0000 (17:47 -0800)]
MountService: Send UMS_CONNECTED broadcast on boot if UMS connected.

UMS detection is now done wayyyy before the system is booted, so set a flag
to send our intent broadcast once we've booted.

Signed-off-by: San Mehat <san@google.com>
14 years agoAdd mobile data on/off switch.
Robert Greenwalt [Wed, 24 Feb 2010 02:58:05 +0000 (18:58 -0800)]
Add mobile data on/off switch.

bug:2251458

14 years agoMerge "Tethering improvements."
Robert Greenwalt [Thu, 25 Feb 2010 02:07:18 +0000 (18:07 -0800)]
Merge "Tethering improvements."

14 years agoMerge "AsecTests: Add teardown to tests"
San Mehat [Thu, 25 Feb 2010 02:06:01 +0000 (18:06 -0800)]
Merge "AsecTests: Add teardown to tests"

14 years agoTethering improvements.
Robert Greenwalt [Wed, 24 Feb 2010 02:15:29 +0000 (18:15 -0800)]
Tethering improvements.

Changes due to comments.
Fixing Tether teardown.

bug:2422545

14 years agoMerge "Fix the build."
Romain Guy [Thu, 25 Feb 2010 02:00:01 +0000 (18:00 -0800)]
Merge "Fix the build."

14 years agoFix the build.
Romain Guy [Thu, 25 Feb 2010 01:59:35 +0000 (17:59 -0800)]
Fix the build.

14 years agoMerge "New update of preloaded classes for Froyo."
Jesse Wilson [Thu, 25 Feb 2010 01:38:13 +0000 (17:38 -0800)]
Merge "New update of preloaded classes for Froyo."

14 years agoMerge "Add 'restoreAnyVersion' attr for apps that want to restore "future" data"
Chris Tate [Thu, 25 Feb 2010 01:24:54 +0000 (17:24 -0800)]
Merge "Add 'restoreAnyVersion' attr for apps that want to restore "future" data"

14 years agoAdd 'restoreAnyVersion' attr for apps that want to restore "future" data
Christopher Tate [Thu, 25 Feb 2010 00:06:18 +0000 (16:06 -0800)]
Add 'restoreAnyVersion' attr for apps that want to restore "future" data

If a backup-participating app sets android:restoreAnyVersion="true" in its
manifest <application> tag, then its agent will be invoked for restore
even if the available dataset was created by a later version of the app
than is currently installed on the device.  This will not typically be
a problem for third party applications, since for them the installation
and initial data restore are tightly coupled, but it can cause serious
problems for applications which are both preinstalled on the system
partition and overridden by later updates.  The primary difficulty
that this new attribute addresses is this:

1. User buys a Nexus One, Market self-updates, and the user installs some apps.
At this point the backup data on the server may indicate that the version of
Market which originated its bookkeeping is newer than the stock N1 Market app.
2. User loses their phone, and buys a replacement N1.  At setup time, Market
has not yet had a chance to self-update, so when the restore comes in, it's
tagged as being from "the future" and so the restore is refused.  No apps get
reinstalled.

Bug: 2442127
Change-Id: I076a9553dc613e5c3189350e778315718ed1ed2b

14 years agoPrevents ListView items children to modify properties of other children.
Romain Guy [Wed, 24 Feb 2010 23:57:54 +0000 (15:57 -0800)]
Prevents ListView items children to modify properties of other children.
Bug #2464502

This fix introduce a new dispatch mechanism to tell views when they are temporary
detached/reattached from/to a ListView. This is very important to remove pending
callbacks or cleanup temporary states.

This change also modifies TextView which was relying on that callback in a very
particular case: a focused EditText in a ListView. The modified code acts only
when in that case, not if onStart/FinishTemporaryDetach() is called via
dispatch*() (== recycled views in ListView.)

14 years agoMerge "Make ScrollView only do overscroll if you're grabbing the child view."
Joe Onorato [Thu, 25 Feb 2010 00:30:00 +0000 (16:30 -0800)]
Merge "Make ScrollView only do overscroll if you're grabbing the child view."

14 years agoMake ScrollView only do overscroll if you're grabbing the child view.
Joe Onorato [Wed, 24 Feb 2010 03:19:22 +0000 (19:19 -0800)]
Make ScrollView only do overscroll if you're grabbing the child view.

14 years agoNew update of preloaded classes for Froyo.
Jesse Wilson [Wed, 24 Feb 2010 01:06:58 +0000 (17:06 -0800)]
New update of preloaded classes for Froyo.

14 years agoMerge "allow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as...
Fred Quintana [Wed, 24 Feb 2010 23:25:44 +0000 (15:25 -0800)]
Merge "allow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as well as the previous MANAGE_ACCOUNTS"

14 years agoMerge "Filenames of sound effects are not translatable."
Eric Fischer [Wed, 24 Feb 2010 22:53:10 +0000 (14:53 -0800)]
Merge "Filenames of sound effects are not translatable."

14 years agoallow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as well as...
Fred Quintana [Wed, 24 Feb 2010 21:40:54 +0000 (13:40 -0800)]
allow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as well as the previous MANAGE_ACCOUNTS

14 years agoMerge "yet another race condition fix to address bug:2456970"
Vasu Nori [Wed, 24 Feb 2010 22:36:36 +0000 (14:36 -0800)]
Merge "yet another race condition fix to address bug:2456970"

14 years agoMerge "If mPreventDrag is cancelled due to time out, remove the pending TOUCH_EVENTS...
Grace Kloba [Wed, 24 Feb 2010 22:32:50 +0000 (14:32 -0800)]
Merge "If mPreventDrag is cancelled due to time out, remove the pending TOUCH_EVENTS and then send an ACTION_CANCEL and skip the rest of touch events."

14 years agoMerge "Recover from a certain mp3 decoder error instead of signalling an error and...
Andreas Huber [Wed, 24 Feb 2010 22:32:16 +0000 (14:32 -0800)]
Merge "Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding."

14 years agoIf mPreventDrag is cancelled due to time out, remove
Grace Kloba [Tue, 23 Feb 2010 23:25:31 +0000 (15:25 -0800)]
If mPreventDrag is cancelled due to time out, remove
the pending TOUCH_EVENTS and then send an ACTION_CANCEL
and skip the rest of touch events.

This should address the drag problem Flash plugin has.

Fix http://b/issue?id=245053

14 years agoMerge "Fix spelling mistakes in attrs_manifest.xml"
Kenny Root [Wed, 24 Feb 2010 22:14:13 +0000 (14:14 -0800)]
Merge "Fix spelling mistakes in attrs_manifest.xml"

14 years agoAdd HTML5 layout tests that currently fail to the DumpRenderTree skipped list
Steve Block [Fri, 5 Feb 2010 15:56:36 +0000 (15:56 +0000)]
Add HTML5 layout tests that currently fail to the DumpRenderTree skipped list

All of these tests should pass on Android. This is a temporary measure to track
all of these failures in a central place and to provide a consistent baseline
for DumpRenderTree test results while the problems are fixed.

Change-Id: I2cfaaa8df07be3b43c8e6517f75a7c438f147150

14 years agoMerge "b/2441327 Added add account intent to public api."
Erik Pasternak [Wed, 24 Feb 2010 22:00:01 +0000 (14:00 -0800)]
Merge "b/2441327 Added add account intent to public api."

14 years agoFix spelling mistakes in attrs_manifest.xml
Kenny Root [Wed, 24 Feb 2010 21:53:16 +0000 (13:53 -0800)]
Fix spelling mistakes in attrs_manifest.xml

Change-Id: I6ff54cacff85ff60535b2c03559a33d219c52e72

14 years agoMerge "Add some backup Javadoc and clean imports"
Kenny Root [Wed, 24 Feb 2010 21:19:14 +0000 (13:19 -0800)]
Merge "Add some backup Javadoc and clean imports"

14 years agoRecover from a certain mp3 decoder error instead of signalling an error and thereby...
Andreas Huber [Wed, 24 Feb 2010 21:19:04 +0000 (13:19 -0800)]
Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding.

14 years agoMerge "- return the accounts when getAccountByTypeAndFeatures is passed a null...
Fred Quintana [Wed, 24 Feb 2010 21:15:14 +0000 (13:15 -0800)]
Merge "- return the accounts when getAccountByTypeAndFeatures is   passed a null or empty features set, b/issue?id=2467165 - clear the authtokens when the password changes"

14 years agoFix crash in PendingIntentRecord debug output.
Dianne Hackborn [Wed, 24 Feb 2010 01:25:30 +0000 (17:25 -0800)]
Fix crash in PendingIntentRecord debug output.

Add null checks to a few places to avoid crashes when dumping
debug data.

Also add some sanity checks for accessing content providers in
the activity manager.

14 years agoAdd some backup Javadoc and clean imports
Kenny Root [Wed, 24 Feb 2010 02:49:11 +0000 (18:49 -0800)]
Add some backup Javadoc and clean imports

Add a bit more Javadoc to the backup infrastructure and clean up unused
imports.

Change-Id: I8ab7c3fb887ae2e8d2f1bfac42f03cb4b42685ef

14 years agoyet another race condition fix to address bug:2456970
Vasu Nori [Wed, 24 Feb 2010 20:42:46 +0000 (12:42 -0800)]
yet another race condition fix to address bug:2456970

14 years agoMerge "Focus the IME on WebView when no textfield is in focus."
Leon Scroggins [Wed, 24 Feb 2010 20:17:35 +0000 (12:17 -0800)]
Merge "Focus the IME on WebView when no textfield is in focus."

14 years agoAsecTests: Add teardown to tests
San Mehat [Wed, 24 Feb 2010 18:20:37 +0000 (10:20 -0800)]
AsecTests: Add teardown to tests

Signed-off-by: San Mehat <san@google.com>
14 years ago- return the accounts when getAccountByTypeAndFeatures is
Fred Quintana [Wed, 24 Feb 2010 20:07:53 +0000 (12:07 -0800)]
- return the accounts when getAccountByTypeAndFeatures is
  passed a null or empty features set, http://b/issue?id=2467165
- clear the authtokens when the password changes

14 years agoFix issue 2327064: Music played via line out is interrupted due to the phone call...
Eric Laurent [Wed, 24 Feb 2010 19:51:43 +0000 (11:51 -0800)]
Fix issue 2327064: Music played via line out is interrupted due to the phone call audio on BT hs.

This is not a real fix for the issue but a change to make sure that the behavior is consistent regardless of
external condidions (WIFI ON or OFF, music started before call or not, A2DP device same as SCO device...).

As there is now way to guaranty good quality audio over both SCO and A2DP simultaneously, especially when WIFI is on, We will stick to this behavior:
When music is playing and we are docked to the desk dock and a call is answered with a BT SCO headset, A2DP output will be suspended.
If music is restarted during the call, it will appear muted to the user until the call is terminated.

14 years agoMerge "GpsLocationProvider: Be less aggressive about getting fixes in bad conditions...
Mike Lockwood [Wed, 24 Feb 2010 19:52:36 +0000 (11:52 -0800)]
Merge "GpsLocationProvider: Be less aggressive about getting fixes in bad conditions if we have a long fix interval."

14 years agoGpsLocationProvider: Be less aggressive about getting fixes in bad conditions if...
Mike Lockwood [Wed, 24 Feb 2010 19:34:50 +0000 (14:34 -0500)]
GpsLocationProvider: Be less aggressive about getting fixes in bad conditions if we have a long fix interval.

Change-Id: I68bd884409ca15e584ab70e53cf142d60f318d9c
BUG: 2215714

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFilenames of sound effects are not translatable.
Eric Fischer [Wed, 24 Feb 2010 19:43:12 +0000 (11:43 -0800)]
Filenames of sound effects are not translatable.

14 years agoMerge "Fix broken location extras in GpsLocationProvider."
Mike Lockwood [Wed, 24 Feb 2010 19:39:40 +0000 (11:39 -0800)]
Merge "Fix broken location extras in GpsLocationProvider."

14 years agoMerge "add "startservice" option to am command-line utility"
Doug Zongker [Wed, 24 Feb 2010 19:38:08 +0000 (11:38 -0800)]
Merge "add "startservice" option to am command-line utility"

14 years agoadd "startservice" option to am command-line utility
Doug Zongker [Wed, 24 Feb 2010 19:13:26 +0000 (11:13 -0800)]
add "startservice" option to am command-line utility

Allows starting Services in addition to Activities.

Change-Id: Ib078115f6200faa8907b35909af2f64b0c563b38

14 years agoMerge "Add documentation to help developers make an RFCOMM conection to a Bluetooth...
Nick Pelly [Wed, 24 Feb 2010 19:34:03 +0000 (11:34 -0800)]
Merge "Add documentation to help developers make an RFCOMM conection to a Bluetooth serial board. They all use a well-known UUID that is not really explained anywhere official, and this always trips developers up."

14 years agoMerge "Some framework fixes for apps on sd change hard coded path in installd fix...
Suchi Amalapurapu [Wed, 24 Feb 2010 19:33:31 +0000 (11:33 -0800)]
Merge "Some framework fixes for apps on sd change hard coded path in installd fix tests Work around for renaming containers. Do forced unmount when destroying containers. Force a gc in default container service to release handle to parsed package and thus avoid getting killed by vold Some cosmetic changes to PackageManager api. Unit tests for renaming container for MountService Remove internal size limit on app to be installed."

14 years agoMerge "Factor bidi algorithm into separate method."
Eric Fischer [Wed, 24 Feb 2010 19:32:51 +0000 (11:32 -0800)]
Merge "Factor bidi algorithm into separate method."

14 years agoSome framework fixes for apps on sd
Suchi Amalapurapu [Wed, 24 Feb 2010 03:37:45 +0000 (19:37 -0800)]
Some framework fixes for apps on sd
change hard coded path in installd
fix tests
Work around for renaming containers.
Do forced unmount when destroying containers.
Force a gc in default container service to release handle to parsed package
and thus avoid getting killed by vold
Some cosmetic changes to PackageManager api.
Unit tests for renaming container for MountService
Remove internal size limit on app to be installed.

14 years agoFactor bidi algorithm into separate method.
Doug Felt [Mon, 22 Feb 2010 21:39:01 +0000 (13:39 -0800)]
Factor bidi algorithm into separate method.

Add rudimentary support for overriding default base line direction heuristic.
Add some simple tests of the bidi implementation.

14 years agoam 563d3a62: merge from open-source master
The Android Open Source Project [Wed, 24 Feb 2010 19:19:12 +0000 (11:19 -0800)]
am 563d3a62: merge from open-source master

Merge commit '563d3a62f3762b312a4c0a9d9af15a2333beaede'

* commit '563d3a62f3762b312a4c0a9d9af15a2333beaede':
  These changes add access to some status values in widgets listed below:

14 years agoAdd documentation to help developers make an RFCOMM conection to a Bluetooth
Nick Pelly [Wed, 24 Feb 2010 19:19:10 +0000 (11:19 -0800)]
Add documentation to help developers make an RFCOMM conection to a Bluetooth
serial board. They all use a well-known UUID that is not really explained
anywhere official, and this always trips developers up.

Change-Id: I53bda44b580f472b1ff1ad196b25485b68f4b5d5

14 years agob/2441327 Added add account intent to public api.
Erik [Thu, 18 Feb 2010 21:27:19 +0000 (13:27 -0800)]
b/2441327 Added add account intent to public api.

Added ACTION_ADD_ACCOUNT intent and EXTRAS_AUTHORITIES strings to the public
api so that Calendar can send users to the add account screen directly instead
of via the sync settings page.