19850 Commits

Author SHA1 Message Date
jsh
1e909ed94c Merge "Add definitions for WiMAX and iDen network types." 2010-03-15 15:35:27 -07:00
Jim Miller
b258659ad6 Merge "Fix 2428368: Fix most of the lockscreen orientation refresh bugs" 2010-03-15 15:33:37 -07:00
jsh
8214deb542 Add definitions for WiMAX and iDen network types.
b/2509185

Change-Id: Icf07ce857874e200712218713edbdbb47e646297
2010-03-15 15:31:08 -07:00
Carl Shapiro
4f096dcf6a Merge "Replace all uses of bzero with memset. Bzero and memset are both compiler built-ins so this change should not negatively effect the generated code. However, a forthcoming commit will remove the implicit include of strings.h from stdlib.h and bzero will no longer be visible in these translation units without additional includes." 2010-03-15 15:21:33 -07:00
Jean-Michel Trivi
1a3786a3e3 Merge "Fix bug 2203203 Route STREAM_VOICE_CALL to A2DP when not in call." 2010-03-15 14:18:57 -07:00
Adam Powell
6af8e145f2 Merge "Fix bugs when transitioning out of touch mode" 2010-03-15 14:14:13 -07:00
Adam Powell
51a6bee671 Fix bugs when transitioning out of touch mode
Change-Id: I56cbac17fba500871af839a87d746ea8e1fd5d0f
2010-03-15 14:07:28 -07:00
Steve Howard
b06a68b9c4 Merge "Add a name to the previously-unnamed thread created by SoundPoolThread." 2010-03-15 13:40:53 -07:00
Cary Clark
fc2ece4ab6 update comment on WebView loadData
Change-Id: I20fbfabde7eafb8017036a7360ed83fa457cc42c
http://2400117
2010-03-15 16:32:41 -04:00
Brad Fitzpatrick
0e08f2d50a Merge "Allocate SQLiteQueryBuilder's WHERE clause StringBuilder lazily." 2010-03-15 13:02:44 -07:00
Andreas Huber
43f0e8e964 We no longer do sanity checks based on "hdlr" tags in .mp4 files. Pretty soon we'll play any bytestream that even vaguely resembles the spec...
Change-Id: I43e05404860d8856b8aa566cc9b256bb3fa57e6f
related-to-bug: 2483328
2010-03-15 11:45:40 -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
Carl Shapiro
8e3015e7aa Replace all uses of bzero with memset. Bzero and memset are both
compiler built-ins so this change should not negatively effect the
generated code.  However, a forthcoming commit will remove the
implicit include of strings.h from stdlib.h and bzero will no longer
be visible in these translation units without additional includes.

Change-Id: I8080fbcaabad4ff280163515168e4af5cd0a7112
2010-03-14 23:04:49 -07:00
Brad Fitzpatrick
ae6cdd12ac Allocate SQLiteQueryBuilder's WHERE clause StringBuilder lazily.
Number of callers weren't using this, and seemed like a waste to
allocate it when unnecessary.

Change-Id: Iebb701a9eb4f1d9d028bfe74463574f84a36729c
2010-03-14 11:38:06 -07:00
Jean-Michel Trivi
e4b8c42301 Fix bug 2203203 Route STREAM_VOICE_CALL to A2DP when not in call.
Change-Id: I5581702780308658415dc4ad19fbe409fdc5c368
2010-03-14 10:55:57 -07: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
Jim Miller
a027c95e79 Fix 2428368: Fix most of the lockscreen orientation refresh bugs
This change removes the legacy notification of orientation and configuration changed events
from KeyguardUpdateMonitor and moves them into the individual activities.  This was necessary
to guarantee order of events.

In addition, to minimize discrepencies due to notification lag, Keyguard screens (LockScreen,
PatternUnlock, etc.) are now responsible for handling onConfigurationChanged() notification and
forwarding them to LockPatternKeyguardView by a call to recreateMe() with the new configuration.

Change-Id: I703daf3e91bc6588e87c844a3ed3d259a6b8ecdf
2010-03-12 17:32:01 -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