OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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.

14 years agoMerge "Fix the layoutlib to still support fill_parent."
Xavier Ducrohet [Wed, 24 Feb 2010 18:54:00 +0000 (10:54 -0800)]
Merge "Fix the layoutlib to still support fill_parent."

14 years agoMerge "Fix build."
Andy McFadden [Wed, 24 Feb 2010 18:15:34 +0000 (10:15 -0800)]
Merge "Fix build."

14 years agoFix build.
Andy McFadden [Wed, 24 Feb 2010 18:10:41 +0000 (10:10 -0800)]
Fix build.

This puts the deprecation status change in the right place.

14 years agoMerge "Add disabled state to the Spinner widget. Bug #2464034"
Romain Guy [Wed, 24 Feb 2010 18:02:58 +0000 (10:02 -0800)]
Merge "Add disabled state to the Spinner widget. Bug #2464034"

14 years agomerge from open-source master
The Android Open Source Project [Wed, 24 Feb 2010 18:02:55 +0000 (10:02 -0800)]
merge from open-source master

14 years agoAdd disabled state to the Spinner widget.
Romain Guy [Wed, 24 Feb 2010 18:02:01 +0000 (10:02 -0800)]
Add disabled state to the Spinner widget.
Bug #2464034

14 years agoMerge "LocationTracker: change copyright from Google to AOSP."
Mike Lockwood [Wed, 24 Feb 2010 18:00:51 +0000 (10:00 -0800)]
Merge "LocationTracker: change copyright from Google to AOSP."

14 years agoLocationTracker: change copyright from Google to AOSP.
Mike Lockwood [Wed, 24 Feb 2010 17:59:14 +0000 (12:59 -0500)]
LocationTracker: change copyright from Google to AOSP.

Change-Id: Id74bf74ac8eb372617136b4021853270d4bf5174
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge "MountService: Fix bug which would allow apps to try to rename a container...
San Mehat [Wed, 24 Feb 2010 17:52:55 +0000 (09:52 -0800)]
Merge "MountService: Fix bug which would allow apps to try to rename a container whos dst is mounted"

14 years agoMerge "Add class init stats to alloc counters (API change)."
Andy McFadden [Wed, 24 Feb 2010 17:38:48 +0000 (09:38 -0800)]
Merge "Add class init stats to alloc counters (API change)."

14 years agoMerge "Tag stagefright development tools as "debug-only"."
Andreas Huber [Wed, 24 Feb 2010 17:12:03 +0000 (09:12 -0800)]
Merge "Tag stagefright development tools as "debug-only"."

14 years agomerge from open-source master
The Android Open Source Project [Wed, 24 Feb 2010 17:11:10 +0000 (09:11 -0800)]
merge from open-source master

14 years agoMerge "Temp disable plugin's signature checking."
Grace Kloba [Wed, 24 Feb 2010 17:09:19 +0000 (09:09 -0800)]
Merge "Temp disable plugin's signature checking."

14 years agoFix broken location extras in GpsLocationProvider.
Mike Lockwood [Wed, 24 Feb 2010 16:52:59 +0000 (11:52 -0500)]
Fix broken location extras in GpsLocationProvider.

Fixes http://code.google.com/p/android/issues/detail?id=4151
(Satellite count not being provided by Location class any more. Location.getExtras() returns null.)

Change-Id: I4cf2922f4a5ed216541f8a8553523d1f6a1c1d0c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMountService: Fix bug which would allow apps to try to rename a container whos dst...
San Mehat [Wed, 24 Feb 2010 16:54:18 +0000 (08:54 -0800)]
MountService: Fix bug which would allow apps to try to rename a container whos dst is mounted

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "Use UTF-8 strings to avoid duplicate caching, part 1"
Kenny Root [Wed, 24 Feb 2010 15:52:27 +0000 (07:52 -0800)]
Merge "Use UTF-8 strings to avoid duplicate caching, part 1"

