OSDN Git Service
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
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.
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.
Hung-ying Tyan [Wed, 3 Jun 2009 15:56:34 +0000 (23:56 +0800)]
First-time check-in of the VPN APIs.
Patch Set 2:
- Fixed style issues raised by cywang.
Patch Set 3:
- Hide everything
- Make VpnProfile parcelable
Patch Set 4:
- Add license notice
Charles Chen [Tue, 9 Jun 2009 01:20:38 +0000 (18:20 -0700)]
Simplify the TTS for Donut release
Jean-Michel Trivi [Tue, 9 Jun 2009 00:37:25 +0000 (17:37 -0700)]
In Tts class, removing method to set the specific engine to use as the
framework is always using the engine selected in the Text-To-Speech service.
Android (Google) Code Review [Tue, 9 Jun 2009 00:27:18 +0000 (17:27 -0700)]
Merge change 3491 into donut
* changes:
Moving the Tts java class from the android.tts package to the android.speech.tts package. The Tts class (still hidden at this point) is the only Text-To-Speech class that will be exposed to application developers.
Android (Google) Code Review [Mon, 8 Jun 2009 23:41:40 +0000 (16:41 -0700)]
Merge change 3506 into donut
* changes:
Revamp IRestoreSession a bit
Jean-Michel Trivi [Mon, 8 Jun 2009 22:21:46 +0000 (15:21 -0700)]
Moving the Tts java class from the android.tts package to the android.speech.tts package.
The Tts class (still hidden at this point) is the only Text-To-Speech class that will be
exposed to application developers.
Android (Google) Code Review [Mon, 8 Jun 2009 23:20:55 +0000 (16:20 -0700)]
Merge change 3479 into donut
* changes:
Report device storage status (for SMS) to RIL.
jsh [Fri, 5 Jun 2009 23:09:38 +0000 (16:09 -0700)]
Report device storage status (for SMS) to RIL.
Indicate SMS memory available/not available based on DEVICE_STORAGE_OK/FULL
intents, and immediately NAK with MEMORY_FULL if we've received a
DEVICE_STORAGE_FULL notification.
This may end up being a short term solution, as the messaging app is
getting re-worked in Eclair, which may change the way we want to handle
memory full reporting (ie, more app involvement).
Christopher Tate [Mon, 8 Jun 2009 22:24:01 +0000 (15:24 -0700)]
Revamp IRestoreSession a bit
We now supply an array of RestoreSet objects instead of wacky Bundle
shenanigans. Also, pushed beginRestoreSession() out to the BackupManager
concrete interface class so that SetupWizard can use it.
(beginRestoreSession() is @hide, non-privileged apps cannot use it. It's
also guarded by android.permission.BACKUP enforcement.)
Android (Google) Code Review [Mon, 8 Jun 2009 22:58:21 +0000 (15:58 -0700)]
Merge change 1548 into donut
* changes:
NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
Android (Google) Code Review [Mon, 8 Jun 2009 21:59:13 +0000 (14:59 -0700)]
Merge change 3480 into donut
* changes:
Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
Romain Guy [Mon, 8 Jun 2009 21:47:01 +0000 (14:47 -0700)]
Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
Android (Google) Code Review [Mon, 8 Jun 2009 20:28:01 +0000 (13:28 -0700)]
Merge change 3471 into donut
* changes:
Fix contact creation.
Android (Google) Code Review [Mon, 8 Jun 2009 20:06:30 +0000 (13:06 -0700)]
Merge change 3431 into donut
* changes:
Moved error status from SpeechServiceRecognizerListener
Ken Shirriff [Mon, 8 Jun 2009 19:52:50 +0000 (12:52 -0700)]
Fix contact creation.
This was broken by my change 2934.
bug=
1903820
Android (Google) Code Review [Mon, 8 Jun 2009 18:56:53 +0000 (11:56 -0700)]
Merge change 3462 into donut
* changes:
Capture the memory output before the playback and record start.
Yu Shan Emily Lau [Mon, 8 Jun 2009 18:29:55 +0000 (11:29 -0700)]
Capture the memory output before the playback and record start.
Robert Greenwalt [Sat, 6 Jun 2009 01:53:26 +0000 (18:53 -0700)]
Catch when a file resource (non values) added in an overlay.
File resources are assigned resource id's and if an overlay adds one
it renumbers things and breaks compatability. Used to segfault
if you tried before, but now catches it and lets you know what file
caused the problem.
Jianhong Jiang [Mon, 8 Jun 2009 15:50:42 +0000 (08:50 -0700)]
NJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
Mitsuru Oshima [Mon, 8 Jun 2009 09:26:34 +0000 (02:26 -0700)]
Moved error status from SpeechServiceRecognizerListener
Chung-yih Wang [Mon, 8 Jun 2009 08:34:54 +0000 (16:34 +0800)]
First version of the keystore service.
The keystore service is protected by the user 'keystore'. Only keystore
user/group can access the key content. All users are able to do the
following commands from shell as well:
listcerts
listuserkeys
installcert
removecert
installuserkey
removeuserkey
Android (Google) Code Review [Mon, 8 Jun 2009 05:48:29 +0000 (22:48 -0700)]
Merge change 3107 into donut
* changes:
Motorola changes from 090602 through 090605
Android (Google) Code Review [Mon, 8 Jun 2009 04:42:14 +0000 (21:42 -0700)]
Merge change 3422 into donut
* changes:
Check AirplaneMode when enabling Bluetooth has finished.
Daisuke Miyakawa [Mon, 8 Jun 2009 03:55:56 +0000 (12:55 +0900)]
Check AirplaneMode when enabling Bluetooth has finished.
This is part of manual merge from cupcake_dcm to donut.
Should be reviewed by mchan and takaoka.
Original internal CL: 149471-p9
Android (Google) Code Review [Mon, 8 Jun 2009 03:30:45 +0000 (20:30 -0700)]
Merge change 3420 into donut
* changes:
LocationManagerService: Remove some unneeded imports.
Mike Lockwood [Mon, 8 Jun 2009 03:29:25 +0000 (23:29 -0400)]
LocationManagerService: Remove some unneeded imports.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Christopher Tate [Mon, 8 Jun 2009 02:33:20 +0000 (19:33 -0700)]
Add IRestoreSession interface for the restore flow
Restore is a fairly complicated, somewhat stateful process, so we introduce
a new interface to encapsulate the various bits and pieces into a nicely
separable component. In particular, this will make it much cleaner to
open and interrogate an expensive-to-construct transport and then reuse it
for the actual restore process itself.
Christopher Tate [Sun, 7 Jun 2009 22:19:32 +0000 (15:19 -0700)]
Add rough-draft restore API set to IBackupTransport
* getAvailableBackups returns the list of backup sets available for restore
* getAppSet() returns the set of apps available from a given backup set
* getRestoreData() streams the full backup data for a given application
(within a given backup set) into a FD; that data will be handed to the
app's backup agent for processing.
Android (Google) Code Review [Sun, 7 Jun 2009 21:10:31 +0000 (14:10 -0700)]
Merge change 3417 into donut
* changes:
Adjust IBackupTransport interface
Christopher Tate [Sun, 7 Jun 2009 20:52:37 +0000 (13:52 -0700)]
Adjust IBackupTransport interface
Instead of just passing a package name to performBackup, pass the whole
PackageInfo struct, explicitly including the list of signatures for the package.
No need to make each transport look this up individually when it's a necessary
part of the backup payload for each app.
Guang Zhu [Sun, 7 Jun 2009 20:12:20 +0000 (13:12 -0700)]
Changed logic to handle timeout pages.
Wink Saville [Sun, 7 Jun 2009 19:09:18 +0000 (12:09 -0700)]
Motorola changes from 090602 through 090605
The changes from 090602 update frameworks/base to support 3way calling
and call waiting.
The changes from 090603 completed the CdmaInformationRecords class
but the original changes submitted has been simplified, toString added
and a bug fixed where the notifications where not being handled properly.
The changes from 090605 added Prl Version, apn fixes.
Android (Google) Code Review [Sat, 6 Jun 2009 02:55:44 +0000 (19:55 -0700)]
Merge change 3017 into donut
* changes:
Add the EAP related fields for WiFi configuration.
Christopher Tate [Sat, 6 Jun 2009 01:43:55 +0000 (18:43 -0700)]
Apply OOM adjustment while an app is undergoing backup
Robert Greenwalt [Fri, 5 Jun 2009 22:59:15 +0000 (15:59 -0700)]
Add per-named-item overlay ability in res xml.
Fixes
1899451.
Also errors out if you add a bag via an overlay (which would renumber
resources). Note that you can still add elements within the bag as they are
not issued resource IDs. So for example you can now modify the framework
themes.xml file without copying the entire file.
All bag types are now modifable except non-named bag types (how would you
address which element to replace?):
array
string_array
integer_array
Android (Google) Code Review [Fri, 5 Jun 2009 23:07:56 +0000 (16:07 -0700)]
Merge change 3374 into donut
* changes:
Fix tracking of backup participants across package remove/update
Android (Google) Code Review [Fri, 5 Jun 2009 22:55:24 +0000 (15:55 -0700)]
Merge change 3356 into donut
* changes:
Cleaning up comments in interface for TTS engines.
Jean-Michel Trivi [Fri, 5 Jun 2009 22:01:33 +0000 (15:01 -0700)]
Cleaning up comments in interface for TTS engines.
Android (Google) Code Review [Fri, 5 Jun 2009 21:53:00 +0000 (14:53 -0700)]
Merge change 3348 into donut
* changes:
Fix AlphabetIndexer.getSectionForPosition()
Android (Google) Code Review [Fri, 5 Jun 2009 21:11:08 +0000 (14:11 -0700)]
Merge change 3344 into donut
* changes:
Updating TtsEngine.h and SynthProxy.cpp so that buffer memory management is handled on the system side.
Christopher Tate [Fri, 5 Jun 2009 20:57:54 +0000 (13:57 -0700)]
Fix tracking of backup participants across package remove/update
Charles Chen [Fri, 5 Jun 2009 20:58:33 +0000 (13:58 -0700)]
Updating TtsEngine.h and SynthProxy.cpp so that buffer memory
management is handled on the system side.
Suchi Amalapurapu [Fri, 5 Jun 2009 17:26:19 +0000 (10:26 -0700)]
Add a new attribute to android manifest for defining the GLES version number.
This attribute is parsed by the PackageParser into ConfigurationInfo. The major
and minor version numbers are defined as the higher and lower order bits.
Android (Google) Code Review [Fri, 5 Jun 2009 20:34:25 +0000 (13:34 -0700)]
Merge change 3305 into donut
* changes:
Fix parameter mismatch for a couple of RIL commands.
Android (Google) Code Review [Fri, 5 Jun 2009 20:29:21 +0000 (13:29 -0700)]
Merge change 3223 into donut
* changes:
Adding new Settings.Secure properties for the Text-To-Speech functionality. Those properties are secure to prevent applications from altering the user's settings without his knowledge.
Android (Google) Code Review [Fri, 5 Jun 2009 20:15:26 +0000 (13:15 -0700)]
Merge change 3337 into donut
* changes:
Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
Xavier Ducrohet [Fri, 5 Jun 2009 19:55:14 +0000 (12:55 -0700)]
Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
Phil Dubach [Fri, 5 Jun 2009 19:27:59 +0000 (12:27 -0700)]
Fix AlphabetIndexer.getSectionForPosition()
This did not properly set the cursor position before reading, which
resulted in wrong return values or exceptions in the cursor.
Jean-Michel Trivi [Thu, 4 Jun 2009 21:55:24 +0000 (14:55 -0700)]
Adding new Settings.Secure properties for the Text-To-Speech functionality.
Those properties are secure to prevent applications from altering the user's settings without his knowledge.
Android (Google) Code Review [Fri, 5 Jun 2009 18:27:52 +0000 (11:27 -0700)]
Merge change 3317 into donut
* changes:
Fixes #
1899273.
Romain Guy [Fri, 5 Jun 2009 18:24:09 +0000 (11:24 -0700)]
Fixes #
1899273.
When a "ghost" stroke was showing, events would be intercepted in ListView. This patch modifies the logic used to detect when to still events: either the current stroke is a gesture, or the previous stroke was a gesture.
Android (Google) Code Review [Fri, 5 Jun 2009 17:12:34 +0000 (10:12 -0700)]
Merge change 2934 into donut
* changes:
Don't crash on null edit url.
jsh [Fri, 5 Jun 2009 17:03:17 +0000 (10:03 -0700)]
Fix parameter mismatch for a couple of RIL commands.
Both RIL_REQUEST_SET_SMSC_ADDRESS and RIL_REQUEST_CDMA_FLASH take a string
as a parameter. But RIL.java was sending down an array of strings with a
single element instead.
Satish Sampath [Fri, 5 Jun 2009 14:04:32 +0000 (15:04 +0100)]
Fix broken Searchables unit tests.
The newly added code was using methods which were not overridden by the unit test, fixed now.