19835 Commits

Author SHA1 Message Date
Fred Quintana
c2e4691d78 - make the SyncManager add periodic syncs when it upgrades from a
version of the accounts.xml file that pre-dated periodic syncs,
  e.g. eclair or early froyo. http://b/2515823
- make the AccountManagerService dump() use a getAccounts call that
  doesn't check the GET_ACCOUNTS permission to make it useful
  in "adb bugreport"
- add some logging to SyncManager to help track down a problem

Change-Id: Icb646909074e2d327d71f6bb39cf06b6fac29e77
2010-03-16 10:01:54 -07:00
Ray Chen
74d4843641 Fix #2509370 ThumbnailUtils.createThumbnailFromEXIF crashes media provider.
Change-Id: Ia2cd00fb0fbdb32e9fb89b4d33ad3c1410eb40d3
2010-03-15 10:45:35 -07:00
Andreas Huber
7d74086141 Merge "Hack to "support" "enhanced" podcasts... slang for malformed .mp4 files." 2010-03-15 10:38:16 -07:00
Andreas Huber
174de8ea46 Merge "Fix the media metadata retriever (tests). The native constants must match those published at the java layer." 2010-03-15 10:38:00 -07:00
Andreas Huber
2d6f709b93 Merge "Tag the "testid3" commandline tool as "debug-only". It doesn't need to be included in release builds." 2010-03-15 10:37:34 -07:00
Andreas Huber
9fbaca9437 Tag the "testid3" commandline tool as "debug-only". It doesn't need to be included in release builds.
Change-Id: I7e489af3d569015e2a93d340088e059e984f8153
related-to-bug: 2513148
2010-03-15 10:33:52 -07:00
Derek Sollenberger
244e896c8b Merge "Allow plugin's surface to handle touch when in full-screen." 2010-03-15 10:32:25 -07:00
Andreas Huber
4d60fc5b43 Hack to "support" "enhanced" podcasts... slang for malformed .mp4 files.
Change-Id: I690b9f336062a0ff1a667d6461d66b1386db866d
related-to-bug: 2511744
2010-03-15 10:24:44 -07:00
Leon Scroggins
4aa44192ee Merge "Call close on Cursors in finally blocks." 2010-03-15 10:24:02 -07:00
Andreas Huber
122ff04c69 Fixing the sim build.
Change-Id: I307f6d59f473471adcf855e66b4e8275ab1b3b74
2010-03-15 09:21:46 -07:00
Leon Scroggins
fe1143b43b Call close on Cursors in finally blocks.
Fix for http://b/issue?id=2511581

Also call delete instead of deleteHistoryWhere, since we are only
considering non bookmarks anyway.

Change-Id: I00c052db3d27d61592688e7a160e721d5f82b210
2010-03-15 11:23:00 -04:00
Dave Sparks
e6335c904a Add locking around AudioRecord release() function in JNI. Bug 2481952.
There is a potential threading issue where an app could call release()
on two threads. This hack adds a static lock object that serializes
access to the Java fields that contain the pointer to the native
AudioRecord object and weak reference to the Java object. Also
modifies finalize() to call release() so that both use the locking
scheme.

Change-Id: I09dcb19b7f501dc582e40e8718142b493eba2518
2010-03-15 07:47:05 -07:00
Dianne Hackborn
f0f7eb067f Merge "Fix issue 2512221: Car Dock Notification doesn't go away" 2010-03-15 07:26:26 -07:00
Derek Sollenberger
c28ff44b1e Allow plugin's surface to handle touch when in full-screen.
There is a matching commit in external/webkit

Change-Id: I88d8c533eb821c564c453dfd7293616669b3bf37
2010-03-15 08:36:19 -04:00
Steve Block
f3c755a079 Adds XPath layout tests to DumpRenderTree ignoreResults list as Android does not support XPath
Change-Id: Ibda46541161581923d15258b863ed47f248ae626
2010-03-15 12:27:48 +00:00
Tobias Haamel
780b260304 Fix issue 2512221: Car Dock Notification doesn't go away
Bug description:
1) Start Car Dock app.
2) Drop phone into Desk Dock
3) Press back to quit Desk Dock app.

Car Dock Notification doesn't go away if I select it from the shade.