14 years agoAdd class init stats to alloc counters (API change).
Andy McFadden [Tue, 23 Feb 2010 01:07:36 +0000 (17:07 -0800)]
Add class init stats to alloc counters (API change).

Add calls to retrieve class initialization stats via the allocation
count mechanism.

For bug 2461549.

14 years agoMerge "Purge CallLog."
Daisuke Miyakawa [Wed, 24 Feb 2010 11:00:51 +0000 (03:00 -0800)]
Merge "Purge CallLog."

14 years agoMerge "Use PackageMonitor in SearchManagerService"
Bjorn Bringert [Wed, 24 Feb 2010 08:22:56 +0000 (00:22 -0800)]
Merge "Use PackageMonitor in SearchManagerService"

14 years agoMerge "Fix issue 2305382: Pick up original call makes a noisy beep when wired headset...
Eric Laurent [Wed, 24 Feb 2010 07:36:37 +0000 (23:36 -0800)]
Merge "Fix issue 2305382: Pick up original call makes a noisy beep when wired headset connected."

14 years agoMerge "These changes add access to some status values in widgets listed below:"
Romain Guy [Wed, 24 Feb 2010 06:23:21 +0000 (22:23 -0800)]
Merge "These changes add access to some status values in widgets listed below:"

14 years agoPurge CallLog.
Daisuke Miyakawa [Tue, 23 Feb 2010 21:43:38 +0000 (06:43 +0900)]
Purge CallLog.

14 years agoFix the layoutlib to still support fill_parent.
Xavier Ducrohet [Wed, 24 Feb 2010 03:43:04 +0000 (19:43 -0800)]
Fix the layoutlib to still support fill_parent.

Change-Id: I5e1825f1f853cf9e31b2ee262edce636a030429d

14 years agoMerge "Turn off lock screen sounds by default."
Daniel Sandler [Wed, 24 Feb 2010 03:34:08 +0000 (19:34 -0800)]
Merge "Turn off lock screen sounds by default."

14 years agoMerge "Make the notification windowshade work properly with overscroll."
Joe Onorato [Wed, 24 Feb 2010 03:20:22 +0000 (19:20 -0800)]
Merge "Make the notification windowshade work properly with overscroll."

14 years agoMake the notification windowshade work properly with overscroll.
Joe Onorato [Wed, 24 Feb 2010 03:18:54 +0000 (19:18 -0800)]
Make the notification windowshade work properly with overscroll.

Bug: 2432590

14 years agoMerge "javadoc spelling fix"
Brian Carlstrom [Wed, 24 Feb 2010 02:48:06 +0000 (18:48 -0800)]
Merge "javadoc spelling fix"

14 years agoFix build.
Robert Greenwalt [Wed, 24 Feb 2010 02:15:29 +0000 (18:15 -0800)]
Fix build.

clicked "submit" on I65ae29bd when I shouldn't have.

Fixing according to comments and a build error change.

14 years agoMerge "Edit strings related to calendar permissions, bug 2463956."
Roy West [Wed, 24 Feb 2010 02:09:19 +0000 (18:09 -0800)]
Merge "Edit strings related to calendar permissions, bug 2463956."

14 years agoMerge "Add USB RNDIS enable/disable control"
Robert Greenwalt [Wed, 24 Feb 2010 02:08:04 +0000 (18:08 -0800)]
Merge "Add USB RNDIS enable/disable control"

14 years agoEdit strings related to calendar permissions, bug 2463956.
Roy West [Wed, 24 Feb 2010 01:18:22 +0000 (17:18 -0800)]
Edit strings related to calendar permissions, bug 2463956.

14 years agoNew API on VideoView widget to suspend/resume a session. Do not release the MediaPlay...
Gloria Wang [Mon, 22 Feb 2010 22:49:13 +0000 (14:49 -0800)]
New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming.

