45954 Commits

Author SHA1 Message Date
Dianne Hackborn
ce418e661a Fix issue #3495749: Crash on choosing to open the downloaded images
This is due to the window doing a relayout after its activity is
stopped, at which point it may need to interact with the adapter
to load data.

The fix here is to tell ViewRoot about an activity being stopped
and, if in this state, hold off on doing any new measurements and
layouts of the hierarchy until it is no longer stopped.

In this case the relayout was happening due to the cursor
being deactivated, with causes the adapter to invalidate
its data.  Because this is now in a dialog window, this
allows the window to actually be resized smaller (unlike when
in a full screen activity), and boom.

Change-Id: I26442b4679819b4a4e6bc56289afd3445526750b
2011-03-01 14:45:28 -08:00
Adam Cohen
6c2193a7e2 Merge "Small change to AppWidgetProviderInfo public field name and docs" 2011-02-28 15:24:56 -08:00
Elliott Hughes
20ccb06a7c Merge "Fix Parcel.writeNative to not ignore 'offset'." 2011-02-28 15:11:00 -08:00
Elliott Hughes
a28b83ee04 Fix Parcel.writeNative to not ignore 'offset'.
Also switch to using libcore's array bounds checking. (This variant had no
detail message and was missing the length check.)

Bug: http://code.google.com/p/android/issues/detail?id=15075
Change-Id: Icfc045bd59403b59f02d95c8514abf881d3996e5
2011-02-28 14:55:29 -08:00
Adam Cohen
9611f2ea6c Small change to AppWidgetProviderInfo public field name and docs
Change-Id: Ia799cfc1824ccee1f7fd041ae8ecaa1a0395c3f6
2011-02-28 14:53:09 -08:00
Gilles Debunne
059d5affa1 Merge "Text selection mode is stopped when View is recycled in ListView" 2011-02-28 14:24:19 -08:00
Gilles Debunne
ccf857cc4c Merge "OnScrollListener fix in AbsListView" 2011-02-28 14:23:50 -08:00
Gilles Debunne
49279ff77d Merge "AIOOB exception fix in TabWidget" 2011-02-28 14:23:35 -08:00
Yu Shan Emily Lau
4fdc6ebb91 Merge "Remove the hard coded media recorder test cases. Add the native heap dump catpure functionality." 2011-02-28 14:10:23 -08:00
Adam Powell
9b1aa5e80c Merge "Fix some bugs in the new ScaleGestureDetector logic." 2011-02-28 13:39:38 -08:00
Adam Powell
0fe4a135b7 Fix some bugs in the new ScaleGestureDetector logic.
Lifting an active pointer now properly ends/begins a new gesture.

Fix out of bounds errors.

Change-Id: I29cb802785b886f65e7fc16fa7d2870f9219a3c6
2011-02-28 13:33:33 -08:00
Shimeng (Simon) Wang
1fcc292c71 Merge "Remove the limitation that zoom can't go beyond overview scale." 2011-02-28 13:28:58 -08:00
Jim Miller
7eae7a97bc Merge "Fix 3386135: Make recent apps scrollable with more entries" 2011-02-28 13:12:56 -08:00
Shimeng (Simon) Wang
f1b391a1e3 Remove the limitation that zoom can't go beyond overview scale.
Also scales the zoom level when zoom density changes.

issue: 3494868
Change-Id: I23ef9e1bad9c042ca0edf05dce60454b17eb0ade
2011-02-28 13:12:35 -08:00
Mathias Agopian
7c4beadf57 Merge "surfaceflinger_client: Don't dereference NULL ptrs." 2011-02-28 12:50:25 -08:00
Christopher Tate
d5dac80fed Merge "Binder linkage no longer depends on JNI objrefs as persistent tokens" 2011-02-28 12:50:09 -08:00
Mathias Agopian
8c8cfec0ea Merge "Fix sp<> conversion operator / constructor" 2011-02-28 12:50:04 -08:00
Christopher Tate
0b41448506 Binder linkage no longer depends on JNI objrefs as persistent tokens
There are two areas that have changed to eliminate the assumption that
local jobject references are both canonical and persistent:

1. JavaBBinderHolder no longer holds onto and reuses it parent object
reference per se.  Since the underlying JavaBBinder object holds a
real global ref, this was redundant anyway.  Now, for purposes of its
transient need to perform JNI operations, it simply uses the current
jobject ref(s) passed during method invocation, and no longer attempts
to hold these refs beyond the scope of a single invocation.

2. Binder obituaries no longer assume that a jobject reference to a
recipient will always compare == as a 32-bit value with any future
reference to the same object.  The implementation now asks Dalvik
whether object references match.

This amended patch fixes the earlier bug around races between
remote binder death cleanup and local explicit unregistration of
VM-side death recipients.

Bug 2090115

Change-Id: I70bd788a80ea953632b1f466f385ab6b78ef2913
2011-02-28 11:37:20 -08:00
Svetoslav Ganov
6c113a14ca Merge "NubmberPicker up/down arrows do not work." 2011-02-28 11:35:05 -08:00
Dianne Hackborn
d36d653c1c Merge "You can now specify a custom display size as NxM." 2011-02-28 11:28:38 -08:00
James Dong
8f77b413e8 Merge "The color conversion from YUV420Planar to RGB only requires the image width to be a multiple of 2, not 4." 2011-02-28 11:27:09 -08:00
Dianne Hackborn
99aac7beca You can now specify a custom display size as NxM.
Change-Id: Ieb6df51aab009689f0f19b8887025261c5ceb69f
2011-02-28 11:23:18 -08:00
Jean-Baptiste Queru
fbaa6741b6 am 71431bb5: am 79b66725: am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit '71431bb5ca0d8d566d4ebd9d0bc7eb20950290dc':
  Fix of tearDown() in SingleLaunchActivityTestCase.
2011-02-28 11:08:51 -08:00
Santosh Madhava
9e69035598 Merge "Fix for issue 3466385: Low quality video properties are applied to all" 2011-02-28 11:06:55 -08:00
Jean-Baptiste Queru
71431bb5ca am 79b66725: am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit '79b66725b7755e403e10a9d073121789f09b1a9e':
  Fix of tearDown() in SingleLaunchActivityTestCase.
2011-02-28 11:05:55 -08:00
Alex Sakhartchouk
802e37e7b8 Merge "These moved into developmnet samples" 2011-02-28 10:59:29 -08:00
Andreas Huber
8e79442c4f Merge "Add the option '-S' to use surface allocated buffers in the stagefright cmdline tool." 2011-02-28 10:40:28 -08:00
Jean-Baptiste Queru
79b66725b7 am 25be2c72: am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit '25be2c725eba1c94c7fc700e37b194fdcd83a1fb':
  Fix of tearDown() in SingleLaunchActivityTestCase.
2011-02-28 10:18:30 -08:00
Xavier Ducrohet
7719436342 am b732b7b5: am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'b732b7b5e8192501360edc15fb8c6399d11fb97d':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:15:48 -08:00
Jean-Baptiste Queru
25be2c725e am e0537f18: Merge "Fix of tearDown() in SingleLaunchActivityTestCase."
* commit 'e0537f1859664ba9c9cf87eb9d6dc3c16986dbb8':
  Fix of tearDown() in SingleLaunchActivityTestCase.
