829 Commits

Author SHA1 Message Date
San Mehat
0cb53209c3 process: Clean up cgroup management
Signed-off-by: San Mehat <san@google.com>
2009-06-10 09:10:42 -07:00
San Mehat
1caefa6c40 zygote: Add CAP_SYS_NICE to system server capabilities
Signed-off-by: San Mehat <san@google.com>
2009-06-10 09:09:51 -07:00
Android (Google) Code Review
a32b5f3252 Merge change 2411 into donut
* changes:
  Manual merge from cupcake_dcm. Need to be reviewed by enf.
2009-06-10 08:01:20 -07:00
Android (Google) Code Review
09ea1e9cce Merge change 3715 into donut
* changes:
  Show progress spinner while waiting for results in in app search.
2009-06-10 06:31:33 -07:00
Karl Rosaen
048d1a4821 Show progress spinner while waiting for results in in app search. 2009-06-10 14:17:21 +01:00
Android (Google) Code Review
3b277c700e Merge change 3702 into donut
* changes:
  Change exceptions to RuntimeException.
2009-06-10 02:43:11 -07:00
Wu-cheng Li
ba55b3654b Change exceptions to RuntimeException.
This is to follow hardware/Cmaera.java because those exceptiones are not declared to be thrown.
2009-06-10 17:17:31 +08:00
Romain Guy
cfbe8cf878 Fix the way gestures are rasterized to bitmaps.
It was just not working with multiple strokes.
2009-06-10 01:21:20 -07:00
Romain Guy
0e1ca5749a Add support for gestures in Home.
Adds a new animation style for the gestures pad, and de-normalize
the scores in the recognition engine.
2009-06-09 22:58:46 -07:00
Eric Fischer
c110ec0ab6 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.
2009-06-09 18:30:34 -07:00
Android (Google) Code Review
3279fbad63 Merge change 3652 into donut
* changes:
  Adding default text-to-speech language in Settings.Secure.
2009-06-09 17:46:12 -07:00
Jean-Michel Trivi
f478267d6a Adding default text-to-speech language in Settings.Secure. 2009-06-09 16:22:48 -07:00
Eric Fischer
137c450366 Regenerate all the date and time interval formats from CLDR data. 2009-06-09 14:51:16 -07:00
Android (Google) Code Review
9d19fdb231 Merge change 3576 into donut
* changes:
  Track clicks that occur after pivoting into an app from global search.
2009-06-09 12:45:35 -07:00
Karl Rosaen
d4c98c4c45 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
2009-06-09 18:51:05 +01:00
Satish Sampath
4ab3c00993 Rename genieprovider to enhancedgooglesearch. 2009-06-09 17:44:46 +01:00
Satish Sampath
1c5fa0f310 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
2009-06-09 14:02:36 +01:00
Romain Guy
27a2b50ded Add a hidden API to modify the paint used to draw gestures. 2009-06-09 04:36:14 -07:00
Romain Guy
03f0b21b5a 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.
2009-06-09 04:15:22 -07:00
Android (Google) Code Review
2d2b23119f Merge change 3561 into donut
* changes:
  Fix multiple strokes support when fade is disabled. Multiple strokes would always be accepted after the first one.
2009-06-09 03:19:07 -07:00
Romain Guy
73d2589d6d Fix multiple strokes support when fade is disabled.
Multiple strokes would always be accepted after the first one.
2009-06-09 03:18:10 -07:00
Romain Guy
7fe416e943 Fix bug in saving gestures stores. The outputstream was wrapping itself, thus causing huge problems. 2009-06-09 01:42:15 -07:00
Romain Guy
f642aa2a44 Removes gestures from ListView. 2009-06-08 23:24:18 -07:00
Jean-Michel Trivi
bac43254b2 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.
2009-06-08 17:37:25 -07:00
Android (Google) Code Review
97d6f75646 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.
2009-06-08 17:27:18 -07:00
Jean-Michel Trivi
21a6a6d26b 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.
2009-06-08 16:39:01 -07:00
Christopher Tate
9b3905c4a2 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.)
2009-06-08 16:01:24 -07:00
Android (Google) Code Review
bad927a987 Merge change 3480 into donut
* changes:
  Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now.
