2978 Commits

Author SHA1 Message Date
jsh
7f304d2cce Fix for sending 16-bit SMS message with header.
Header length was missing from the PDU.  This addresses http://b/issue?id=2040561
2009-08-11 17:25:37 -07:00
Android (Google) Code Review
eccd6fdd0d Merge change 20673 into donut
* changes:
  Fix bug 2043140. A race condition is encountered when an application invokes shutdown() on its TextToSpeech object while is has speak() requests still running. Since the TTS service destructor releases the synthesizer resources and sets the corresponding synth reference to null, an NPE was observed. The fix consists in catching NPEs whenever the sNativeSynth object is accessed, and return the matching error for the call. This change is a "low risk" version of the fix for bug 2025765i (same issue) which was reverted because it was higher risk than this CL: it affected the logic of each call to sNativeSynth. This CL only sets an error code when an NPE is fired because sNativeSynth is null.
2009-08-11 15:18:29 -07:00
Jean-Michel Trivi
69e67a3e2e Fix bug 2043140.
A race condition is encountered when an application invokes shutdown()
on its TextToSpeech object while is has speak() requests still running.
Since the TTS service destructor releases the synthesizer resources and
sets the corresponding synth reference to null, an NPE was observed.
The fix consists in catching NPEs whenever the sNativeSynth object is
accessed, and return the matching error for the call.
This change is a "low risk" version of the fix for bug 2025765i (same
issue) which was reverted because it was higher risk than this CL:
it affected the logic of each call to sNativeSynth. This CL only sets
an error code when an NPE is fired because sNativeSynth is null.
2009-08-11 15:09:45 -07:00
Android (Google) Code Review
3b5f4a841e Merge change 20806 into donut
* changes:
  Remove flaky auto complete tests from continuous.
2009-08-11 14:45:08 -07:00
Brett Chabot
37f4e75b09 Remove flaky auto complete tests from continuous.
BUG 2036517
2009-08-11 14:33:50 -07:00
Android (Google) Code Review
b3fa1084ba Merge change 20768 into donut
* changes:
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-11 13:58:59 -07:00
Karl Rosaen
b504136852 Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
Includes:
- an overview section on including search suggestions in quick search box
- additional table of searchable metadata attributes related to quick search box
- additional column descriptions that we've added for quick search box.
- description of how to expose your content provider's search suggestions to
the search infrastructure if you have permissions guarding your content provider.
2009-08-11 13:43:14 -07:00
Jean-Baptiste Queru
b23896da46 Merge snapshot version of donut back into main tree 2009-08-11 13:32:28 -07:00
Jean-Baptiste Queru
ac1e59d887 donut snapshot 2009-08-11 13:12:34 -07:00
Android (Google) Code Review
802527c6a8 Merge change 20713 into donut
* changes:
  Updated preloaded-classes file.
2009-08-11 12:48:36 -07:00
Android (Google) Code Review
c8ddd37aa0 Merge change 20779 into donut
* changes:
  DO NOT MERGE. This is merged from master. Fix couple of bugs in the meminfo report.  . added the new "/data/dalvik-cache/" to dalvik heap  . shortened the starting line's length from 40 to 30 to handle the case where there is no name  . fixed the pri/shared for others. It was swapped.
2009-08-11 12:47:36 -07:00
Grace Kloba
628e086664 DO NOT MERGE. This is merged from master.
Fix couple of bugs in the meminfo report.
 . added the new "/data/dalvik-cache/" to dalvik heap
 . shortened the starting line's length from 40 to 30 to handle the case where there is no name
 . fixed the pri/shared for others. It was swapped.
2009-08-11 12:43:08 -07:00
Bob Lee
2e93f65cab Updated preloaded-classes file. 2009-08-11 12:42:02 -07:00
Android (Google) Code Review
7b98b666ec Merge change 20738 into donut
* changes:
  Fix a bug in getSocketError() in VpnService.
2009-08-11 10:01:18 -07:00
Hung-ying Tyan
0daf9d0612 Fix a bug in getSocketError() in VpnService. 2009-08-12 00:53:36 +08:00
Android (Google) Code Review
c22e0c8012 Merge change 20719 into donut
* changes:
  Fix order of setting/saving state in VpnService.
2009-08-11 09:44:26 -07:00
Android (Google) Code Review
cb2b2378c7 Merge change 20729 into donut
* changes:
  Fix the bug that EXIF attributes are always cached.
2009-08-11 08:54:10 -07:00
Wu-cheng Li
b826bf9182 Fix the bug that EXIF attributes are always cached.
b2039501
2009-08-11 23:37:01 +08:00
Hung-ying Tyan
a2a29b0c8e Fix order of setting/saving state in VpnService.
and also refactor code making sure a thread won't grab two locks (which
may cause deadlocks in some corner cases).
2009-08-11 23:28:59 +08:00
Karl Rosaen
abf44279ad Fix NPE in SearchDialog (and thereby fix bug 2045398). 2009-08-10 17:09:24 -07:00
Android (Google) Code Review
021fa3fa6f Merge change 20665 into donut
* changes:
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature. This simply cleans up any inconsistencies or weirdnesses, we still need to add the new info for QSB.
2009-08-10 16:38:00 -07:00
Mike LeBeau
8c91dd7ec8 First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
This simply cleans up any inconsistencies or weirdnesses, we still need to add the new
info for QSB.
2009-08-10 16:32:29 -07:00
Android (Google) Code Review
1e1b6b7245 Merge change 20514 into donut
* changes:
  Fix bug 2022435. Add new intent and matching extra to signal the completion of the language pack installer. This is used by CL 20513.