Change-Id: I9d3ad4dbbe8f886fc8d523d104676194c3943473
2010-03-15 13:07:18 +01:00
Mike Reed
677bc7d7eb Merge "misc fixes, including 0xB0B8" 2010-03-15 05:03:41 -07:00
Mike Reed
97be1549ce misc fixes, including 0xB0B8
Change-Id: I67ec767811e68500de7c5d57dcd1cb814b52f87d
2010-03-15 08:02:47 -04:00
Amith Yamasani
24217d8e4d Merge "Use a Go button instead of a magnifying glass in the keyboard for in-app search." 2010-03-14 08:00:22 -07:00
Jesse Wilson
b644f85263 Fixing a small API check issue to get the builds green
Change-Id: I46e3c39c653a151f5592ed8001f5d0ea972f53b2
2010-03-12 21:58:18 -08:00
Christopher Tate
38af4c36fc Merge "API CHANGE: expose the backup-related ApplicationInfo flag masks" 2010-03-12 18:34:53 -08:00
Christopher Tate
3de55bcd34 API CHANGE: expose the backup-related ApplicationInfo flag masks
Fixes bug #2507582 by doing the following:

- Un-@hide the FLAG_ALLOW_BACKUP, FLAG_KILL_AFTER_RESTORE, and
  FLAG_RESTORE_ANY_VERSION mask constants in ApplicationInfo.  These
  correspond, respectively, to the <application> manifest tag's
  android:allowBackup, android:killAfterRestore, and
  android:restoreAnyVersion attributes.

- Remove the android:restoreNeedsApplication attribute and the
  corresponding FLAG_RESTORE_NEEDS_APPLICATION constant [which was still
  marked @hide].  We now always use the application's own Application
  class when performing a normal restore.  In the future when we support
  an externalized full-filesystem backup/restore operation, we will use
  an OS-defined agent class with a base-class Application instance, but
  this will not happen until a future release.

Also expands real documentation on the above ApplicationInfo constants;
that work is part of bug #2465360

Change-Id: I735d07a963ae80a01343637d83bef84e4c23fdcc
2010-03-12 18:11:00 -08:00
Jack Palevich
3e5a5826c6 Fix glCopyTexSubImage2D inverted texture bug.
This bug only affects the software OpenGL ES
driver.
2010-03-12 17:32:26 -08:00
Robert Greenwalt
50f1c4b709 Resync with Telephony after losing Phone service.
Bug shows we lost contact with the phone service.  We used to leave the notion of enabled alone
in this case, but that can lead to being out of sync (the mobile data connection may be
alive or come alive but if we think it is dead we ignore it).  Changing our
notion of its enabled-ness to 'enabled' means we'll pay attention to its messages going forward,
and since after a reboot it starts enabled we'll actually be in sync.

bug:2323057
Change-Id: Ie080b50d764e6879e712507aceb68f585f12f94e
2010-03-12 17:27:41 -08:00
Dianne Hackborn
9dc1036d96 Merge "resolved conflicts for merge of 2ecce34f to master" 2010-03-12 17:07:48 -08:00
Elliott Hughes
5c6d6d5d16 Merge "Replace the outdated table with links to the benchmarks." 2010-03-12 16:52:58 -08:00
Wink Saville
e04c0275d7 Merge "Fix data error handling." 2010-03-12 16:51:21 -08:00
Dianne Hackborn
5c83a5f2cc resolved conflicts for merge of 2ecce34f to master
Change-Id: Ic4e38199beaf8c16f9d28ac5296e8aaa61788b36
2010-03-12 16:46:46 -08:00
Eric Fischer
cf6773de30 Merge "Add documentation for LeadingMarginSpan2." 2010-03-12 16:43:07 -08:00
Elliott Hughes
cb6b7c1988 Replace the outdated table with links to the benchmarks.
Also a few more slight changes of emphasis.

Change-Id: If28f3389e7431f1ea37ffb118d8e0525fd2a00fd
2010-03-12 16:40:02 -08:00
Nicolas Catania
9627c36a32 Merge "ListActivity.onDestroy, remove any pending callbacks." 2010-03-12 15:55:51 -08:00
Amith Yamasani
747d2d4b9e Use a Go button instead of a magnifying glass in the keyboard for in-app search.
bug: 2197781
2010-03-12 15:42:45 -08:00
Dianne Hackborn
061d58a101 Fix problem with starting a translucent activity in onCreate().
Fixes issue #2437252: Starting activity by means of startActivityForResult
causes 5 seconds delay if "android:windowIsTranslucent" is true