2009-06-08 14:59:13 -07:00
Romain Guy
0a20264db8 Do not automatically enable gestures in list based on filtering/fastscroll status. Enable gestures in Contacts for now. 2009-06-08 14:47:01 -07:00
Android (Google) Code Review
410ea66256 Merge change 3471 into donut
* changes:
  Fix contact creation.
2009-06-08 13:28:01 -07:00
Android (Google) Code Review
996b1c8d68 Merge change 3431 into donut
* changes:
  Moved error status from SpeechServiceRecognizerListener
2009-06-08 13:06:30 -07:00
Ken Shirriff
e7eb9662c3 Fix contact creation.
This was broken by my change 2934.
bug=1903820
2009-06-08 12:52:50 -07:00
Mitsuru Oshima
409895e374 Moved error status from SpeechServiceRecognizerListener 2009-06-08 02:28:04 -07:00
Android (Google) Code Review
58c244125f Merge change 3422 into donut
* changes:
  Check AirplaneMode when enabling Bluetooth has finished.
2009-06-07 21:42:14 -07:00
Daisuke Miyakawa
5c43f735d9 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
2009-06-08 12:57:55 +09:00
Christopher Tate
8c850b792f 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.
2009-06-07 19:33:20 -07:00
Christopher Tate
b4a6188a74 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.
2009-06-07 15:30:44 -07:00
Christopher Tate
7b88128e08 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.
2009-06-07 13:55:42 -07:00
Android (Google) Code Review
4e0b13c9a9 Merge change 3348 into donut
* changes:
  Fix AlphabetIndexer.getSectionForPosition()
2009-06-05 14:53:00 -07:00
Suchi Amalapurapu
d299b8194d 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.
2009-06-05 13:49:09 -07:00
Android (Google) Code Review
7b0d2d933d 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.
2009-06-05 13:29:21 -07:00
Phil Dubach
1b111bb6e2 Fix AlphabetIndexer.getSectionForPosition()
This did not properly set the cursor position before reading, which
resulted in wrong return values or exceptions in the cursor.
2009-06-05 12:27:59 -07:00
Jean-Michel Trivi
f62ba452bb 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.
2009-06-05 11:29:16 -07:00
Android (Google) Code Review
3966536766 Merge change 3317 into donut
* changes:
  Fixes #1899273.
2009-06-05 11:27:52 -07:00
Romain Guy
834f0391b5 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.
2009-06-05 11:24:09 -07:00
Android (Google) Code Review
716b56817a Merge change 2934 into donut
* changes:
  Don't crash on null edit url.
2009-06-05 10:12:34 -07:00
Satish Sampath
f9acde2748 Include web search providers in Searchables.
- Along with ACTION_SEARCH we now enumate ACTION_WEB_SEARCH as well so web search providers are covered in the searchables list. This fixes a broken unit test.
- Moved get/setPreferredWebSearchActivity and get-all-web-search-providers implementation to this module when the searchables list gets updated, so that it happens on boot and on package add/remove events and remains up to date. The duplicate code in WebSearchProvider will be removed in a separate change.
- Also made Searchables broadcast an intent when the searchables list got rebuilt, so components such as GlobalSearch/SuggestionSources no longer need to do this on their own.
2009-06-05 10:34:53 +01:00
Android (Google) Code Review
7ebda6f110 Merge change 3265 into donut
* changes:
  A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
2009-06-04 18:59:10 -07:00
Mitsuru Oshima
2f5e6b2d31 A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..) 2009-06-04 18:06:27 -07:00
Mike LeBeau
48603e7fed Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
(in a follow-on change). This setting, to be respected by global search, and which
I will also file a bug to the browser to respect, determines whether live web
suggestions will be shown to the user as they type. For privacy reasons, this
could be considered undesirable, as partial queries can then be sent to the user's
chosen search engine, so a setting was required.
2009-06-05 01:07:20 +01:00