OSDN Git Service

android-x86/frameworks-base.git
14 years agoDedupe resource config pointers
Kenny Root [Wed, 10 Mar 2010 00:55:23 +0000 (16:55 -0800)]
Dedupe resource config pointers

When there are two configs in a StringPool that would match a string ID
only keep the more generic entry to save some space. This means that if
you have both "es" and "es_US" translations that have the same
translation, the string entry would be removed from the "es_US" config.

Change-Id: I4d619942d35ddb477e2eabe4437b7f02697c24de

14 years agoMerge "Use proper config to enable LVMX."
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:44:06 +0000 (18:44 -0800)]
Merge "Use proper config to enable LVMX."

14 years agoMerge "Use proper config to enable LVMX"
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:43:57 +0000 (18:43 -0800)]
Merge "Use proper config to enable LVMX"

14 years agoUse proper config to enable LVMX.
Glenn Kasten [Wed, 10 Mar 2010 02:38:25 +0000 (18:38 -0800)]
Use proper config to enable LVMX.

Change-Id: Ic8792e2b48110b2e91903e2e407b828a97d6e531

14 years agoUse proper config to enable LVMX
Jean-Baptiste Queru [Wed, 10 Mar 2010 02:13:59 +0000 (18:13 -0800)]
Use proper config to enable LVMX

Change-Id: Ifa75a82884b99aeee139e055f40e7c510cf28213

14 years agoHelper for combining multiple selection/selectionArgs.
Jeff Sharkey [Tue, 9 Mar 2010 22:59:33 +0000 (14:59 -0800)]
Helper for combining multiple selection/selectionArgs.

Change-Id: I08eb082149a2a3e45ab00b81a3f46825ad52188d

14 years agoMerge "SettingsProvider: defensively cap size of settings kept cached in memory."
Brad Fitzpatrick [Wed, 10 Mar 2010 01:24:51 +0000 (17:24 -0800)]
Merge "SettingsProvider: defensively cap size of settings kept cached in memory."

14 years agoAdd ability for some manifest attributes to reference resources.
Dianne Hackborn [Tue, 9 Mar 2010 23:00:30 +0000 (15:00 -0800)]
Add ability for some manifest attributes to reference resources.

This loosens our restriction on many manifest attributes requiring
literal string values, to allow various ones to use values from
resources.  This is only allowed if the resource value does not change
from configuration changes, and the restriction is still in place
for attributes that are core to security (requesting permissions) or
market operation (used libraries and features etc).

Change-Id: I4da02f6a5196cb6a7dbcff9ac25403904c42c2c8

14 years agoSettingsProvider: defensively cap size of settings kept cached in memory.
Brad Fitzpatrick [Wed, 10 Mar 2010 00:59:30 +0000 (16:59 -0800)]
SettingsProvider: defensively cap size of settings kept cached in memory.

Change-Id: I50289ece2d7f5f50d2ea2efbacac7a0bb1483bf6

14 years agoMerge "Add an API to set the link timeout."
Jaikumar Ganesh [Wed, 10 Mar 2010 00:56:36 +0000 (16:56 -0800)]
Merge "Add an API to set the link timeout."

14 years agoAdd an API to set the link timeout.
Jaikumar Ganesh [Tue, 9 Mar 2010 23:31:24 +0000 (15:31 -0800)]
Add an API to set the link timeout.

This fixes the problem where the car dock is
powered on and off pretty quickly.

Change-Id: I8724641b8c337019f089b005cb236fc90549cf6f

14 years agoMerge "Speed up ContentProvider.query() in simple case by ~30%"
Brad Fitzpatrick [Wed, 10 Mar 2010 00:42:44 +0000 (16:42 -0800)]
Merge "Speed up ContentProvider.query() in simple case by ~30%"

14 years agoMerge "Support unbundled bookmarks. Bug #2460685"
Romain Guy [Wed, 10 Mar 2010 00:39:13 +0000 (16:39 -0800)]
Merge "Support unbundled bookmarks. Bug #2460685"

14 years agoSupport unbundled bookmarks.
Romain Guy [Wed, 10 Mar 2010 00:33:51 +0000 (16:33 -0800)]
Support unbundled bookmarks.
Bug #2460685

