OSDN Git Service

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

14 years agoMerge "Update AccountManager's javadoc."
Dan Egnor [Tue, 23 Feb 2010 19:57:13 +0000 (11:57 -0800)]
Merge "Update AccountManager's javadoc."

14 years agoUpdate AccountManager's javadoc.
Dan Egnor [Fri, 19 Feb 2010 19:23:00 +0000 (11:23 -0800)]
Update AccountManager's javadoc.

Includes several potentially controversial major changes:

- Remove the amount of repeated boilerplate explanations of common
idioms.  I find them much more distracting than useful.  The same
things are explained, but in fewer places.

- Add more narrative/directive information instead of merely descriptive
commentary; I included a lot of "color" about who particular methods are
intended for and why you might use them.

- Add explicit guidance (in the class javadoc) about the common usage pattern.
Explicitly document the auth token invalidation dance, which is highly
nonobvious, had never been written down before, and which GMM got wrong,
creating a Latitude conops nightmare they're still digging out of.

- Explain and justify, as best I can, the overall model of account management:
saved credentials, pluggable authenticators, auth tokens, and so on.  Clarify
some things, like that setPassword() changes the locally cached credential
but does not set the user's password on the server.

- Clarify what the passed-in Activity parameter is used for.  (It seems silly,
but I was confused by this: is it supposed to be the Activity that actually
performs the password prompt or whatever?  No, it's just a Context for the
startActivity() to be launched from.)

14 years agoFix issue 2305382: Pick up original call makes a noisy beep when wired headset connected.
Eric Laurent [Tue, 23 Feb 2010 17:48:31 +0000 (09:48 -0800)]
Fix issue 2305382: Pick up original call makes a noisy beep when wired headset connected.

The noise is the residual ring tone that is still playing while the call is answered and the
audio route changed to headset or earpiece.

The fix consists in muting the ringing tone when changing mode from ringtone to in call
and delaying the route change until the audio buffers are emptied.

14 years agoMerge "Add ability to run tests restricted to given annotation."
Brett Chabot [Tue, 23 Feb 2010 18:46:42 +0000 (10:46 -0800)]
Merge "Add ability to run tests restricted to given annotation."

14 years agoMerge "Move LocationTracker from com.google.android to com.android package."
Mike Lockwood [Tue, 23 Feb 2010 18:34:52 +0000 (10:34 -0800)]
Merge "Move LocationTracker from com.google.android to com.android package."

14 years agoMerge "Return runtime errors instead of asserting in MPEG4 file format validation...
Andreas Huber [Tue, 23 Feb 2010 18:30:48 +0000 (10:30 -0800)]
Merge "Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4."

14 years agoReturn runtime errors instead of asserting in MPEG4 file format validation, also...
Andreas Huber [Tue, 23 Feb 2010 18:12:02 +0000 (10:12 -0800)]
Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4.

related-to-bug: 2431967

14 years agoMerge "Replace system property retrieval calls with DecoderCapabilities Java API...
James Dong [Tue, 23 Feb 2010 18:16:57 +0000 (10:16 -0800)]
Merge "Replace system property retrieval calls with DecoderCapabilities Java API calls."

14 years agoUse UTF-8 strings to avoid duplicate caching, part 1
Kenny Root [Tue, 23 Feb 2010 06:36:26 +0000 (22:36 -0800)]
Use UTF-8 strings to avoid duplicate caching, part 1

StringBlock instances containing UTF-8 strings use a cache to convert
into UTF-16, but using that cache and then using a JNI call to NewString
causes the UTF-8 string as well as two copies of the UTF-16 string to
be held in memory. Getting the UTF-8 string directly from the StringPool
eliminates one copy of the UTF-16 string being held in memory.

This is part 1. Part 2 will include ResXMLParser optimizations.

Change-Id: Ibd4509a485db746d59cd4b9501f544877139276c

14 years agoMerge "Clean up global search and web search activity finding"
Bjorn Bringert [Tue, 23 Feb 2010 14:28:31 +0000 (06:28 -0800)]
Merge "Clean up global search and web search activity finding"

14 years agoClean up global search and web search activity finding
Bjorn Bringert [Tue, 23 Feb 2010 13:17:06 +0000 (13:17 +0000)]
Clean up global search and web search activity finding