14 years agoMerge "Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75...
Fabrice Di Meglio [Wed, 24 Feb 2010 01:02:36 +0000 (17:02 -0800)]
Merge "Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)"

14 years agoTag stagefright development tools as "debug-only".
Andreas Huber [Wed, 24 Feb 2010 00:55:02 +0000 (16:55 -0800)]
Tag stagefright development tools as "debug-only".

14 years agoMerge "Fix rounding of extra spacing when it is negative."
Eric Fischer [Wed, 24 Feb 2010 00:45:41 +0000 (16:45 -0800)]
Merge "Fix rounding of extra spacing when it is negative."

14 years agoTurn off lock screen sounds by default.
Daniel Sandler [Wed, 24 Feb 2010 00:43:35 +0000 (19:43 -0500)]
Turn off lock screen sounds by default.

This change also fixes a typo that was suppressing the dock
sounds. But: so as not to surprise anyone, this change
defaults dock sounds off as well. Will need to add UI
somewhere to turn them on (Spare Parts?).

Bug: 2465483
Change-Id: Ic2cccb416d5616a84363debb740bf5897f0831c4

14 years agoThese changes add access to some status values in widgets listed below:
Steve Zeigler [Wed, 24 Feb 2010 00:39:08 +0000 (16:39 -0800)]
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()

14 years agoTemp disable plugin's signature checking.
Grace Kloba [Wed, 24 Feb 2010 00:24:21 +0000 (16:24 -0800)]
Temp disable plugin's signature checking.

Filed http://b/issue?id=2465450 to re-enable later.

14 years agoFix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)
Fabrice Di Meglio [Tue, 23 Feb 2010 19:50:21 +0000 (11:50 -0800)]
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

14 years agoRemove redundant interface disable
Irfan Sheriff [Tue, 23 Feb 2010 23:34:15 +0000 (15:34 -0800)]
Remove redundant interface disable

Bug: 2274930
Change-Id: Ia1eafe422f6e18b826e53e72a306dd2961b948a6

14 years agoAdd USB RNDIS enable/disable control
Robert Greenwalt [Thu, 18 Feb 2010 19:25:54 +0000 (11:25 -0800)]
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.

14 years agoMerge "Remove unused private assets from Android 1.0."
Romain Guy [Wed, 24 Feb 2010 00:01:37 +0000 (16:01 -0800)]
Merge "Remove unused private assets from Android 1.0."

14 years agoRemove unused private assets from Android 1.0.
Romain Guy [Wed, 24 Feb 2010 00:00:52 +0000 (16:00 -0800)]
Remove unused private assets from Android 1.0.

14 years agoIssue 5697: getContextClassLoader returns a non-application classloader
Brian Carlstrom [Tue, 9 Feb 2010 19:23:40 +0000 (11:23 -0800)]
Issue 5697: getContextClassLoader returns a non-application classloader

ActivityThread should try to set the value for Java
Thread.getContextClassLoader to the PathClassLoader that loaded the
APK's classes so that Java frameworks that use the Java context class
loader, which is not to be confused with the
android.content.Context.getClassLoader which serves a similar purpose
in the Android framework.

However, we avoid setting the Java context ClassLoader to the APK's
PathClassLoader if there is a static indication that multiple packages
may share the VM, since they could load in an unpredictable order
leading to different values for the thread local Java context
ClassLoader. In this case, we instead use a specially created
WarningContextClassLoader that warns the user the first time the Java
context ClassLoader.

Currently the static indications that a package might share a VM with
other packages are the presence in the AndroidManifest of a
sharedUserId or requesting a non-default application process name.

14 years agoMerge "Use Java API from xml configuration in the test application"
James Dong [Tue, 23 Feb 2010 23:42:28 +0000 (15:42 -0800)]
Merge "Use Java API from xml configuration in the test application"

14 years agoMerge "Add Arp Cache dump"
Dmitry Shmidt [Tue, 23 Feb 2010 23:25:46 +0000 (15:25 -0800)]
Merge "Add Arp Cache dump"