Change-Id: I402e342673cd8de88664a595401a141e09583e1d

14 years agoMerge "Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calcul...
Ray Chen [Wed, 10 Mar 2010 00:20:59 +0000 (16:20 -0800)]
Merge "Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed."

14 years agoMerge "Initial version of LifeVibes integration. Also changed tabs to spaces in other...
Glenn Kasten [Wed, 10 Mar 2010 00:00:17 +0000 (16:00 -0800)]
Merge "Initial version of LifeVibes integration. Also changed tabs to spaces in other audioflinger files."

14 years agoMerge "Fix NO_CONNECTIVITY flag in some cases."
Robert Greenwalt [Tue, 9 Mar 2010 23:42:34 +0000 (15:42 -0800)]
Merge "Fix NO_CONNECTIVITY flag in some cases."

14 years agoMerge "Fix ListView filter popups when window focus changes"
Adam Powell [Tue, 9 Mar 2010 23:38:56 +0000 (15:38 -0800)]
Merge "Fix ListView filter popups when window focus changes"

14 years agoFix ListView filter popups when window focus changes
Adam Powell [Tue, 9 Mar 2010 23:34:09 +0000 (15:34 -0800)]
Fix ListView filter popups when window focus changes

Change-Id: I8c468900d5dd4d8d82308e2bed3bf992b6c803c7

14 years agoSpeed up ContentProvider.query() in simple case by ~30%
Brad Fitzpatrick [Tue, 9 Mar 2010 21:18:02 +0000 (13:18 -0800)]
Speed up ContentProvider.query() in simple case by ~30%

When query() uses bulkQuery() and we know we're going to need some
metadata right afterwards (number of rows and column index of _id, if
present), just asked for it in the initial binder transaction instead
of immediately fetching it again.

Also, this defers loading column names until the client asks for them.

This gets down the simpler (and very common) use cases of
ContentProvider.query() down to 3 binder calls:

   QUERY_TRANSACTION to android.content.ContentProvider$Transport
   GET_CURSOR_WINDOW_TRANSACTION to android.database.CursorToBulkCursorAdaptor
   CLOSE_TRANSACTION to android.database.CursorToBulkCursorAdaptor

More can still be done, but this is a good bite-sized first piece.

Change-Id: I7ad45949f53e0097ff18c2478d659f0f36929693

14 years agoMerge "Don't let hidden keyguard interfere with button and screen brightness overrides"
Mike Lockwood [Tue, 9 Mar 2010 22:57:41 +0000 (14:57 -0800)]
Merge "Don't let hidden keyguard interfere with button and screen brightness overrides"

14 years agoFix NO_CONNECTIVITY flag in some cases.
Robert Greenwalt [Tue, 9 Mar 2010 22:55:08 +0000 (14:55 -0800)]
Fix NO_CONNECTIVITY flag in some cases.

Airplane mode seemed to hit this bug.

bug:2498268
Change-Id: I5af9266fbbad3e2323d30d7471058f0f4ec3f544

14 years agoMerge "Add new shutdown observer for MountService. Use new observer before rebooting...
Mike Lockwood [Tue, 9 Mar 2010 22:50:18 +0000 (14:50 -0800)]
Merge "Add new shutdown observer for MountService. Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now."

14 years agoAvoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate...
Ray Chen [Tue, 9 Mar 2010 22:23:23 +0000 (14:23 -0800)]
Avoid overriding DATE_TAKEN by unreliable file time. MediaProvider will calculate it if needed.

Change-Id: I05cb8628f2333c26de5c05ee1c7676b8f79a5e9a

14 years agoMerge "Add an api to set WebView over scroll background."
Grace Kloba [Tue, 9 Mar 2010 22:20:34 +0000 (14:20 -0800)]
Merge "Add an api to set WebView over scroll background."

14 years agoMerge "Fix bug with AbsListView position scrolling"
Adam Powell [Tue, 9 Mar 2010 22:19:47 +0000 (14:19 -0800)]
Merge "Fix bug with AbsListView position scrolling"

14 years agoInitial version of LifeVibes integration.
Glenn Kasten [Fri, 5 Mar 2010 20:18:01 +0000 (12:18 -0800)]
Initial version of LifeVibes integration.
Also changed tabs to spaces in other audioflinger files.