This removes the '*' value for android.app.searchable and
android.app.default_searchable that was previously used by apps to say
that they want global search as their search. I think the only
activity that this will affect is the wallpaper chooser in the
launcher, which doesn't seem like it matters.  It could mean that some
third party code will stop invoking global search, but all they would
need to do is call startSearch() with globalSearch=true instead.

Fixes http://b/issue?id=2377433 and http://b/issue?id=2377429

Change-Id: I0252952b44ae85dab31221b598ed79cc24e2b580

14 years agoMove LocationTracker from com.google.android to com.android package.
Mike Lockwood [Tue, 23 Feb 2010 12:50:18 +0000 (07:50 -0500)]
Move LocationTracker from com.google.android to com.android package.

Change-Id: I75757373e39669955d5f753a31a2a7b78d0b68ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoIncreasing the VS button's touchable area
Valentin Kravtsov [Tue, 23 Feb 2010 09:39:43 +0000 (09:39 +0000)]
Increasing the VS button's touchable area

adding invisible padding to the background buttons

Change-Id: Icb8ff9b31e83049520566c2498e1f82067636897

14 years agoFix calculation of the next twilight update for locations where the day or night...
Bernd Holzhey [Thu, 18 Feb 2010 10:19:56 +0000 (11:19 +0100)]
Fix calculation of the next twilight update for locations where the day or night never ends.

14 years agoMerge "Move LocationTracker test app from vendor/google to frameworks/base/tests"
Mike Lockwood [Tue, 23 Feb 2010 04:58:43 +0000 (20:58 -0800)]
Merge "Move LocationTracker test app from vendor/google to frameworks/base/tests"

14 years agoMove LocationTracker test app from vendor/google to frameworks/base/tests
Mike Lockwood [Tue, 23 Feb 2010 04:42:02 +0000 (23:42 -0500)]
Move LocationTracker test app from vendor/google to frameworks/base/tests

Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge "Fix some random bugs."
Dianne Hackborn [Tue, 23 Feb 2010 04:48:01 +0000 (20:48 -0800)]
Merge "Fix some random bugs."

14 years agoFix some random bugs.
Dianne Hackborn [Mon, 22 Feb 2010 23:05:42 +0000 (15:05 -0800)]
Fix some random bugs.

2185256: After open &close of device keyboard shortcut does not added to Home desktop.

ActivityThread was losing the last saved state when restarting or launching into
a paused state.

2366174: defaults not cleared when they should be

PackageManagerService now removes any preferred activity records for a package
when it is uninstalled.

2154556: Battery stats can have an unbounded number of wake locks

We now start combining wake locks into one shared record when we hit a
maximum limit (currently 20).

2442519: Foreground services can have no notification by providing a bogus one.

If the notification manager rejects our notification, the service is forced to
no longer be in the foreground.

2442383: Finalization issues in com.android.server.am.PendingIntentRecord.java

Cleaned up finalization to call super class and avoid the big activity manager
lock (we still need to use the locks inside of the message system, but these
are much less likely to be a problem).

2284190: Cannot call a phone number using adb

We weren't getting the calling uid/pid in startActivity() if the caller did not
supply an application record.

14 years agoMerge "Don't start location providers until the system is ready."
Mike Lockwood [Tue, 23 Feb 2010 04:39:24 +0000 (20:39 -0800)]
Merge "Don't start location providers until the system is ready."

14 years agoMerge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade...
Oscar Montemayor [Tue, 23 Feb 2010 02:16:32 +0000 (18:16 -0800)]
Merge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path."

14 years agoAdd ability to run tests restricted to given annotation.
Brett Chabot [Fri, 19 Feb 2010 17:57:11 +0000 (09:57 -0800)]
Add ability to run tests restricted to given annotation.

And ability to exclude tests with given annotation.

Also fix class cast compile warning in emma output method.

Bug 2239240

Change-Id: I56273a51a8c58a690680bdb612615fab69e6e13f

14 years agoMerge "Quick fix layout test path problems"
Guang Zhu [Tue, 23 Feb 2010 01:50:31 +0000 (17:50 -0800)]
Merge "Quick fix layout test path problems"