The optimization to avoid showing an activity window when a new
activity is being started was a little too aggressive.  Now it
avoids doing this if there is not actually a fullscreen activity
on top to cover it.

Change-Id: I630e37a1f1d3b874b5a25572cbf887cebc2e3e91
2010-03-12 15:41:24 -08:00
Nicolas Catania
f767e75212 ListActivity.onDestroy, remove any pending callbacks.
Added a onDestroy method to do the callbacks cleanup.

Apologies for the line end whitespaces my editor removed
automatically.

Bug:2090959
Change-Id: Id3ea4b8fc38e55c1b1ef78b3ec5b81cb02ab5b69
2010-03-12 15:37:43 -08:00
Eric Fischer
ec8b102190 Add documentation for LeadingMarginSpan2.
Bug 2420334

Change-Id: Ica42cc34a938a5ec529da16804d1f0e6fddcc249
2010-03-12 15:35:41 -08:00
Wink Saville
abeff9479f Fix data error handling.
In change I5776324a I made DataConnection.reset asynchronous.
That was a mistake as callers to cleanUpConnection assumed
it was synchronous. Added DataConnection.resetSynchronously
as a fix, someday the trackers will become asynchronous and
this won't be necessary.

Change-Id: I4669901e5c47a712212bb388c35fbb9f9ff603a7
2010-03-12 15:31:56 -08:00
Andreas Huber
e3452d3fe1 Fix the media metadata retriever (tests). The native constants must match those published at the java layer.
Change-Id: Ic1efed709e4d93c61913b231a8cd3ef1074f8ca0
2010-03-12 15:08:52 -08:00
Adam Powell
069b3cfcd4 Merge "Make sure visible View state is updated before dispatching clicks" 2010-03-12 14:58:32 -08:00
Ken Shirriff
3646d056ce Merge "Make sure Browser cursors are closed" 2010-03-12 14:52:24 -08:00
Adam Powell
a35d7687dd Make sure visible View state is updated before dispatching clicks
Change-Id: If2619ffa760be708efe8b0d2d04e17eb0dc9375e
2010-03-12 14:48:13 -08:00
Andreas Huber
d27e8d2bef Merge "Boost OMX callback dispatcher thread priority to prevent audio playback stuttering under increased system load" 2010-03-12 14:40:29 -08:00
Andreas Huber
98b29565b9 Boost OMX callback dispatcher thread priority to prevent audio playback stuttering under increased system load
Change-Id: I1b5339b4d39bd964f286cdf1369d0e0492a465d7
related-to-bug: 2492002
2010-03-12 14:33:12 -08:00
Ken Shirriff
29c228e074 Make sure Browser cursors are closed
finalizer errors were occurring due to unclosed cursors, maybe
causing ANRs.

Change-Id: Ibe75f7dbe7b591023a1560a5ffbfe84fac694ef2
2010-03-12 14:31:16 -08:00
Kenny Root
b9b2f55ad2 Merge "Give an 9-patch error on too many rows and columns" 2010-03-12 14:16:56 -08:00
Kenny Root
9e652a67ca Give an 9-patch error on too many rows and columns
When you have too many rows and columns, there are not enough colors in
the 9-patch private metadata to represent them. Instead of crashing
aapt, this change gives the user an error message telling them why it's
invalid.

Change-Id: I5e7bd59472a3a2eafa7cbc263792458cce2b5594
2010-03-12 14:12:14 -08:00
Adam Powell
b9ca362e47 Merge "Improvements to ScaleGestureDetector" 2010-03-12 14:11:46 -08:00
Grace Kloba
cd00e07b56 Merge "Expose smart-zoom, or centerFitRect to native." 2010-03-12 13:58:03 -08:00
Daniel Lehmann
63e914096e Framework changes to allow VCards containing multiple entries
Bug:2501468

Change-Id: I004997c6ed9351e2600e7446615af9e60a14fda8
2010-03-12 13:44:31 -08:00
Grace Kloba
e8300a1dc5 Expose smart-zoom, or centerFitRect to native.
Clean up the old centerPluginOnScreen so it can be
used to center fit any rectangle on the screen.

Fix http://b/issue?id=2510670
2010-03-12 13:32:55 -08:00
Irfan Sheriff
7b00978dc7 Run WifiWatchdogServiceThread only on wifi enable
Bug: 2508997
Change-Id: Ib79ee25fcc8e39e9a1d6c5b9ef9681bc00b6d006
2010-03-12 13:16:47 -08:00