14 years agoAdd new shutdown observer for MountService.
Suchi Amalapurapu [Mon, 8 Mar 2010 22:48:40 +0000 (14:48 -0800)]
Add new shutdown observer for MountService.
Use new observer before rebooting and shutting down.
Add some unit tests for unmount and shutdown code paths
Fix registering/unregistering part in MountService
Use ShutdownThread in PowerManager.reboot()
Add reboot support to ShutdownThread.
Remove MountService code from PowerManagerService.java and Power.java.
Clean shutdown/reboot is handled exclusively by ShutdownThread now.

Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d

14 years agoDocument new preview callback methods more clearly.
Wu-cheng Li [Tue, 9 Mar 2010 21:49:21 +0000 (13:49 -0800)]
Document new preview callback methods more clearly.

bug:2358064
Change-Id: If6af1fbf81b78b2a7ad98ce2c398145fd33200ce

14 years agoFix bug with AbsListView position scrolling
Adam Powell [Tue, 9 Mar 2010 21:45:21 +0000 (13:45 -0800)]
Fix bug with AbsListView position scrolling

Change-Id: I91338f0533178417c874325f5f126d1b5fbb5f92

14 years agoMerge "add REPLACE to the list of cached sql stmnts"
Vasu Nori [Tue, 9 Mar 2010 21:42:20 +0000 (13:42 -0800)]
Merge "add REPLACE to the list of cached sql stmnts"

14 years agoMerge "Fix bug 2329540 Part 1 of the fix: when the user doesn't elect to use the...
Jean-Michel Trivi [Tue, 9 Mar 2010 21:17:35 +0000 (13:17 -0800)]
Merge "Fix bug 2329540  Part 1 of the fix: when the user doesn't elect to use the car dock  for music and media, the APM was not aware of the device being  docked.  This is fixed by dissociating the notification for the APM of  the docking to the dock from the sink state change of the A2DP  device.  Also missing was forcing the volumes to be reevaluated whenever  the device is docked or undocked, as volumes for docks may  differ, even when the same output device is being used."

14 years agoAdd an api to set WebView over scroll background.
Grace Kloba [Tue, 9 Mar 2010 18:55:04 +0000 (10:55 -0800)]
Add an api to set WebView over scroll background.

If the WebView doesn't support zoom, or WebView does
not use wide viewport and horizontal is just fit,
don't do over scroll.

Fix http://b/issue?id=2498403
Fix http://b/issue?id=2497901

14 years agoFix bug 2329540
Jean-Michel Trivi [Tue, 9 Mar 2010 17:26:08 +0000 (09:26 -0800)]
Fix bug 2329540
 Part 1 of the fix: when the user doesn't elect to use the car dock
 for music and media, the APM was not aware of the device being
 docked.
 This is fixed by dissociating the notification for the APM of
 the docking to the dock from the sink state change of the A2DP
 device.
 Also missing was forcing the volumes to be reevaluated whenever
 the device is docked or undocked, as volumes for docks may
 differ, even when the same output device is being used.

Change-Id: If5314e27821a71adbd6df6fdf887c45208241d96

14 years agoadd REPLACE to the list of cached sql stmnts
Vasu Nori [Tue, 9 Mar 2010 20:33:39 +0000 (12:33 -0800)]
add REPLACE to the list of cached sql stmnts

14 years agoMerge "Re-add tethered notification to framework."
Robert Greenwalt [Tue, 9 Mar 2010 19:55:53 +0000 (11:55 -0800)]
Merge "Re-add tethered notification to framework."

14 years agoMerge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without...
Adam Powell [Tue, 9 Mar 2010 19:55:05 +0000 (11:55 -0800)]
Merge "Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code."

14 years agoSet mShiftIsPressed properly when the focus is a plugin.
Leon Scroggins [Tue, 9 Mar 2010 19:26:07 +0000 (14:26 -0500)]
Set mShiftIsPressed properly when the focus is a plugin.

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

Change-Id: I3140c3c3a0bd44af85939aceb0bbd07c0861cde4

14 years agoRestore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable...
Adam Powell [Tue, 9 Mar 2010 19:50:51 +0000 (11:50 -0800)]
Restore old/buggy behavior of ListView.getCheckItemIds() for adapters without stable IDs to support legacy code.

