8739 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Eric Fischer
c9c0f4700a Merge "Factor bidi algorithm into separate method." 2010-02-24 11:32:51 -08:00
Suchi Amalapurapu
cf6eaeaae9 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:31:36 -08:00
Doug Felt
20178d62cf Factor bidi algorithm into separate method.
Add rudimentary support for overriding default base line direction heuristic.
Add some simple tests of the bidi implementation.
2010-02-24 11:21:46 -08:00
The Android Open Source Project
2a399f066d am 563d3a62: merge from open-source master
Merge commit '563d3a62f3762b312a4c0a9d9af15a2333beaede'

* commit '563d3a62f3762b312a4c0a9d9af15a2333beaede':
  These changes add access to some status values in widgets listed below:
2010-02-24 11:19:12 -08:00
Nick Pelly
ea5056e5a7 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
2010-02-24 11:19:10 -08:00
Erik
eebc8e2e8f 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.
2010-02-24 11:05:14 -08:00
Romain Guy
3bfd5ed735 Merge "Add disabled state to the Spinner widget. Bug #2464034" 2010-02-24 10:02:58 -08:00
The Android Open Source Project
563d3a62f3 merge from open-source master 2010-02-24 10:02:55 -08:00
Romain Guy
9897c67c05 Add disabled state to the Spinner widget.
Bug #2464034
2010-02-24 10:02:30 -08:00
Andy McFadden
834481cf8e Merge "Add class init stats to alloc counters (API change)." 2010-02-24 09:38:48 -08:00
The Android Open Source Project
9a352305f8 merge from open-source master 2010-02-24 09:11:10 -08:00
Grace Kloba
681875642a Merge "Temp disable plugin's signature checking." 2010-02-24 09:09:19 -08:00
Kenny Root
9ff1f96fdf Merge "Use UTF-8 strings to avoid duplicate caching, part 1" 2010-02-24 07:52:27 -08:00
Andy McFadden
c4e1bf7282 Add class init stats to alloc counters (API change).
Add calls to retrieve class initialization stats via the allocation
count mechanism.

For bug 2461549.
2010-02-24 07:37:38 -08:00
Daisuke Miyakawa
6c0df0b473 Merge "Purge CallLog." 2010-02-24 03:00:51 -08:00
Bjorn Bringert
7d07408cbe Merge "Use PackageMonitor in SearchManagerService" 2010-02-24 00:22:56 -08:00
Daisuke Miyakawa
0dcb69292e Purge CallLog. 2010-02-24 14:17:15 +09:00
Joe Onorato
0e93b562f4 Merge "Make the notification windowshade work properly with overscroll." 2010-02-23 19:20:22 -08:00
Joe Onorato
f0fda925e6 Make the notification windowshade work properly with overscroll.
Bug: 2432590
2010-02-23 19:18:54 -08:00
Roy West
2854419072 Merge "Edit strings related to calendar permissions, bug 2463956." 2010-02-23 18:09:19 -08:00
Robert Greenwalt
5cde63a60d Merge "Add USB RNDIS enable/disable control" 2010-02-23 18:08:04 -08:00
Roy West
7467d49e61 Edit strings related to calendar permissions, bug 2463956. 2010-02-23 17:18:22 -08:00
Gloria Wang
2e1818a4d1 New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming. 2010-02-23 17:05:44 -08:00
Fabrice Di Meglio
d88602df36 Merge "Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)" 2010-02-23 17:02:36 -08:00
Eric Fischer
8ca1228168 Merge "Fix rounding of extra spacing when it is negative." 2010-02-23 16:45:41 -08:00
Steve Zeigler
7a36788f4a These changes add access to some status values in widgets listed below:
widget/CheckedTextView.java:  report if the item is checked or not.

widget/CompoundButton.java:  report if the item is checked or not.

widget/ProgressBar.java:  isIndeterminate(), getProgress(), getSecondaryProgress(), and getMax() report what
sliders and progress bars are showing

widget/TextView.java: report the current selection:  getSelectionStart() and getSelectionEnd()
2010-02-23 16:39:08 -08:00
Grace Kloba
6870eba19f Temp disable plugin's signature checking.
Filed http://b/issue?id=2465450 to re-enable later.
2010-02-23 16:25:21 -08:00
Fabrice Di Meglio
66c5bd9065 Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)
also fix a NPE in populateComponent() when Calendar.Events.ALL_DAY property was not defined

Change-Id: Ia5f15755b5af437ee1e661122193f318868ddf6d
2010-02-23 16:15:37 -08:00
Robert Greenwalt
65ae29bd85 Add USB RNDIS enable/disable control
Also adding interface configuration to the tethering machine.
Also fixing netd bug that didn't send up/down portion of iface config command.
2010-02-23 16:04:41 -08:00