14 years agoAdd Arp Cache dump
Dmitry Shmidt [Tue, 23 Feb 2010 23:21:11 +0000 (15:21 -0800)]
Add Arp Cache dump

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
14 years agoMerge "Remove never-used dead code from BackupManager"
Joe Onorato [Tue, 23 Feb 2010 23:09:49 +0000 (15:09 -0800)]
Merge "Remove never-used dead code from BackupManager"

14 years agoRemove never-used dead code from BackupManager
Christopher Tate [Tue, 23 Feb 2010 23:01:52 +0000 (15:01 -0800)]
Remove never-used dead code from BackupManager

Change-Id: I93a8341160815e29625a978fee27014beb2c6a26

14 years agoUse PackageMonitor in SearchManagerService
Bjorn Bringert [Tue, 23 Feb 2010 22:48:46 +0000 (22:48 +0000)]
Use PackageMonitor in SearchManagerService

This should reduce the number of updates to the searchables
list if multiple packages change at the same time.

Fixes http://b/issue?id=2270711

Change-Id: Ieb930022866aa2872f8df1af677e3ea1645349bf

14 years agoMerge "Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils."
Jim Miller [Tue, 23 Feb 2010 22:16:46 +0000 (14:16 -0800)]
Merge "Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils."

14 years agoPropagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_...
Andreas Huber [Tue, 23 Feb 2010 21:45:33 +0000 (13:45 -0800)]
Propagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back.

related-to-bug: 2463749

14 years agoFix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.
Jim Miller [Tue, 23 Feb 2010 21:46:35 +0000 (13:46 -0800)]
Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.

Today we're seeing a crash that's likely caused by a change in the order in which
system services start.

The crash we're seeing happens in response to user interaction which happens after the
boot process completes, so we should re-fetch the DevicePolicyManager if we weren't
able to get it when LockPatternUtils was constructed.

14 years agoFocus the IME on WebView when no textfield is in focus.
Leon Scroggins [Tue, 23 Feb 2010 20:15:16 +0000 (15:15 -0500)]
Focus the IME on WebView when no textfield is in focus.

This is to fix a particular case where the navigation cache
does not recognize that a textfield is now in focus.  A message
was sent from the WebCore thread telling us to open the IME on
the textfield.  Open it with the WebView as the served view.

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

14 years agoMerge "remove a dependency of surfaceflinger on libskia"
Mathias Agopian [Tue, 23 Feb 2010 20:52:28 +0000 (12:52 -0800)]
Merge "remove a dependency of surfaceflinger on libskia"

14 years agoMerge "fix error in javadoc"
Doug Zongker [Tue, 23 Feb 2010 20:37:53 +0000 (12:37 -0800)]
Merge "fix error in javadoc"

14 years agofix error in javadoc
Doug Zongker [Tue, 23 Feb 2010 20:36:06 +0000 (12:36 -0800)]
fix error in javadoc

The "@link LargeTest" is broken since it doesn't know where that class is.

Change-Id: Ie15e40bac8a1965427e351926b2208775e79cb13

14 years agofix some minor javadoc errors in AccountManager
Doug Zongker [Tue, 23 Feb 2010 20:26:33 +0000 (12:26 -0800)]
fix some minor javadoc errors in AccountManager

Change-Id: Iafc9e5541e56b936a426999e0ae9f99e56dccd51

14 years agoMerge "Fixing pressed state in preferences, addresses bug 2310741"
Adam Powell [Tue, 23 Feb 2010 20:09:07 +0000 (12:09 -0800)]
Merge "Fixing pressed state in preferences, addresses bug 2310741"

14 years agoFixing pressed state in preferences, addresses bug 2310741
Adam Powell [Tue, 23 Feb 2010 19:28:01 +0000 (11:28 -0800)]
Fixing pressed state in preferences, addresses bug 2310741