OSDN Git Service
Android (Google) Code Review [Tue, 18 Aug 2009 20:39:50 +0000 (13:39 -0700)]
Merge change 21772 into donut
* changes:
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
Xavier Ducrohet [Tue, 18 Aug 2009 20:35:55 +0000 (13:35 -0700)]
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
Eric Fischer [Tue, 18 Aug 2009 18:19:17 +0000 (11:19 -0700)]
Import revised translations. DO NOT MERGE
Android (Google) Code Review [Tue, 18 Aug 2009 01:38:53 +0000 (18:38 -0700)]
Merge change 21652 into donut
* changes:
Make ZoomButtonsController public.
Jack Palevich [Tue, 18 Aug 2009 01:29:52 +0000 (18:29 -0700)]
Make ZoomButtonsController public.
Android (Google) Code Review [Tue, 18 Aug 2009 00:58:05 +0000 (17:58 -0700)]
Merge change 21178 into donut
* changes:
Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
Suchi Amalapurapu [Mon, 17 Aug 2009 23:57:03 +0000 (16:57 -0700)]
Remove dead locks in system process when installing packages
Bob Lee [Thu, 13 Aug 2009 21:41:54 +0000 (14:41 -0700)]
Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
Android (Google) Code Review [Mon, 17 Aug 2009 21:22:24 +0000 (14:22 -0700)]
Merge change 21408 into donut
* changes:
Improved drawing/matrix support in layoutlib
Android (Google) Code Review [Mon, 17 Aug 2009 21:19:42 +0000 (14:19 -0700)]
Merge change 21572 into donut
* changes:
Add constants to adjust Vending input and output buffer sizes.
Xavier Ducrohet [Sat, 15 Aug 2009 03:47:50 +0000 (20:47 -0700)]
Improved drawing/matrix support in layoutlib
- Make the custom Canvas actually replace the original one so that it's used
even by parts of the framework that allocate their own temp Canvas object.
- Better support for Matrix: added support for mapPoint() and mapRect(), and invert()
- Implemented drawBitmap() with a Matrix, and made the paint object not NPE when null.
Android (Google) Code Review [Mon, 17 Aug 2009 20:42:24 +0000 (13:42 -0700)]
Merge change 21549 into donut
* changes:
Import revised translations. DO NOT MERGE
Jasperln [Mon, 17 Aug 2009 20:29:11 +0000 (13:29 -0700)]
Add constants to adjust Vending input and output buffer sizes.
- Needed for Bug:
2058060
Eric Fischer [Mon, 17 Aug 2009 20:13:44 +0000 (13:13 -0700)]
Import revised translations. DO NOT MERGE
Dianne Hackborn [Mon, 17 Aug 2009 19:51:17 +0000 (12:51 -0700)]
Fix issue #
2056585: applications can put phone in inconsistent state wrt airplane mode
Mike LeBeau [Mon, 17 Aug 2009 17:56:02 +0000 (10:56 -0700)]
Correct comments for startSearch in Activity and SearchManager to explain
Donut behavior correctly.
Android (Google) Code Review [Fri, 14 Aug 2009 23:28:12 +0000 (16:28 -0700)]
Merge change 21358 into donut
* changes:
Unhide the broadcast intent that signals completion of the TTS language files. This is required for bug
2022435. Correct the javadoc where two intents were mislabelled as broadcast, but were activity actions.
Jean-Michel Trivi [Fri, 14 Aug 2009 22:44:31 +0000 (15:44 -0700)]
Unhide the broadcast intent that signals completion of the TTS language
files. This is required for bug
2022435.
Correct the javadoc where two intents were mislabelled as broadcast,
but were activity actions.
Suchi Amalapurapu [Fri, 14 Aug 2009 22:13:09 +0000 (15:13 -0700)]
Add maxSdkVersion information in dump badging option
Android (Google) Code Review [Fri, 14 Aug 2009 17:57:25 +0000 (10:57 -0700)]
Merge change 21241 into donut
* changes:
Layoutlib now uses the dimen status_bar_height instead of hard-coded value
Android (Google) Code Review [Fri, 14 Aug 2009 17:24:07 +0000 (10:24 -0700)]
Merge change 21226 into donut
* changes:
Fix bug
2046705 where the output of the speech synthesizer is too low. The language files for the SVOX Pico engine result in the output of the synthesizer to be too soft, and barely audible on a phone speaker. The change implements a low shelf filter on the output of the synthesis and a drastic amplification. This works as intended because the synthesized data contains too much energy in the lower frequencies that is wasted on a phone speaker. Once filtered out, they leave room for amplication to address the volume issue.
Jean-Michel Trivi [Fri, 14 Aug 2009 02:05:45 +0000 (19:05 -0700)]
Fix bug
2046705 where the output of the speech synthesizer is too low.
The language files for the SVOX Pico engine result in the output of
the synthesizer to be too soft, and barely audible on a phone speaker.
The change implements a low shelf filter on the output of the synthesis
and a drastic amplification. This works as intended because the
synthesized data contains too much energy in the lower frequencies that
is wasted on a phone speaker. Once filtered out, they leave room for
amplication to address the volume issue.
Android (Google) Code Review [Fri, 14 Aug 2009 16:04:59 +0000 (09:04 -0700)]
Merge change 21124 into donut
* changes:
Add license-related files
Xavier Ducrohet [Fri, 14 Aug 2009 04:48:03 +0000 (21:48 -0700)]
Layoutlib now uses the dimen status_bar_height instead of hard-coded value
BUG:
2053956
Android (Google) Code Review [Fri, 14 Aug 2009 00:33:03 +0000 (17:33 -0700)]
Merge change 21149 into donut
* changes:
DOCS ONLY. add manifest documentation for uses-feature and supports-screens elements. also update the navigation and manifest home page, update the uses-sdk element to include new maxSdk and targeSdk attributes, and add some sample code to DisplayMetrics to query the device for screen info.
Scott Main [Thu, 13 Aug 2009 19:45:31 +0000 (12:45 -0700)]
DOCS ONLY.
add manifest documentation for uses-feature and supports-screens elements.
also update the navigation and manifest home page,
update the uses-sdk element to include new maxSdk and targeSdk attributes,
and add some sample code to DisplayMetrics to query the device for screen info.
Android (Google) Code Review [Thu, 13 Aug 2009 19:36:22 +0000 (12:36 -0700)]
Merge change 21100 into donut
* changes:
Use dataRoaming in dataConnectionTracker.
Android (Google) Code Review [Thu, 13 Aug 2009 18:31:07 +0000 (11:31 -0700)]
Merge change 21063 into donut
* changes:
Fix handling of reference XML file in layout files
Xavier Ducrohet [Thu, 13 Aug 2009 04:47:11 +0000 (21:47 -0700)]
Fix handling of reference XML file in layout files
This allows layout that references animation to properly load
in the layout editor in ADT
Android (Google) Code Review [Thu, 13 Aug 2009 18:13:46 +0000 (11:13 -0700)]
Merge change 21033 into donut
* changes:
Mock ServiceManager and AccesibilityManager to make the view renders in ADT
Jean-Baptiste Queru [Thu, 13 Aug 2009 17:58:11 +0000 (10:58 -0700)]
Add license-related files
BUG=
1573996
John Wang [Thu, 13 Aug 2009 12:32:17 +0000 (05:32 -0700)]
Use dataRoaming in dataConnectionTracker.
Seperate dataRoaming from gsmRoaming. dataRoaming is based on +CGREG returns in GSM while gsmRoaming is based on +CREG returns. Previously, the status of dataRoaming is always treated the same as gsmRoaming. However there is a situation where +CREG returns 0 and +CGREG returns 5, i.e., gsmRoaming is off and dataRoaming is on. In such situation, the phone should setup data connection if the phone enables data service when roaming (for example, data only card). The phone shouldn't setup data connection if the phone disable data service when roaming (to prevent roaming data charge). So gsmDataConnectionTracker should use dataRoaming instead of gsmRoaming to decide if data service allowed.
modified: GsmDataConnectionTracker.java
modified: GsmServiceStateTracker.java
Android (Google) Code Review [Thu, 13 Aug 2009 04:36:22 +0000 (21:36 -0700)]
Merge change 21055 into donut
* changes:
Lock in final resource identifiers.
Dianne Hackborn [Thu, 13 Aug 2009 03:55:20 +0000 (20:55 -0700)]
Lock in final resource identifiers.
Android (Google) Code Review [Thu, 13 Aug 2009 01:40:22 +0000 (18:40 -0700)]
Merge change 21045 into donut
* changes:
Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)
Mike LeBeau [Thu, 13 Aug 2009 01:37:35 +0000 (18:37 -0700)]
Last minute change: Replace default app icon with a prettier one - droid on a software box sort of thing. :)
Addresses http://b/
2000048
Android (Google) Code Review [Thu, 13 Aug 2009 01:05:50 +0000 (18:05 -0700)]
Merge change 21038 into donut
* changes:
Propagate info about whether a "call" command was issued in RecognitionResult.
Mike LeBeau [Thu, 13 Aug 2009 01:03:31 +0000 (18:03 -0700)]
Propagate info about whether a "call" command was issued in RecognitionResult.
This is needed for the fix of http://b/
2018041.
Android (Google) Code Review [Thu, 13 Aug 2009 01:00:16 +0000 (18:00 -0700)]
Merge change 21025 into donut
* changes:
The DONUT constant also needs to be updated to the official SDK version.
Dianne Hackborn [Wed, 12 Aug 2009 23:53:56 +0000 (16:53 -0700)]
The DONUT constant also needs to be updated to the official SDK version.
Also remove all of the resource value padding.
Xavier Ducrohet [Thu, 13 Aug 2009 00:20:18 +0000 (17:20 -0700)]
Mock ServiceManager and AccesibilityManager to make the view renders in ADT
BUG:
2049348
Android (Google) Code Review [Wed, 12 Aug 2009 18:29:59 +0000 (11:29 -0700)]
Merge change 20960 into donut
* changes:
Fix issue #
2049588: App widget can crash causing system to be unable to boot
Dianne Hackborn [Wed, 12 Aug 2009 18:13:26 +0000 (11:13 -0700)]
Fix issue #
2049588: App widget can crash causing system to be unable to boot
Android (Google) Code Review [Wed, 12 Aug 2009 17:21:36 +0000 (10:21 -0700)]
Merge change 20859 into donut
* changes:
Fix for sending 16-bit SMS message with header.
Android (Google) Code Review [Wed, 12 Aug 2009 16:24:05 +0000 (09:24 -0700)]
Merge change 20869 into donut
* changes:
If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
Karl Rosaen [Wed, 12 Aug 2009 00:57:50 +0000 (17:57 -0700)]
If no interpolator is specified for a progress bar in the theme, default to a LinearInterpolator.
Fixes bug
2031844.
Android (Google) Code Review [Wed, 12 Aug 2009 02:58:36 +0000 (19:58 -0700)]
Merge change 20878 into donut
* changes:
Fix issue #
2048263: More debugging information
Dianne Hackborn [Wed, 12 Aug 2009 01:56:41 +0000 (18:56 -0700)]
Fix issue #
2048263: More debugging information
We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.
Chia-chi Yeh [Wed, 5 Aug 2009 18:28:24 +0000 (02:28 +0800)]
DO NOT MERGE: cherry-pick: libdrm1: Use libcrypto instead of libaes.
It seems that libdrm1 was the only user of libaes.
Now libaes is no longer required and removing it saves 36 kilobytes.
Signed-off-by: Mike Lockwood <lockwood@android.com>
jsh [Wed, 12 Aug 2009 00:25:37 +0000 (17:25 -0700)]
Fix for sending 16-bit SMS message with header.
Header length was missing from the PDU. This addresses http://b/issue?id=
2040561
Android (Google) Code Review [Tue, 11 Aug 2009 22:18:29 +0000 (15:18 -0700)]
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.
Jean-Michel Trivi [Mon, 10 Aug 2009 23:13:18 +0000 (16:13 -0700)]
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.
Android (Google) Code Review [Tue, 11 Aug 2009 21:45:08 +0000 (14:45 -0700)]
Merge change 20806 into donut
* changes:
Remove flaky auto complete tests from continuous.
Brett Chabot [Tue, 11 Aug 2009 21:31:30 +0000 (14:31 -0700)]
Remove flaky auto complete tests from continuous.
BUG
2036517
Android (Google) Code Review [Tue, 11 Aug 2009 20:58:59 +0000 (13:58 -0700)]
Merge change 20768 into donut
* changes:
Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
Karl Rosaen [Tue, 11 Aug 2009 18:35:07 +0000 (11:35 -0700)]
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.
Jean-Baptiste Queru [Tue, 11 Aug 2009 20:32:23 +0000 (13:32 -0700)]
Merge snapshot version of donut back into main tree
Jean-Baptiste Queru [Tue, 11 Aug 2009 20:12:34 +0000 (13:12 -0700)]
donut snapshot
Android (Google) Code Review [Tue, 11 Aug 2009 19:48:36 +0000 (12:48 -0700)]
Merge change 20713 into donut
* changes:
Updated preloaded-classes file.
Android (Google) Code Review [Tue, 11 Aug 2009 19:47:36 +0000 (12:47 -0700)]
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.
Grace Kloba [Tue, 11 Aug 2009 19:43:08 +0000 (12:43 -0700)]
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.
Bob Lee [Tue, 11 Aug 2009 08:16:03 +0000 (01:16 -0700)]
Updated preloaded-classes file.
Android (Google) Code Review [Tue, 11 Aug 2009 17:01:18 +0000 (10:01 -0700)]
Merge change 20738 into donut
* changes:
Fix a bug in getSocketError() in VpnService.
Hung-ying Tyan [Tue, 11 Aug 2009 16:53:36 +0000 (00:53 +0800)]
Fix a bug in getSocketError() in VpnService.
Android (Google) Code Review [Tue, 11 Aug 2009 16:44:26 +0000 (09:44 -0700)]
Merge change 20719 into donut
* changes:
Fix order of setting/saving state in VpnService.
Android (Google) Code Review [Tue, 11 Aug 2009 15:54:10 +0000 (08:54 -0700)]
Merge change 20729 into donut
* changes:
Fix the bug that EXIF attributes are always cached.
Wu-cheng Li [Tue, 11 Aug 2009 15:35:28 +0000 (23:35 +0800)]
Fix the bug that EXIF attributes are always cached.
b2039501
Hung-ying Tyan [Tue, 11 Aug 2009 10:09:57 +0000 (18:09 +0800)]
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).
Karl Rosaen [Tue, 11 Aug 2009 00:08:05 +0000 (17:08 -0700)]
Fix NPE in SearchDialog (and thereby fix bug
2045398).
Android (Google) Code Review [Mon, 10 Aug 2009 23:38:00 +0000 (16:38 -0700)]
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.
Mike LeBeau [Mon, 10 Aug 2009 22:24:49 +0000 (15:24 -0700)]
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.
Android (Google) Code Review [Mon, 10 Aug 2009 22:23:39 +0000 (15:23 -0700)]
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.
Eric Laurent [Sat, 8 Aug 2009 13:41:09 +0000 (06:41 -0700)]
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.
Jean-Michel Trivi [Sat, 8 Aug 2009 00:26:36 +0000 (17:26 -0700)]
Fix bug
2022435.
Add new intent and matching extra to signal the completion of the
language pack installer. This is used by CL 20513.
Eric Fischer [Fri, 7 Aug 2009 17:49:49 +0000 (10:49 -0700)]
Import revised translations.
Jeff Sharkey [Fri, 7 Aug 2009 04:24:25 +0000 (21:24 -0700)]
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
Yu Shan Emily Lau [Fri, 7 Aug 2009 00:35:51 +0000 (17:35 -0700)]
Capture the start and end memory usage in the output file. Move the start memory catpure after 10 loops.
Karl Rosaen [Thu, 6 Aug 2009 23:13:14 +0000 (16:13 -0700)]
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.
Mike LeBeau [Thu, 6 Aug 2009 21:23:16 +0000 (14:23 -0700)]
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.
Android (Google) Code Review [Thu, 6 Aug 2009 20:51:04 +0000 (13:51 -0700)]
Merge change 20304 into donut
* changes:
More work on issue #
2030135: Device sluggish
San Mehat [Thu, 6 Aug 2009 20:19:19 +0000 (13:19 -0700)]
android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
Signed-off-by: San Mehat <san@google.com>
Dianne Hackborn [Thu, 6 Aug 2009 19:40:56 +0000 (12:40 -0700)]
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.
Android (Google) Code Review [Thu, 6 Aug 2009 17:17:15 +0000 (10:17 -0700)]
Merge change 20267 into donut
* changes:
Do not merge
Andrei Popescu [Thu, 6 Aug 2009 13:08:27 +0000 (14:08 +0100)]
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
Scott Main [Thu, 6 Aug 2009 10:09:08 +0000 (03:09 -0700)]
fix broken links
Scott Main [Thu, 6 Aug 2009 09:57:33 +0000 (02:57 -0700)]
edits to the API Level doc
Scott Main [Thu, 6 Aug 2009 09:37:46 +0000 (02:37 -0700)]
fix image reference for offline docs
Scott Main [Thu, 6 Aug 2009 09:09:36 +0000 (02:09 -0700)]
add preview flags to terms doc so the early look title appears in nav
Scott Main [Thu, 6 Aug 2009 08:56:25 +0000 (01:56 -0700)]
final changes to make the sdk sidenav work for the offline preview docs
Dirk Dougherty [Thu, 6 Aug 2009 02:04:18 +0000 (19:04 -0700)]
Add support for preview SDK handling in doc templates. Add preview SDK docs.
Bug:
2031559
Android (Google) Code Review [Thu, 6 Aug 2009 05:14:47 +0000 (22:14 -0700)]
Merge change 20230 into donut
* changes:
Cleanup - Specify the version and rel id.
Android (Google) Code Review [Thu, 6 Aug 2009 05:10:10 +0000 (22:10 -0700)]
Merge change 20229 into donut
* changes:
Add 3->donut diff report to SDK docs.
Android (Google) Code Review [Thu, 6 Aug 2009 05:06:40 +0000 (22:06 -0700)]
Merge change 20228 into donut
* changes:
add installing/upgrading docs for donut preview sdk and update eclipse ide doc to include new AVD Manager
Scott Main [Thu, 6 Aug 2009 02:31:00 +0000 (19:31 -0700)]
add installing/upgrading docs for donut preview sdk
and update eclipse ide doc to include new AVD Manager
Dirk Dougherty [Thu, 6 Aug 2009 02:54:52 +0000 (19:54 -0700)]
Cleanup - Specify the version and rel id.
Bug:
2031559
Dirk Dougherty [Thu, 6 Aug 2009 02:31:13 +0000 (19:31 -0700)]
Add 3->donut diff report to SDK docs.
Bug:
2031559
Android (Google) Code Review [Thu, 6 Aug 2009 01:34:55 +0000 (18:34 -0700)]
Merge change 20140 into donut
* changes:
Work on issue #
2030135: Device sluggish
Android (Google) Code Review [Thu, 6 Aug 2009 00:49:41 +0000 (17:49 -0700)]
Merge change 20144 into donut
* changes:
Remove flaky MonitorTest#testInterrupt from continuous, and attempt to make AutoCompletePopup tests more reliable.
Dianne Hackborn [Wed, 5 Aug 2009 19:26:15 +0000 (12:26 -0700)]
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.
Android (Google) Code Review [Wed, 5 Aug 2009 22:42:54 +0000 (15:42 -0700)]
Merge change 20037 into donut
* changes:
fix issue with gids not being added for packages with shared user id