Change-Id: I4c6a15e5a224bc5e84949ceb4df17154a2874d20

14 years agoMerge "modify comments to be more accurate"
Vasu Nori [Tue, 9 Mar 2010 19:46:57 +0000 (11:46 -0800)]
Merge "modify comments to be more accurate"

14 years agoMerge "Fix a typo in VideoView.java that disabled the seek-back button by default."
Andreas Huber [Tue, 9 Mar 2010 19:43:31 +0000 (11:43 -0800)]
Merge "Fix a typo in VideoView.java that disabled the seek-back button by default."

14 years agomodify comments to be more accurate
Vasu Nori [Tue, 9 Mar 2010 19:37:52 +0000 (11:37 -0800)]
modify comments to be more accurate

14 years agoRewrite the WebView touch to support Flash.
Grace Kloba [Fri, 5 Mar 2010 22:00:26 +0000 (14:00 -0800)]
Rewrite the WebView touch to support Flash.

When a page is loaded, Flash won't be the touch target.
This is ensured by another CL in external/webkit. When
user taps or uses nav key to make the Flash to be the
document focused node, it will take all the touch
events without time out. If Flash didn't call prevent
default, these touch events will be reprocessed by
the Browser. For double tap and long press, Browser
needs to detect and generate them for Flash.

While Flash is in full screen mode, it will take all
the touch events. If Flash doesn't consume them, they
won't be reprocessed by the Browser. Browser does need
to detect and generate the special events like double
tap and long press for full screen Flash.

Here are changes made for JavaScript touch events.

1. preventDefault on touchMove works now. If the author
calls preventDefault on touchStart, UI will not handle
this touch sequence. If the author didn't call preventDefault
on touchStart, it can call preventDefault on the first
touchMove to prevent UI from panning the page. We
currently do not support alternating preventDefault
during touchMove.

2. The first touchMove is only sent when the movement
is more than the system slop. There was a bug introduced by
https://android-git.corp.google.com/g/#change,42848
where the touch events are not sent to WebCore if
preventDefault is called. This is fixed now.

3. Move sending TOUCH_EVENT to WebCore into each state.
So if user stops a fling and continue drag, it won't
send the touch_down as we are in drag mode.

4. Remove event time as Adobe doesn't need it any more

Fix http://b/issue?id=2438503
Fix http://b/issue?id=2478701
Fix http://b/issue?id=2390587

14 years agoRe-add tethered notification to framework.
Robert Greenwalt [Tue, 9 Mar 2010 02:30:14 +0000 (18:30 -0800)]
Re-add tethered notification to framework.

Add new artwork and string.

Change-Id: I9c4b2b4bdbd10ee9355c3a7ca81b29fba3b5830c

14 years agoUnhide new preview callback methods.
Wu-cheng Li [Sun, 7 Mar 2010 22:59:28 +0000 (14:59 -0800)]
Unhide new preview callback methods.

bug:2358064
Change-Id: If9655ae8b7622ea6fc51e0054cfac7451962be66

14 years agoMerge "Add new LoggingEvents for more detailed text modification actions for voice...
Mike LeBeau [Tue, 9 Mar 2010 18:43:47 +0000 (10:43 -0800)]
Merge "Add new LoggingEvents for more detailed text modification actions for voice input."

14 years agoAdd new LoggingEvents for more detailed text modification actions for voice input.
Mike LeBeau [Tue, 9 Mar 2010 18:42:35 +0000 (10:42 -0800)]
Add new LoggingEvents for more detailed text modification actions for voice input.

Change-Id: I70df3612067f1c8c512a7bbe6c02381724f76bbf

14 years agoMerge "Fix bug 2481825 When TTS is synthesizing to a file, return an error if the...
Jean-Michel Trivi [Tue, 9 Mar 2010 18:31:30 +0000 (10:31 -0800)]
Merge "Fix bug 2481825 When TTS is synthesizing to a file, return an error if the file cannot be created."

14 years agoFix a typo in VideoView.java that disabled the seek-back button by default.
Andreas Huber [Tue, 9 Mar 2010 17:18:01 +0000 (09:18 -0800)]
Fix a typo in VideoView.java that disabled the seek-back button by default.

