OSDN Git Service
Christopher Tate [Fri, 12 Jun 2009 19:55:53 +0000 (12:55 -0700)]
Journal backup requests so that they won't be lost in a crash
When an application requests a backup via dataChanged(), we now journal that
fact on disk. The journal persists and is only removed following a successful
backup pass. When the backup manager is started at boot time, it looks for any
existing journal files and schedules a backup for the apps listed in them, on
the expectation that the device shut down or crashed before a backup could be
performed.
Android (Google) Code Review [Thu, 11 Jun 2009 18:27:53 +0000 (11:27 -0700)]
Merge change 3015 into donut
* changes:
make sms calculateLength radio-independent
Android (Google) Code Review [Thu, 11 Jun 2009 18:26:49 +0000 (11:26 -0700)]
Merge change 3828 into donut
* changes:
Renaming the Tts class to TextToSpeech for clarity. Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.
Android (Google) Code Review [Thu, 11 Jun 2009 16:54:58 +0000 (09:54 -0700)]
Merge change 3899 into donut
* changes:
GpsLocationProvider: Add hooks for GPS location injection.
Mike Lockwood [Thu, 11 Jun 2009 16:25:46 +0000 (12:25 -0400)]
GpsLocationProvider: Add hooks for GPS location injection.
This will allow injecting cell ID location to the GPS
(not implemented yet).
Signed-off-by: Mike Lockwood <lockwood@android.com>
Satish Sampath [Thu, 11 Jun 2009 15:33:05 +0000 (16:33 +0100)]
NEW_API: Expose queryAfterZeroResults searchable attribute.
If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session.
If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization.
The default value is false.
Satish Sampath [Thu, 11 Jun 2009 13:05:51 +0000 (14:05 +0100)]
Added attribute queryAfterZeroResults to searchables.
As of now we are just reading it from the xml and not acting upon it, that would come in a subsequent change.
Android (Google) Code Review [Thu, 11 Jun 2009 11:53:01 +0000 (04:53 -0700)]
Merge change 3879 into donut
* changes:
ACTV: getWindowVisibility() instead of private attach count
Bjorn Bringert [Thu, 11 Jun 2009 11:30:48 +0000 (12:30 +0100)]
ACTV: getWindowVisibility() instead of private attach count
When debugging a problem with the search dialog drop-down
sometimes not showing up, I saw that the mAttachCount variable
in AutoCompleteTextView could get a negative value because
onDetachedFromWindow() was called multiple times. This lead to
the drop-down not being displayed on filtering.
Instead of the private attach count in ACTV, this change
uses View.getWindowVisibility().
Android (Google) Code Review [Thu, 11 Jun 2009 09:37:01 +0000 (02:37 -0700)]
Merge change 3709 into donut
* changes:
Provide the Keystore feature in the framework.
Chung-yih Wang [Wed, 10 Jun 2009 10:45:14 +0000 (18:45 +0800)]
Provide the Keystore feature in the framework.
-- added the keystore library for Java application.
-- changed the marshalling of the keystore function return.
Satish Sampath [Thu, 11 Jun 2009 00:28:13 +0000 (01:28 +0100)]
Fix display of the selection background for search results.
I've used a simple approach of not drawing the solid background color for the selected item, thereby letting the default selection background to show through properly. This works by using the item's 'pressed' state and redraw code which are used by the listview during the tapping operation.
Android (Google) Code Review [Thu, 11 Jun 2009 07:59:06 +0000 (00:59 -0700)]
Merge change 3800 into donut
* changes:
Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager for use in implementing Google suggestion refreshing in global search.
Tammo Spalink [Wed, 3 Jun 2009 06:30:15 +0000 (14:30 +0800)]
make sms calculateLength radio-independent
Scott Main [Thu, 11 Jun 2009 07:01:42 +0000 (00:01 -0700)]
am
aa25df24: AI 149729: fix search functionatilty for offline docs... the file references weren\'t using the local root. BUG=
1909300
Merge commit '
aa25df2452f68d2f732ad620a97fd47b3802fa2e' into donut
* commit '
aa25df2452f68d2f732ad620a97fd47b3802fa2e':
AI 149729: fix search functionatilty for offline docs...
Scott Main [Thu, 11 Jun 2009 06:40:25 +0000 (23:40 -0700)]
AI 149729: fix search functionatilty for offline docs...
the file references weren't using the local root.
BUG=
1909300
Automated import of CL 149729
Jean-Michel Trivi [Thu, 11 Jun 2009 00:33:34 +0000 (17:33 -0700)]
Renaming the Tts class to TextToSpeech for clarity.
Switching to HashMap for parameter lists to pass key-value parameter pairs.
Using TODO instead of FIXME in comments.
Removing methods that don't belong anymore to the TTS interface now the feature
becomes part of the platform.
Christopher Tate [Thu, 11 Jun 2009 03:23:25 +0000 (20:23 -0700)]
Flesh out restore interface on manager; work up most of LocalTransport
Android (Google) Code Review [Thu, 11 Jun 2009 02:50:22 +0000 (19:50 -0700)]
Merge change 3857 into donut
* changes:
Allow arrays of values for power profile data.
Amith Yamasani [Tue, 9 Jun 2009 13:32:35 +0000 (06:32 -0700)]
Allow arrays of values for power profile data.
Parse arrays for data that has different levels with non-linear
power increase.
Track radio data awake_time from kernel and mobile/total data
transfers.
Use dummy values for default power_profile.xml. Actual values will
be in a product overlay.
Jean-Michel Trivi [Thu, 11 Jun 2009 01:38:50 +0000 (18:38 -0700)]
Made the platform TTS service aware of the path for the default TTS library to load.
Android (Google) Code Review [Thu, 11 Jun 2009 00:32:21 +0000 (17:32 -0700)]
Merge change 3826 into donut
* changes:
LocationManagerService: Fix logic error removing multiple dead receivers.
Simon Schoar [Wed, 10 Jun 2009 19:12:10 +0000 (21:12 +0200)]
LocationManagerService: Fix logic error removing multiple dead receivers.
If multiple receivers are dead, only the first one will be added.
found in http://code.google.com/p/android/issues/detail?id=2651
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Thu, 11 Jun 2009 00:10:05 +0000 (17:10 -0700)]
Merge change 3799 into donut
* changes:
Turned on the windows media related test cases as the binary already integrated.
Christopher Tate [Wed, 10 Jun 2009 22:49:30 +0000 (15:49 -0700)]
The rest of the basic flow for restore
Also moved the processOneBackup() implementation into the Thread class that runs
the backup sequence.
Mike LeBeau [Wed, 10 Jun 2009 22:47:54 +0000 (23:47 +0100)]
Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager
for use in implementing Google suggestion refreshing in global search.
Android (Google) Code Review [Wed, 10 Jun 2009 23:38:12 +0000 (16:38 -0700)]
Merge change 3806 into donut
* changes:
Fix a couple null pointer exceptions in CDMA voice call handling.
Android (Google) Code Review [Wed, 10 Jun 2009 23:24:01 +0000 (16:24 -0700)]
Merge change 3795 into donut
* changes:
URI/extra data for inline scheme.
Yu Shan Emily Lau [Wed, 10 Jun 2009 22:46:32 +0000 (15:46 -0700)]
Turned on the windows media related test cases as the binary already integrated.
Mitsuru Oshima [Wed, 10 Jun 2009 04:16:08 +0000 (21:16 -0700)]
resolution support fix/improvement
* adding compatibility menu
* backup gravity
* set expanable=true if the screen size is hvga * density.
* added "supports any density" mode. I'll add sdk check later.
* disallow to catch orientation change event if the app is not expandable. This
was causing layout problem under non-expandable mode. I discussed this with Mike C
and we agreed to do this approach for now. We'll revisit if this causes problem to
a lot of applications.
Android (Google) Code Review [Wed, 10 Jun 2009 22:20:55 +0000 (15:20 -0700)]
Merge change 3782 into donut
* changes:
Reimport Portuguese translations.
Mitsuru Oshima [Wed, 10 Jun 2009 22:18:08 +0000 (15:18 -0700)]
URI/extra data for inline scheme.
Android (Google) Code Review [Wed, 10 Jun 2009 22:17:15 +0000 (15:17 -0700)]
Merge change 3777 into donut
* changes:
Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
Android (Google) Code Review [Wed, 10 Jun 2009 22:11:52 +0000 (15:11 -0700)]
Merge change 3765 into donut
* changes:
Add a gservices flag to limit the size of protobufs we can gzip
Android (Google) Code Review [Wed, 10 Jun 2009 22:09:37 +0000 (15:09 -0700)]
Merge change 3730 into donut
* changes:
Restructuring the TTS files so that it works as a Service
Eric Fischer [Wed, 10 Jun 2009 22:08:06 +0000 (15:08 -0700)]
Reimport Portuguese translations.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3760 into donut
* changes:
Enable HierarchyViewer on debuggable builds, even if they're secure.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3761 into donut
* changes:
Added support to record page load time for each url.
Android (Google) Code Review [Wed, 10 Jun 2009 22:03:06 +0000 (15:03 -0700)]
Merge change 3754 into donut
* changes:
Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Cynthia Wong [Wed, 10 Jun 2009 21:42:42 +0000 (14:42 -0700)]
Add a gservices flag to limit the size of protobufs we can gzip
Romain Guy [Wed, 10 Jun 2009 20:36:04 +0000 (13:36 -0700)]
Enable HierarchyViewer on debuggable builds, even if they're secure.
That will let us (finally) use the tool on userdebug builds.
Wink Saville [Wed, 10 Jun 2009 21:35:28 +0000 (14:35 -0700)]
Fix a couple null pointer exceptions in CDMA voice call handling.
Guang Zhu [Wed, 10 Jun 2009 20:37:03 +0000 (13:37 -0700)]
Added support to record page load time for each url.
Charles Chen [Wed, 10 Jun 2009 17:39:55 +0000 (10:39 -0700)]
Restructuring the TTS files so that it works as a Service
Eric Fischer [Wed, 10 Jun 2009 19:10:22 +0000 (12:10 -0700)]
Fix some 12- vs 24-hour problems in the FormatDateRange strings.
Use a resource instead of a hardcoded string for the 24-hour format
since it is not exactly the same in every locale.
Make sure the 12-hour format is actually for a 12-hour clock, even in
locales where this is not a normal thing to do. In the cap_ampm version,
do not have it try to capitalize "am" and "pm" if these are non-ASCII
strings, since strftime() doesn't know about Unicode and will mess it up.
Add a comment so that people don't think the YEAR_IN_MILLIS constant is
actually the length of any real year.
Android (Google) Code Review [Wed, 10 Jun 2009 19:36:45 +0000 (12:36 -0700)]
Merge change 3577 into donut
* changes:
Make aapt Error out when an overlay adds a string.
Eric Fischer [Wed, 10 Jun 2009 19:32:04 +0000 (12:32 -0700)]
am
a8c3821e: AI 149721: Import Portuguese translations.
Merge commit '
a8c3821e5a9017b557744bf3439b0cde5ace86db' into donut
* commit '
a8c3821e5a9017b557744bf3439b0cde5ace86db':
AI 149721: Import Portuguese translations.
Jaikumar Ganesh [Wed, 10 Jun 2009 19:25:02 +0000 (12:25 -0700)]
Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.
Eric Fischer [Wed, 10 Jun 2009 19:25:58 +0000 (12:25 -0700)]
AI 149721: Import Portuguese translations.
Automated import of CL 149721
Android (Google) Code Review [Wed, 10 Jun 2009 18:41:49 +0000 (11:41 -0700)]
Merge change 2900 into donut
* changes:
Add support for custom tab views in TabHost and TabWidget.
Jack Veenstra [Tue, 2 Jun 2009 04:27:01 +0000 (21:27 -0700)]
Add support for custom tab views in TabHost and TabWidget.
This change adds the ability to specify an arbitrary view for a tab
indicator. It also adds support for specifying a drawable to use as
the divider between tab views.
Android (Google) Code Review [Wed, 10 Jun 2009 18:35:43 +0000 (11:35 -0700)]
Merge change 3178 into donut
* changes:
Add additional parameters to SETUP_DATA_CALL and SMS response.
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:58 +0000 (11:07 -0700)]
Merge change 3726 into donut
* changes:
ActivityManager: Ensure that we clear the calling process identity around calls to Process.setProcessGroup().
Android (Google) Code Review [Wed, 10 Jun 2009 18:07:52 +0000 (11:07 -0700)]
Merge change 3725 into donut
* changes:
process: Clean up cgroup management
Android (Google) Code Review [Wed, 10 Jun 2009 18:05:05 +0000 (11:05 -0700)]
Merge change 3724 into donut
* changes:
zygote: Add CAP_SYS_NICE to system server capabilities
Jaikumar Ganesh [Thu, 4 Jun 2009 18:35:32 +0000 (11:35 -0700)]
Add additional parameters to SETUP_DATA_CALL and SMS response.
1. The authType should be specified in the APN database.
This was hardcoded to 3 in the qmi driver. We currently set it to
3 in the RIL till the apn database side changes are done.
2. RIL_SEND_SMS response has errorCode as a new field,
Christopher Tate [Wed, 10 Jun 2009 03:45:02 +0000 (20:45 -0700)]
More restore plumbing, plus add suggested-backoff to transport API
Adds most of the code for a background-thread restore process, structured much
like the backup thread. Broke some common functionality out into a helper
function for doing a synchronous wait for a requested agent to attach.
Added a method to IBackupTransport whereby the transport will be asked for
an opinion on whether this is a good time for a backup to happen. It will
reply with the results of its policymaking around backoff intervals, time-of-day
selection, etc.
Android (Google) Code Review [Wed, 10 Jun 2009 17:50:28 +0000 (10:50 -0700)]
Merge change 3686 into donut
* changes:
Fix cleanupConnection when switching from wifi.
Android (Google) Code Review [Wed, 10 Jun 2009 17:02:07 +0000 (10:02 -0700)]
Merge change 3676 into donut
* changes:
Get the FormatDateRange tests passing again.
San Mehat [Wed, 10 Jun 2009 16:11:28 +0000 (09:11 -0700)]
ActivityManager: Ensure that we clear the calling process identity around calls to Process.setProcessGroup().
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 10 Jun 2009 16:10:42 +0000 (09:10 -0700)]
process: Clean up cgroup management
Signed-off-by: San Mehat <san@google.com>
San Mehat [Wed, 10 Jun 2009 16:09:51 +0000 (09:09 -0700)]
zygote: Add CAP_SYS_NICE to system server capabilities
Signed-off-by: San Mehat <san@google.com>
Android (Google) Code Review [Wed, 10 Jun 2009 15:01:20 +0000 (08:01 -0700)]
Merge change 2411 into donut
* changes:
Manual merge from cupcake_dcm. Need to be reviewed by enf.
Android (Google) Code Review [Wed, 10 Jun 2009 13:31:33 +0000 (06:31 -0700)]
Merge change 3715 into donut
* changes:
Show progress spinner while waiting for results in in app search.
Karl Rosaen [Wed, 10 Jun 2009 12:26:13 +0000 (13:26 +0100)]
Show progress spinner while waiting for results in in app search.
Satish Sampath [Wed, 10 Jun 2009 11:03:47 +0000 (12:03 +0100)]
In SearchablesTest, use the always available globalsearch.
The earlier used googlesearch package may not be available in some devices so switching to globalsearch which has searchable info relevant for this unit test.
Android (Google) Code Review [Wed, 10 Jun 2009 09:43:11 +0000 (02:43 -0700)]
Merge change 3702 into donut
* changes:
Change exceptions to RuntimeException.
Wu-cheng Li [Wed, 10 Jun 2009 08:55:39 +0000 (16:55 +0800)]
Change exceptions to RuntimeException.
This is to follow hardware/Cmaera.java because those exceptiones are not declared to be thrown.
Android (Google) Code Review [Wed, 10 Jun 2009 08:22:48 +0000 (01:22 -0700)]
Merge change 3701 into donut
* changes:
Fix the way gestures are rasterized to bitmaps.
Romain Guy [Wed, 10 Jun 2009 08:21:20 +0000 (01:21 -0700)]
Fix the way gestures are rasterized to bitmaps.
It was just not working with multiple strokes.
Android (Google) Code Review [Wed, 10 Jun 2009 07:18:39 +0000 (00:18 -0700)]
Merge change 3551 into donut
* changes:
Allow the owner to reconnect to Camera.
Romain Guy [Tue, 9 Jun 2009 19:56:34 +0000 (12:56 -0700)]
Add support for gestures in Home.
Adds a new animation style for the gestures pad, and de-normalize
the scores in the recognition engine.
Jaikumar Ganesh [Wed, 10 Jun 2009 04:09:06 +0000 (21:09 -0700)]
Fix cleanupConnection when switching from wifi.
Post a message for tearDown data connection when switching from wifi.
Android (Google) Code Review [Wed, 10 Jun 2009 03:44:16 +0000 (20:44 -0700)]
Merge change 3644 into donut
* changes:
Print a message to the log when a file can't be opened on the client side.
Android (Google) Code Review [Wed, 10 Jun 2009 02:10:42 +0000 (19:10 -0700)]
Merge change 3427 into donut
* changes:
First version of the keystore service.
Eric Fischer [Wed, 10 Jun 2009 01:30:34 +0000 (18:30 -0700)]
Get the FormatDateRange tests passing again.
This fixes a few places that were accidentally using the wrong numbered
parameter in the format call. It also makes other adjustments so that
the formats for English are exactly the same as they were in Cupcake.
Android (Google) Code Review [Wed, 10 Jun 2009 00:56:03 +0000 (17:56 -0700)]
Merge change 3593 into donut
* changes:
Cleanup whitespace.
Android (Google) Code Review [Wed, 10 Jun 2009 00:46:12 +0000 (17:46 -0700)]
Merge change 3652 into donut
* changes:
Adding default text-to-speech language in Settings.Secure.
Robert Greenwalt [Tue, 9 Jun 2009 16:14:20 +0000 (09:14 -0700)]
Make aapt Error out when an overlay adds a string.
Final added check (I think) for
1585775 - not letting overlays add
resources.
modified: ResourceTable.cpp
modified: ResourceTable.h
Jean-Michel Trivi [Tue, 9 Jun 2009 23:22:48 +0000 (16:22 -0700)]
Adding default text-to-speech language in Settings.Secure.
Marco Nelissen [Tue, 9 Jun 2009 22:49:23 +0000 (15:49 -0700)]
Print a message to the log when a file can't be opened on the client side.
Eric Fischer [Tue, 9 Jun 2009 21:51:16 +0000 (14:51 -0700)]
Regenerate all the date and time interval formats from CLDR data.
Android (Google) Code Review [Tue, 9 Jun 2009 19:45:35 +0000 (12:45 -0700)]
Merge change 3576 into donut
* changes:
Track clicks that occur after pivoting into an app from global search.
Karl Rosaen [Tue, 9 Jun 2009 16:05:54 +0000 (17:05 +0100)]
Track clicks that occur after pivoting into an app from global search.
(framework portion).
Global search has a write-only content provider for reporting clicks that SearchDialog
makes use of.
update: addressed code review feedback
Wink Saville [Tue, 9 Jun 2009 17:30:03 +0000 (10:30 -0700)]
Cleanup whitespace.
Satish Sampath [Tue, 9 Jun 2009 16:44:12 +0000 (17:44 +0100)]
Rename genieprovider to enhancedgooglesearch.
Android (Google) Code Review [Tue, 9 Jun 2009 15:15:14 +0000 (08:15 -0700)]
Merge change 3528 into donut
* changes:
Simplify the TTS for Donut release
Satish Sampath [Mon, 8 Jun 2009 22:10:40 +0000 (23:10 +0100)]
Adds UI support for custom search widget item backgrounds.
- A new column was added to SearchManager cursors to specify background color (optional)
- Two new colour references added to the theme for normal and search widget corpus items (we need both to be opaque for the items to render properly)
- SuggestionAdapter was updated to choose the right theme colour for each item
Romain Guy [Tue, 9 Jun 2009 11:36:14 +0000 (04:36 -0700)]
Add a hidden API to modify the paint used to draw gestures.
Romain Guy [Tue, 9 Jun 2009 11:15:22 +0000 (04:15 -0700)]
Fix several issues in the gestures libraries.
This mostly fixes how gestures libraries are saved and loaded.
Saving a library twice in a row was erasing the entire library,
which was preventing the sketch test app from working propertly.
Android (Google) Code Review [Tue, 9 Jun 2009 10:19:07 +0000 (03:19 -0700)]
Merge change 3561 into donut
* changes:
Fix multiple strokes support when fade is disabled. Multiple strokes would always be accepted after the first one.
Romain Guy [Tue, 9 Jun 2009 10:18:10 +0000 (03:18 -0700)]
Fix multiple strokes support when fade is disabled.
Multiple strokes would always be accepted after the first one.
Romain Guy [Tue, 9 Jun 2009 08:42:15 +0000 (01:42 -0700)]
Fix bug in saving gestures stores. The outputstream was wrapping itself, thus causing huge problems.
Romain Guy [Tue, 9 Jun 2009 05:36:10 +0000 (22:36 -0700)]
Removes gestures from ListView.
Romain Guy [Tue, 9 Jun 2009 06:23:15 +0000 (23:23 -0700)]
Fix the build
Android (Google) Code Review [Tue, 9 Jun 2009 06:04:21 +0000 (23:04 -0700)]
Merge change 3530 into donut
* changes:
Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
Wink Saville [Tue, 9 Jun 2009 05:59:41 +0000 (22:59 -0700)]
Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
These are used to notify the vendor ril that the StkService is
running and ready to receive RIL_UNSOL_STK_XXX commands.
Chih-Chung Chang [Tue, 9 Jun 2009 05:56:44 +0000 (13:56 +0800)]
Allow the owner to reconnect to Camera.
Raphael [Tue, 9 Jun 2009 05:05:22 +0000 (22:05 -0700)]
Fix broken makefile. Again. His twin brother was hiding.
Raphael [Tue, 9 Jun 2009 04:57:16 +0000 (21:57 -0700)]
Fix the broken makefile.