14 years agoQuick fix layout test path problems
Guang Zhu [Tue, 23 Feb 2010 00:16:24 +0000 (16:16 -0800)]
Quick fix layout test path problems

SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.

14 years agoDon't start location providers until the system is ready.
Mike Lockwood [Mon, 22 Feb 2010 21:36:44 +0000 (16:36 -0500)]
Don't start location providers until the system is ready.

Change-Id: Id545e95705e59ffbaaab8a679a1b7df488813101
BUG: 2461320

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoremove a dependency of surfaceflinger on libskia
Mathias Agopian [Mon, 22 Feb 2010 11:15:57 +0000 (03:15 -0800)]
remove a dependency of surfaceflinger on libskia

libskia was only used for a small part of SkTransform. We now implement
Transform is surfaceflinger directly.

14 years agoFix bug 2183276: Synchronize all mManagedCursors accesses.
Makoto Onuki [Mon, 22 Feb 2010 21:26:59 +0000 (13:26 -0800)]
Fix bug 2183276: Synchronize all mManagedCursors accesses.

14 years agoMerge "beging np2 extension check work."
Jason Sams [Tue, 23 Feb 2010 01:06:21 +0000 (17:06 -0800)]
Merge "beging np2 extension check work."

14 years agoMerge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly...
Romain Guy [Tue, 23 Feb 2010 01:01:41 +0000 (17:01 -0800)]
Merge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly removing unused handlers and casts."

14 years agoMerge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253"
Romain Guy [Tue, 23 Feb 2010 01:01:26 +0000 (17:01 -0800)]
Merge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253"

14 years agoPrevent crash in AbsSpinner when the selection is out of sync.
Romain Guy [Tue, 23 Feb 2010 00:48:47 +0000 (16:48 -0800)]
Prevent crash in AbsSpinner when the selection is out of sync.
Bug #196253

Also do a little bit of syntax cleanup, remove unused code, etc.

14 years agoMerge "Show the USB mass storage UI as soon as USB is connected."
Daniel Sandler [Tue, 23 Feb 2010 00:46:08 +0000 (16:46 -0800)]
Merge "Show the USB mass storage UI as soon as USB is connected."

14 years agoMerge "Standard alert dialogs overscroll only when content scrolls"
Adam Powell [Tue, 23 Feb 2010 00:36:38 +0000 (16:36 -0800)]
Merge "Standard alert dialogs overscroll only when content scrolls"

14 years agoMerge "Properly unload the renderer shared library after the renderer goes away."
Andreas Huber [Tue, 23 Feb 2010 00:34:32 +0000 (16:34 -0800)]
Merge "Properly unload the renderer shared library after the renderer goes away."

14 years agoMerge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds."
Brad Fitzpatrick [Tue, 23 Feb 2010 00:32:25 +0000 (16:32 -0800)]
Merge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds."

14 years agoCalling super.finalize() in finalize() methods.
Romain Guy [Tue, 23 Feb 2010 00:29:10 +0000 (16:29 -0800)]
Calling super.finalize() in finalize() methods.
Also cleanup code, mostly removing unused handlers and casts.

14 years agoFix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path.
Oscar Montemayor [Tue, 23 Feb 2010 00:12:07 +0000 (16:12 -0800)]
Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path.

14 years agoMerge "Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE, but...
Gloria Wang [Tue, 23 Feb 2010 00:08:28 +0000 (16:08 -0800)]
Merge "Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,  but when it calls GetByteArrayRegion, it multiplies it by 2 which  defeats the "// safety first" check at the beginning."

14 years agoFix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,
Gloria Wang [Mon, 22 Feb 2010 23:56:21 +0000 (15:56 -0800)]
Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,
 but when it calls GetByteArrayRegion, it multiplies it by 2 which
 defeats the "// safety first" check at the beginning.

14 years agoProperly unload the renderer shared library after the renderer goes away.
Andreas Huber [Mon, 22 Feb 2010 19:24:01 +0000 (11:24 -0800)]
Properly unload the renderer shared library after the renderer goes away.

14 years agobeging np2 extension check work.
Jason Sams [Mon, 22 Feb 2010 23:37:51 +0000 (15:37 -0800)]
beging np2 extension check work.