Change-Id: I23a9423b20646529b652e23349266a3291981484
related-to-bug: 2498317

14 years agoMerge "Make sure access to WebView::mWebViewCore is synchronized."
Andrei Popescu [Tue, 9 Mar 2010 18:06:23 +0000 (10:06 -0800)]
Merge "Make sure access to WebView::mWebViewCore is synchronized."

14 years agoMake sure access to WebView::mWebViewCore is synchronized.
Andrei Popescu [Tue, 9 Mar 2010 12:23:19 +0000 (12:23 +0000)]
Make sure access to WebView::mWebViewCore is synchronized.

Fix bug: 2498784

14 years agoMerge "Add a LOG_TAG for android.graphics.Graphics JNI."
Ficus Kirkpatrick [Tue, 9 Mar 2010 18:01:00 +0000 (10:01 -0800)]
Merge "Add a LOG_TAG for android.graphics.Graphics JNI."

14 years agoAdd a LOG_TAG for android.graphics.Graphics JNI.
Ficus Kirkpatrick [Sat, 6 Mar 2010 01:05:08 +0000 (17:05 -0800)]
Add a LOG_TAG for android.graphics.Graphics JNI.

It occasionally logs when it fails an allocation but wasn't
defining one before.

Change-Id: Ifc41addc870eb126616ad44465638423d51568d9

14 years agoMerge "Add conditions to check for updated system applications. Restrict them to...
Suchi Amalapurapu [Tue, 9 Mar 2010 17:58:40 +0000 (09:58 -0800)]
Merge "Add conditions to check for updated system applications. Restrict them to internal flash only even before we copy."

14 years ago- add verbose logging to the authenticator
Fred Quintana [Mon, 8 Mar 2010 20:48:05 +0000 (12:48 -0800)]
- add verbose logging to the authenticator
- fix a bug in AccountManager.getAuthTokenByFeatures() where getAuthToken()
  isn't called after adding the account when necessary

14 years agoAdd conditions to check for updated system applications. Restrict them
Suchi Amalapurapu [Sat, 6 Mar 2010 01:40:11 +0000 (17:40 -0800)]
Add conditions to check for updated system applications. Restrict them
to internal flash only even before we copy.

Return error codes when install flag options mismatch.
Some conditions for existings apps
 - install flags override existing location
 - explicity manifest option install location overrides previous location
 - if upgraded package's install location is unspecified or auto, fall
   back to recommended install policy which considers user setting as well.

Check for sdcard status before finding available size on sdcard
Add light weight parsing for manifest attributes including package name and
install location only

Change-Id: I5143dda87c88c595f564b317326c926d0ec3ceb8

14 years agoMerge "Unhide API additions to AudioManager for AudioFocus support."
Jean-Michel Trivi [Tue, 9 Mar 2010 17:17:45 +0000 (09:17 -0800)]
Merge "Unhide API additions to AudioManager for AudioFocus support."

14 years agoUnhide API additions to AudioManager for AudioFocus support.
Jean-Michel Trivi [Tue, 9 Mar 2010 00:19:01 +0000 (16:19 -0800)]
Unhide API additions to AudioManager for AudioFocus support.

Change-Id: Ifc7d764703632eb91db11587675ae70ec14510e8

14 years agoMerge "Use a more descriptive user-agent string (similar to PV's before) in stagefrig...
Andreas Huber [Tue, 9 Mar 2010 17:09:27 +0000 (09:09 -0800)]
Merge "Use a more descriptive user-agent string (similar to PV's before) in stagefright http requests."

14 years agoFor flash trackball, send several downs followed by a single up.
Leon Scroggins [Tue, 9 Mar 2010 16:27:34 +0000 (11:27 -0500)]
For flash trackball, send several downs followed by a single up.

Change-Id: I2ca892bc409372ab1389f2da8254f13b2d84351c

14 years agoMerge "Removes from DumpRenderTree the superfluous result file for tests that time...
Steve Block [Tue, 9 Mar 2010 15:02:18 +0000 (07:02 -0800)]
Merge "Removes from DumpRenderTree the superfluous result file for tests that time out."

14 years agorequestChildRectangleOnScreen takes layers into account
Cary Clark [Tue, 9 Mar 2010 14:20:34 +0000 (09:20 -0500)]
requestChildRectangleOnScreen takes layers into account