2011-02-28 10:15:46 -08:00
Jean-Baptiste Queru
e0537f1859 Merge "Fix of tearDown() in SingleLaunchActivityTestCase." 2011-02-28 10:12:08 -08:00
Xavier Ducrohet
b732b7b5e8 am ce57a7f3: am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'ce57a7f35344e76689d30f45964d1e37b78280cb':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 10:10:38 -08:00
Eric Laurent
65260be5d4 Merge "Fix issue 3388354." 2011-02-28 09:53:04 -08:00
Xavier Ducrohet
ce57a7f353 am 6504490c: am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit '6504490cde3ec5d48321d539e654d1f2072b33f9':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 09:51:38 -08:00
Jean-Michel Trivi
e27214857f Merge "Fix bug 3376700 Volume too loud at lowest setting" 2011-02-28 09:33:59 -08:00
Leon Scroggins
5960626016 Merge "No radio buttons on <select>" 2011-02-28 09:32:43 -08:00
Rajneesh Chowdury
051d443071 Merge "Instrumentation code to enable/disable memory leak check using setprop" 2011-02-28 09:26:54 -08:00
Andreas Huber
190c03cb32 Add the option '-S' to use surface allocated buffers in the stagefright cmdline tool.
Change-Id: Ic84eeed1679d6bf68c92de0e20d30e7a3c4d410f
2011-02-28 09:23:13 -08:00
Xavier Ducrohet
6504490cde am dff6b8e7: Merge "Add --non-constant-id to aapt."
* commit 'dff6b8e71dda9f5d841fa26408714aec2aef1505':
  GpsLocationProvider: Clean up HAL initialization/cleanup sequence
  Fixed GSM encoded network initiated position request
  Ensuring thread-safe usage of DateFormat.
  Fixing infinite loop for zero duration.
  Fix for an infinite loop while scrolling lists.
  WAPPushManager, WAP Push over SMS message handler
  Add --non-constant-id to aapt.
2011-02-28 09:16:38 -08:00
Eric Laurent
854938a72d Fix issue 3388354.
Release all sco audio clients when the intent indicating
STATE_AUDIO_DISCONNECTED state is received.
Also clear mScoClients array when clients are released.

Change-Id: I63ec9d70fe72a102e09a4a473a367fb2e550b171
2011-02-28 09:13:00 -08:00
Santosh Madhava
15f5eeef0e Merge "Fix for issue 3431967: Memory leak from video editor engine" 2011-02-28 09:12:34 -08:00
Ben Murdoch
dd1ddc3b16 Merge "Don't try to output really long URLs HTML5Audio exception handler." 2011-02-28 08:45:10 -08:00
Glenn Kasten
764112c2be Merge "Bug 3447027 Limit previews for DRM video" 2011-02-28 08:44:05 -08:00
Vasu Nori
ae8ffd985e Merge "fix javadoc on downloadmanager.remove()" 2011-02-28 08:42:24 -08:00
Glenn Kasten
5f63069f32 Bug 3447027 Limit previews for DRM video
Change-Id: I5b15cf6a15623cf73f007c59143ab5e3fa5a07e8
2011-02-28 08:39:13 -08:00
Vasu Nori
17ee56c994 fix javadoc on downloadmanager.remove()
Change-Id: Id48389acd12343b4dcc18ed3f77ab068b2bc5f85
2011-02-28 08:35:39 -08:00
Ben Murdoch
35381518d0 Don't try to output really long URLs HTML5Audio exception handler.
If we catch an IOException in HTML5Audio.setDataSource, do not try
and output the URL if it's really long as this will likely lead to
an OOM exception being thrown.

Bug: 3486963
Change-Id: If10a489b03ec215e078490a81910b02d68190612
2011-02-28 16:33:10 +00:00
Ben Murdoch
d2e91d1dc7 Improve caching of localised strings for Chromium
We read localised strings for Chromium (e.g. for Autofill)
from Java. Now we've added more large strings, keep them
in WeakReferences and load them lazily rather than on startup.

Change-Id: Ibedcaab5ee781699b41b5c03aae866d1d82bb570
2011-02-28 14:19:05 +00:00
Ben Murdoch
b8460ba428 Localise the regular expressions that AutoFill uses.
Improve the AutoFill experience on non-English web pages
by using localised regular expressions.

This essentially cherry picks the localised strings from
Chromium CL:
http://codereview.chromium.org/6113005

Requires a change in external/chromium, see:
Ie927514cae7b7390c5a291dfae4dcfe3782bb5b7

Change-Id: I9c0544e67bf0333abcb9ea607855ff92f69bff8e
2011-02-28 10:27:53 +00:00
Dirk Dougherty
46054e0c87 am 1649d91f: am a47ef32e: Merge "Doc change: Add announce for Android at GDC 2011." into honeycomb
* commit '1649d91f781445a78ce09ed5500503fd96eb9113':
  Doc change: Add announce for Android at GDC 2011.
2011-02-27 22:37:44 -08:00