1515 Commits

Author SHA1 Message Date
jsh
52f2825c29 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).
2009-06-08 16:05:00 -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
Android (Google) Code Review
bdf90a08a2 Merge change 3462 into donut
* changes:
  Capture the memory output before the playback and record start.
2009-06-08 11:56:53 -07:00
Yu Shan Emily Lau
32e959163f Capture the memory output before the playback and record start. 2009-06-08 11:29:55 -07:00
Robert Greenwalt
fa5c7e1dfe 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.
2009-06-08 09:10:29 -07:00
Mitsuru Oshima
409895e374 Moved error status from SpeechServiceRecognizerListener 2009-06-08 02:28:04 -07:00
Android (Google) Code Review
1e3d1b4b83 Merge change 3107 into donut
* changes:
  Motorola changes from 090602 through 090605
2009-06-07 22:48:29 -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
Android (Google) Code Review
9d9953d94d Merge change 3420 into donut
* changes:
  LocationManagerService: Remove some unneeded imports.
2009-06-07 20:30:45 -07:00
Mike Lockwood
6ba283f726 LocationManagerService: Remove some unneeded imports.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-06-07 23:29:25 -04: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
Android (Google) Code Review
da55569b0a Merge change 3417 into donut
* changes:
  Adjust IBackupTransport interface
2009-06-07 14:10:31 -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
Guang Zhu
7757656a11 Changed logic to handle timeout pages. 2009-06-07 13:12:20 -07:00
Wink Saville
22ccaf5321 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.
2009-06-07 12:09:18 -07:00
Android (Google) Code Review
19cd309f9e Merge change 3017 into donut
* changes:
  Add the EAP related fields for WiFi configuration.
2009-06-05 19:55:44 -07:00
Christopher Tate
6fa9597690 Apply OOM adjustment while an app is undergoing backup 2009-06-05 18:45:34 -07:00
Robert Greenwalt
1aa8170e6a 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
2009-06-05 16:09:24 -07:00
Android (Google) Code Review
5d16ac5eb6 Merge change 3374 into donut
* changes:
  Fix tracking of backup participants across package remove/update
2009-06-05 16:07:56 -07:00
Android (Google) Code Review
e3523054de Merge change 3356 into donut
* changes:
  Cleaning up comments in interface for TTS engines.
2009-06-05 15:55:24 -07:00
Jean-Michel Trivi
6270d6100e Cleaning up comments in interface for TTS engines. 2009-06-05 15:49:28 -07:00
Android (Google) Code Review
4e0b13c9a9 Merge change 3348 into donut
* changes:
  Fix AlphabetIndexer.getSectionForPosition()
2009-06-05 14:53:00 -07:00
Android (Google) Code Review
327da854e8 Merge change 3344 into donut
* changes:
  Updating TtsEngine.h and SynthProxy.cpp so that buffer memory management is handled on the system side.
2009-06-05 14:11:08 -07:00
Christopher Tate
cd4ff2e72d Fix tracking of backup participants across package remove/update 2009-06-05 14:03:25 -07:00
Charles Chen
83e712a142 Updating TtsEngine.h and SynthProxy.cpp so that buffer memory
management is handled on the system side.
2009-06-05 13:58:33 -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
b1c2874790 Merge change 3305 into donut
* changes:
  Fix parameter mismatch for a couple of RIL commands.
2009-06-05 13:34:25 -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
Android (Google) Code Review
47538fe613 Merge change 3337 into donut
* changes:
  Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8]
2009-06-05 13:15:26 -07:00
Xavier Ducrohet
1741ec39a9 Fix external bug 2875: Matrix#mValues[7] assigned twice in place of mValues[8] 2009-06-05 12:58:29 -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
jsh
9c9151eccd 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.
2009-06-05 10:03:17 -07:00
Satish Sampath
0e74aa0f7e Fix broken Searchables unit tests.
The newly added code was using methods which were not overridden by the unit test, fixed now.
2009-06-05 15:40:49 +01: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
Android (Google) Code Review
2f1b422dc8 Merge change 3249 into donut
* changes:
  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-04 17:54:44 -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
Christopher Tate
0032ce80ac Fix back_up_files() error detection when opening/CRCing the file 2009-06-04 17:02:56 -07:00
Android (Google) Code Review
54de90635e Merge change 3243 into donut
* changes:
  Fix backup agent unbind
2009-06-04 16:01:41 -07:00
Ken Shirriff
7a9e348c07 Don't crash on null edit url.
bug=1568060
2009-06-04 15:59:48 -07:00
Android (Google) Code Review
12bba91223 Merge change 3238 into donut
* changes:
  Browser edit fields should report variation WEB_EDIT_TEXT.
2009-06-04 15:50:05 -07:00
Android (Google) Code Review
35c4668085 Merge change 3226 into donut
* changes:
  Update a javadoc comment suggesting the use of a deprecated class.
2009-06-04 15:45:22 -07:00
Android (Google) Code Review
ad8a510fcc Merge change 3227 into donut
* changes:
  Fix int to string mapping of exported properties. The value generated by the mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
2009-06-04 15:12:06 -07:00