Call native LayerAndroid::subtractLayers so
the layers can be removed from the visible portion of the screen
when computing how much to scroll.

companion fix in external/webkit

Change-Id: Ib441b826ab5b2baaba20f41f392848a28a9e09ee
http://b/2453841

14 years agoRemoves from DumpRenderTree the superfluous result file for tests that time out.
Steve Block [Tue, 9 Mar 2010 14:36:00 +0000 (14:36 +0000)]
Removes from DumpRenderTree the superfluous result file for tests that time out.

This file is currently not used. Tests that time out are reported as failures.

Also fixes naming in code for tests that have no text results.

Change-Id: I6412db4dcf9884abdc80f5cff525ef9431bad001

14 years agoMerge "Removes regex tests from the DumpRenderTree skipped list"
Steve Block [Tue, 9 Mar 2010 13:42:09 +0000 (05:42 -0800)]
Merge "Removes regex tests from the DumpRenderTree skipped list"

14 years agoDon't let hidden keyguard interfere with button and screen brightness overrides
Mike Lockwood [Tue, 9 Mar 2010 13:28:22 +0000 (08:28 -0500)]
Don't let hidden keyguard interfere with button and screen brightness overrides

Change-Id: Ibdc115b8fb6900b0f859085c13a707750deeab57
BUG: 2252317

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemoves regex tests from the DumpRenderTree skipped list
Steve Block [Tue, 9 Mar 2010 12:23:57 +0000 (12:23 +0000)]
Removes regex tests from the DumpRenderTree skipped list

It looks like these were previously exluded due to taking too long. However,
they run in a reasonable time on passion.

Also removes AppleScript from the skipped list, as this directory no longer exists.

Change-Id: I98e3d0b3222dcd79287b15c512430341fab4f0f8

14 years agoMerge "Add shared workers tests to DumpRenderTree skipped list"
Steve Block [Tue, 9 Mar 2010 12:25:13 +0000 (04:25 -0800)]
Merge "Add shared workers tests to DumpRenderTree skipped list"

14 years agoAdd shared workers tests to DumpRenderTree skipped list
Steve Block [Fri, 5 Mar 2010 18:54:55 +0000 (18:54 +0000)]
Add shared workers tests to DumpRenderTree skipped list

Change-Id: I307bf718253ad3e340d3a95b1056523f37d150be

14 years agoCache hot settings in-memory in the SettingsProvider.
Brad Fitzpatrick [Tue, 9 Mar 2010 02:30:52 +0000 (18:30 -0800)]
Cache hot settings in-memory in the SettingsProvider.

This brings down Settings lookups to 0.5 ms on sholes.  (down from
~10.5 ms originally, and ~2.5 ms after the ContentProvider.call()
interface)

Change-Id: Ibde7c3d21e0b0e5714714a2075f314726edfc19d

14 years agoMerge "Fix Parcel leak in ContentProvider.call()"
Brad Fitzpatrick [Tue, 9 Mar 2010 06:18:52 +0000 (22:18 -0800)]
Merge "Fix Parcel leak in ContentProvider.call()"

14 years agoFix Parcel leak in ContentProvider.call()
Brad Fitzpatrick [Tue, 9 Mar 2010 06:11:50 +0000 (22:11 -0800)]
Fix Parcel leak in ContentProvider.call()

This manifested itself as memory allocation and Binder failures during
my load testing / benchmarking.

BUG=2498615

Change-Id: I260fd916f97777fc98bee98d10474f12deb21dee

14 years agoNew (hidden) API for ContactsProvider status.
Dmitri Plotnikov [Tue, 9 Mar 2010 03:40:19 +0000 (19:40 -0800)]
New (hidden) API for ContactsProvider status.

Bug: 2498528
Change-Id: I95ab8b68c3d3caa5698e79c60ccb9794091e8b8a

14 years agoimprove SF logging/debugging a little bit
Mathias Agopian [Tue, 9 Mar 2010 03:29:09 +0000 (19:29 -0800)]
improve SF logging/debugging a little bit

Change-Id: I6a57f89c25defc293fd748cc1fbd710031c02ec2

