19094 Commits

Author SHA1 Message Date
Adam Powell
9d6e45ad92 Merge "ScrollView multiple pointer support. Fixed a bug where ScrollView wouldn't scroll if the initially tapped child ignores the down event." 2010-02-24 18:30:14 -08:00
Dmitri Plotnikov
fa0e57fbe7 Merge "Introducing tentative (and hidden) API for contact search snippets" 2010-02-24 18:26:40 -08:00
Grace Kloba
a406fb9080 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
2010-02-24 18:24:48 -08:00
Dmitri Plotnikov
3ba8a3b39b Introducing tentative (and hidden) API for contact search snippets
Bug: 2447965
Change-Id: I0608ca7a644f004613742f4680a5a9fd3325554a
2010-02-24 18:23:43 -08:00
Adam Powell
bc4e7533b9 ScrollView multiple pointer support. Fixed a bug where ScrollView
wouldn't scroll if the initially tapped child ignores the down event.
2010-02-24 18:22:08 -08:00
Doug Felt
dae8e94cce Add support for accessing native bidi implementation via jni.
Include a simple test to verify that the bidi code works.
2010-02-24 18:20:54 -08:00
San Mehat
6a965af2d7 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>
2010-02-24 18:14:18 -08:00
Robert Greenwalt
c03fa50149 Add mobile data on/off switch.
bug:2251458
2010-02-24 18:14:07 -08:00
James Dong
9b433f0b65 Image encoding settings java API through xml configuration file
- I decided to completely remove jpeg decoding related stuff from this change
  I think that setting is better off if it is specified by the system properties.
  We don't have to include MediaProfiles.h header in skia files
2010-02-24 18:10:12 -08:00
Robert Greenwalt
240becc68d Merge "Tethering improvements." 2010-02-24 18:07:18 -08:00
San Mehat
9b1e9edff5 Merge "AsecTests: Add teardown to tests" 2010-02-24 18:06:01 -08:00
Robert Greenwalt
d70a3d4e2d Tethering improvements.
Changes due to comments.
Fixing Tether teardown.

bug:2422545
2010-02-24 18:03:40 -08:00
Romain Guy
21a20a39ae Merge "Fix the build." 2010-02-24 18:00:01 -08:00
Romain Guy
dcc490f201 Fix the build. 2010-02-24 17:59:35 -08:00
Jesse Wilson
a09bb0d218 Merge "New update of preloaded classes for Froyo." 2010-02-24 17:38:13 -08:00
Chris Tate
68aea82432 Merge "Add 'restoreAnyVersion' attr for apps that want to restore "future" data" 2010-02-24 17:24:54 -08:00
Christopher Tate
3dda518a4f 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
2010-02-24 17:23:54 -08:00
Romain Guy
a440b002aa 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.)
2010-02-24 17:15:40 -08:00
Joe Onorato
618c8f1ede Merge "Make ScrollView only do overscroll if you're grabbing the child view." 2010-02-24 16:30:00 -08:00
Joe Onorato
9f0e8eeab2 Make ScrollView only do overscroll if you're grabbing the child view. 2010-02-24 16:20:33 -08:00
Jesse Wilson
e9fcaa0697 New update of preloaded classes for Froyo. 2010-02-24 15:50:05 -08:00
Fred Quintana
27eb24148a Merge "allow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as well as the previous MANAGE_ACCOUNTS" 2010-02-24 15:25:44 -08:00
Eric Fischer
9245bf853c Merge "Filenames of sound effects are not translatable." 2010-02-24 14:53:10 -08:00
Fred Quintana
b38eb14dbf allow permission USE_CREDENTIALS for AccountManager.invalidateAuthToken as well as the previous MANAGE_ACCOUNTS 2010-02-24 14:50:30 -08:00
Vasu Nori
7537590934 Merge "yet another race condition fix to address bug:2456970" 2010-02-24 14:36:36 -08:00
Grace Kloba
aa13fbedba 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." 2010-02-24 14:32:50 -08:00
Andreas Huber
62be8e17b0 Merge "Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding." 2010-02-24 14:32:16 -08:00
Grace Kloba
93f5831ef2 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
2010-02-24 14:31:44 -08:00
Kenny Root
e0e6a9c0fc Merge "Fix spelling mistakes in attrs_manifest.xml" 2010-02-24 14:14:13 -08:00
Steve Block
f7483b1d5c 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
2010-02-24 22:11:07 +00:00
Erik Pasternak
6550c72006 Merge "b/2441327 Added add account intent to public api." 2010-02-24 14:00:01 -08:00
Kenny Root
4217a3e0c2 Fix spelling mistakes in attrs_manifest.xml
Change-Id: I6ff54cacff85ff60535b2c03559a33d219c52e72
2010-02-24 13:53:16 -08:00
Kenny Root
846ebf38ab Merge "Add some backup Javadoc and clean imports" 2010-02-24 13:19:14 -08:00
Andreas Huber
ff0c5c1929 Recover from a certain mp3 decoder error instead of signalling an error and thereby stopping decoding. 2010-02-24 13:19:04 -08:00
Fred Quintana
4855965a14 Merge "- 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" 2010-02-24 13:15:14 -08:00
Dianne Hackborn
c3b91fd26a 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.
2010-02-24 13:12:52 -08:00
Kenny Root
5a20ea16d7 Add some backup Javadoc and clean imports
Add a bit more Javadoc to the backup infrastructure and clean up unused
imports.

Change-Id: I8ab7c3fb887ae2e8d2f1bfac42f03cb4b42685ef
2010-02-24 12:47:14 -08:00
Vasu Nori
1d7265800d yet another race condition fix to address bug:2456970 2010-02-24 12:42:46 -08:00
Leon Scroggins
58cf334ff4 Merge "Focus the IME on WebView when no textfield is in focus." 2010-02-24 12:17:35 -08:00
San Mehat
7db3e5e287 AsecTests: Add teardown to tests
Signed-off-by: San Mehat <san@google.com>
2010-02-24 12:13:54 -08:00
Fred Quintana
d4a9d6c42b - 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
2010-02-24 12:13:01 -08:00
Eric Laurent
ce3e038ac9 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.
2010-02-24 11:54:32 -08:00
Mike Lockwood
963bb682bf Merge "GpsLocationProvider: Be less aggressive about getting fixes in bad conditions if we have a long fix interval." 2010-02-24 11:52:36 -08:00
Mike Lockwood
b7be5447a0 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>
2010-02-24 14:44:18 -05:00
Eric Fischer
00f58438bd Filenames of sound effects are not translatable. 2010-02-24 11:43:12 -08:00
Mike Lockwood
5866b97874 Merge "Fix broken location extras in GpsLocationProvider." 2010-02-24 11:39:40 -08:00
Doug Zongker
3963cca7ff Merge "add "startservice" option to am command-line utility" 2010-02-24 11:38:08 -08:00
Doug Zongker
6fb35fe1ac add "startservice" option to am command-line utility
Allows starting Services in addition to Activities.

Change-Id: Ib078115f6200faa8907b35909af2f64b0c563b38
2010-02-24 11:37:35 -08:00
Nick Pelly
a141ecff2f 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." 2010-02-24 11:34:03 -08:00
Suchi Amalapurapu
4b69fea63f 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." 2010-02-24 11:33:31 -08:00