2009-08-10 15:23:39 -07:00
Eric Laurent
8af63bc97f Test for issue 2041105: CPU pegged after lost of bluetooth connection[WAR ROOM].
Merge change 7419 from master that may help eliminate the problem.
This change was for a different use case (when disabling A2DP to switch output to SCO) but without a repro case it is worth trying.
2009-08-08 06:41:09 -07:00
Jean-Michel Trivi
77a5d39343 Fix bug 2022435.
Add new intent and matching extra to signal the completion of the
language pack installer. This is used by CL 20513.
2009-08-07 17:29:15 -07:00
Eric Fischer
e6034f6cd8 Import revised translations. 2009-08-07 10:49:49 -07:00
Jeff Sharkey
b8560b66fd Fix AppWidget layout inflation to resolve references.
When RemoteViews inflates a layout and set of actions, it
uses a cloned remote Context so it can fully access the
resources needed to complete the inflate.  However, in one
specific case when inflating the root view, LayoutInflater
calls back to the soon-to-be parent view to request the
correct set of LayoutParams through generateLayoutParams().

The default implementation of generateLayoutParams() uses
the Context of the /local/ View instead of the remote
Context being used for the inflation, which means that any
LayoutParam references in the root view are unresolved.

To fix this, we internally create our own copy of the target
remote Context.  This way, when the remote LayoutInflater
calls generateLayoutParams(), we inflate it using the remote
Context to correctly resolve any references.

This change is required as part of http://b/2038594
2009-08-06 21:53:56 -07:00
Yu Shan Emily Lau
3397f16949 Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops. 2009-08-06 17:42:29 -07:00
Karl Rosaen
a7a3b6ef0f Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Fixes bug 2039508.  This makes backing out of the search dialog easier when dismissing the soft keyboard doesn't really
add any value.
2009-08-06 16:23:19 -07:00
Mike LeBeau
e303d2cf94 Send a special respond to the cursor in SuggestionsAdapter to tell it to
close itself directly because it may not happen correctly for some cursors
currently. This fixes http://b/2036290, which is being caused by
http://b/2015069 which we are not fixing for Donut, so this is a hack around
that for the time being.
2009-08-06 14:52:15 -07:00
Android (Google) Code Review
40c10bf4df Merge change 20304 into donut
* changes:
  More work on issue #2030135: Device sluggish
2009-08-06 13:51:04 -07:00
San Mehat
7e63789a0e android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
Signed-off-by: San Mehat <san@google.com>
2009-08-06 13:19:19 -07:00
Dianne Hackborn
151ceb9691 More work on issue #2030135: Device sluggish
Also include the page faults in the cpu info, to help determine if the system is
paging at the time of an ANR.
2009-08-06 12:40:56 -07:00
Android (Google) Code Review
3efbdf6f25 Merge change 20267 into donut
* changes:
  Do not merge
2009-08-06 10:17:15 -07:00
Andrei Popescu
bf70afa212 Do not merge
Fix for 1900694: create the full path to the Gears permission database file so SQLite can actually create the database on the device
2009-08-06 14:46:59 +01:00
Scott Main
d2102a3f13 fix broken links 2009-08-06 03:11:12 -07:00
Scott Main
c7279e9cbd edits to the API Level doc 2009-08-06 02:57:33 -07:00
Scott Main
17cffb5a23 fix image reference for offline docs 2009-08-06 02:37:46 -07:00
Scott Main
fb48573370 add preview flags to terms doc so the early look title appears in nav 2009-08-06 02:09:36 -07:00
Scott Main
02a803f201 final changes to make the sdk sidenav work for the offline preview docs 2009-08-06 01:56:25 -07:00
Dirk Dougherty
f11d7d559a Add support for preview SDK handling in doc templates. Add preview SDK docs.
Bug: 2031559
2009-08-06 00:14:25 -07:00
Android (Google) Code Review
2dce6988c2 Merge change 20230 into donut
* changes:
  Cleanup - Specify the version and rel id.
2009-08-05 22:14:47 -07:00
Android (Google) Code Review
701f8b86a4 Merge change 20229 into donut
* changes:
  Add 3->donut diff report to SDK docs.
2009-08-05 22:10:10 -07:00
Android (Google) Code Review
be9d08d04e Merge change 20228 into donut
* changes:
  add installing/upgrading docs for donut preview sdk and update eclipse ide doc to include new AVD Manager
2009-08-05 22:06:40 -07:00
Scott Main
75f7a2642f add installing/upgrading docs for donut preview sdk
and update eclipse ide doc to include new AVD Manager
2009-08-05 21:56:40 -07:00
Dirk Dougherty
890b835d62 Cleanup - Specify the version and rel id.
Bug: 2031559
2009-08-05 19:54:52 -07:00
Dirk Dougherty
027ece7d89 Add 3->donut diff report to SDK docs.
Bug: 2031559
2009-08-05 19:31:13 -07:00
Android (Google) Code Review
ae18ca5ceb Merge change 20140 into donut
* changes:
  Work on issue #2030135: Device sluggish
2009-08-05 18:34:55 -07:00
Android (Google) Code Review
ff6585cbb0 Merge change 20144 into donut
* changes:
  Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make AutoCompletePopup tests more reliable.
2009-08-05 17:49:41 -07:00
Dianne Hackborn
de42bb61ad Work on issue #2030135: Device sluggish
This adds some new debugging code to make it easier to see why a process is at
a certain oom_adj level -- for example telling you that a certain other process
has a binding to a certain one of its services.  This has helped a lot in
identifying cases where processes are holding references to other processes that
they don't need and thus not allowing the system to get memory it needs.

Also fix a few problems with leaking entries on the service restarting and
service stopping lists.
2009-08-05 15:57:16 -07:00