14 years agoAdding definitions & APIs for features that are newly-optional in FroYo.
Dan Morrill [Sat, 6 Mar 2010 00:16:19 +0000 (16:16 -0800)]
Adding definitions & APIs for features that are newly-optional in FroYo.
This also refactors the files containing the features so that they are more
modular. Note that this also changes data/etc/Android.mk so that
required_hardware.xml is NOT copied automatically for all devices
anymore. Accordingly, that file is removed.

14 years agoMerge "Fix a small bug where we could compute SharedBufferStack's tail incorrectly."
Mathias Agopian [Tue, 9 Mar 2010 03:24:27 +0000 (19:24 -0800)]
Merge "Fix a small bug where we could compute SharedBufferStack's tail incorrectly."

14 years agoFix a small bug where we could compute SharedBufferStack's tail incorrectly.
Mathias Agopian [Tue, 9 Mar 2010 03:23:26 +0000 (19:23 -0800)]
Fix a small bug where we could compute SharedBufferStack's tail incorrectly.

Also add "tail" to the debug dump().

Change-Id: I04b1ea375dfc9ddcc22f0c6b6cd01300e507572e

14 years agoMerge "More consistent and clear traces.txt reporting."
Dan Egnor [Tue, 9 Mar 2010 03:23:01 +0000 (19:23 -0800)]
Merge "More consistent and clear traces.txt reporting."

14 years agoMore consistent and clear traces.txt reporting.
Dan Egnor [Mon, 8 Mar 2010 21:04:13 +0000 (13:04 -0800)]
More consistent and clear traces.txt reporting.

Print ANR traces.txt even if it's old.
Print more detailed error messages about VM trace dumps.

Change-Id: I067c90b8f3b3647b6136528eff3120e6cfea5715

14 years agoMerge "Fix issues with ListView.smoothScrollBy"
Adam Powell [Tue, 9 Mar 2010 03:11:16 +0000 (19:11 -0800)]
Merge "Fix issues with ListView.smoothScrollBy"

14 years agoFix issues with ListView.smoothScrollBy
Adam Powell [Tue, 9 Mar 2010 03:03:54 +0000 (19:03 -0800)]
Fix issues with ListView.smoothScrollBy

Change-Id: I4a2752c56a1d2ad3227644f764d6be7a02c9eb8d

14 years agoAdd comments in CleanSpec.mk
Jean-Baptiste Queru [Tue, 9 Mar 2010 02:11:37 +0000 (18:11 -0800)]
Add comments in CleanSpec.mk

Change-Id: Iaa1f9f38c0e621d2988e341a5fcff3164a62cf66

14 years agoMerge "Showing phonetic name in the contact header."
Dmitri Plotnikov [Tue, 9 Mar 2010 02:04:24 +0000 (18:04 -0800)]
Merge "Showing phonetic name in the contact header."

14 years agoMerge "keystore: add AID_ROOT into the user table."
Chia-chi Yeh [Tue, 9 Mar 2010 01:50:56 +0000 (17:50 -0800)]
Merge "keystore: add AID_ROOT into the user table."

14 years agoMerge "Fix scrolling bug in AutoCompleteTextView. Bug #2495033"
Romain Guy [Tue, 9 Mar 2010 01:46:36 +0000 (17:46 -0800)]
Merge "Fix scrolling bug in AutoCompleteTextView. Bug #2495033"

14 years agoFix scrolling bug in AutoCompleteTextView.
Romain Guy [Tue, 9 Mar 2010 01:44:40 +0000 (17:44 -0800)]
Fix scrolling bug in AutoCompleteTextView.
Bug #2495033

This fixes various issues. ACTV would sometimes not update its popup to match
its size/location.

Change-Id: Ic662bddf40e49b09482b15ff91666be3709da1d5

14 years agokeystore: add AID_ROOT into the user table.
Chia-chi Yeh [Tue, 9 Mar 2010 01:41:32 +0000 (09:41 +0800)]
keystore: add AID_ROOT into the user table.

Change-Id: I4b9cf24d75ca79583d7913bbb2c33745a2316cde

14 years agomerge from open-source master
The Android Open Source Project [Tue, 9 Mar 2010 01:14:25 +0000 (17:14 -0800)]
merge from open-source master

Change-Id: I66d3db4c9ed3f54ce17a8d64ca0c6cce6941cdaa

14 years agoMerge "Expose the Uri of the newly created contact Bug: 2448065"
Daniel Lehmann [Tue, 9 Mar 2010 01:10:03 +0000 (17:10 -0800)]
Merge "Expose the Uri of the newly created contact Bug: 2448065"

14 years agoMerge "Guard against calls to getTextAfterCursor() in text that has no cursor."
Eric Fischer [Tue, 9 Mar 2010 00:59:48 +0000 (16:59 -0800)]
Merge "Guard against calls to getTextAfterCursor() in text that has no cursor."

14 years agoUse a more descriptive user-agent string (similar to PV's before) in stagefright...
Andreas Huber [Tue, 9 Mar 2010 00:50:44 +0000 (16:50 -0800)]
Use a more descriptive user-agent string (similar to PV's before) in stagefright http requests.

Change-Id: I4e8ea856327bdb65989f75dab3673baeaf9637c8

14 years agoClear active password in device admin when password is cleared.
Dianne Hackborn [Mon, 8 Mar 2010 20:54:25 +0000 (12:54 -0800)]
Clear active password in device admin when password is cleared.

Fixes issue #2480213: DevicePolicyManagerService returning true
for isActivePasswordSufficient even though the current password
on the device is not sufficient.

Change-Id: I3cb11311d8696670726d969712a63a7c00cd1ce4

14 years agoFix bug 2481825
Jean-Michel Trivi [Thu, 4 Mar 2010 20:12:56 +0000 (12:12 -0800)]
Fix bug 2481825
When TTS is synthesizing to a file, return an error if the file
cannot be created.

14 years agoGuard against calls to getTextAfterCursor() in text that has no cursor.
Eric Fischer [Tue, 9 Mar 2010 00:38:03 +0000 (16:38 -0800)]
Guard against calls to getTextAfterCursor() in text that has no cursor.

Act like the cursor is at 0 in this case instead of crashing.

Bug 2497485

Change-Id: I5ce9b83b323d895e3be75e3133ff2f8e33cc203d

14 years agoMerge "Remove mms-common library"
Tom Taylor [Tue, 9 Mar 2010 00:35:38 +0000 (16:35 -0800)]
Merge "Remove mms-common library"

14 years agoMerge "Update the Mcc Table for Canada."
Robert Greenwalt [Tue, 9 Mar 2010 00:35:13 +0000 (16:35 -0800)]
Merge "Update the Mcc Table for Canada."

14 years agoRemove mms-common library
Tom Taylor [Tue, 9 Mar 2010 00:34:53 +0000 (16:34 -0800)]
Remove mms-common library

Put the Mms files back in the framework where they've been since 1.0.

Change-Id: I3c449468053ddd82d35c45a06d71957de660bf99

14 years agoMerge "Add camera parameter string constant for "true"."
Wu-cheng Li [Tue, 9 Mar 2010 00:31:57 +0000 (16:31 -0800)]
Merge "Add camera parameter string constant for "true"."

14 years agoUpdate the Mcc Table for Canada.
Robert Greenwalt [Tue, 9 Mar 2010 00:26:34 +0000 (16:26 -0800)]
Update the Mcc Table for Canada.

Changing the mnc length from 2 to 3.  We don't have any canandian APNs with 2 digit mncs
and wikipedia doesn't list any canadian carriers with 2 digit mncs.

Rogers was reporting some sims with 72 and others with the correct 720 - a sample "72" sim
didn't have the mnc-length field set so we went with 2.  With this fix all rogers sims will
be picked up correctly.

14 years agoShowing phonetic name in the contact header.
Dmitri Plotnikov [Tue, 9 Mar 2010 00:05:12 +0000 (16:05 -0800)]
Showing phonetic name in the contact header.

Change-Id: I83f608ddf3a01ba6c29687f9e78212800e4ad4b1

14 years agoMerge "The audio track was accidentally not participating in the prefetch since it...
Andreas Huber [Tue, 9 Mar 2010 00:02:16 +0000 (16:02 -0800)]
Merge "The audio track was accidentally not participating in the prefetch since it wasn't started at the time prepare() was called. Also, properly report the cached duration even near the end when the source has no more data to fetch."