OSDN Git Service

android-x86/frameworks-base.git
15 years agoFix broken makefile. Again. His twin brother was hiding.
Raphael [Tue, 9 Jun 2009 05:05:22 +0000 (22:05 -0700)]
Fix broken makefile. Again. His twin brother was hiding.

15 years agoFix the broken makefile.
Raphael [Tue, 9 Jun 2009 04:57:16 +0000 (21:57 -0700)]
Fix the broken makefile.

15 years agoFirst-time check-in of the VPN APIs.
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

15 years agoIn Tts class, removing method to set the specific engine to use as the
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.

15 years agoMerge change 3491 into donut
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.

15 years agoMerge change 3506 into donut
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

15 years agoMoving the Tts java class from the android.tts package to the android.speech.tts...
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.

15 years agoMerge change 3479 into donut
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.

15 years agoReport 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).

15 years agoRevamp IRestoreSession a bit
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.)

15 years agoMerge change 1548 into donut
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).

15 years agoMerge change 3480 into donut
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.

15 years agoDo not automatically enable gestures in list based on filtering/fastscroll status...
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.

15 years agoMerge change 3471 into donut
Android (Google) Code Review [Mon, 8 Jun 2009 20:28:01 +0000 (13:28 -0700)]
Merge change 3471 into donut

* changes:
  Fix contact creation.

15 years agoMerge change 3431 into donut
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

15 years agoFix contact creation.
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

15 years agoMerge change 3462 into donut
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.

15 years agoCapture 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.

15 years agoCatch when a file resource (non values) added in an overlay.
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.

15 years agoNJ-1409: (frameworks/base) Support new audio encoding types(AMR and AAC).
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).

15 years agoMoved error status from SpeechServiceRecognizerListener
Mitsuru Oshima [Mon, 8 Jun 2009 09:26:34 +0000 (02:26 -0700)]
Moved error status from SpeechServiceRecognizerListener

15 years agoMerge change 3107 into donut
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

15 years agoMerge change 3422 into donut
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.

15 years agoCheck 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

15 years agoMerge change 3420 into donut
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.

15 years agoLocationManagerService: 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>
15 years agoAdd IRestoreSession interface for the restore flow
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.

15 years agoAdd rough-draft restore API set to IBackupTransport
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.

15 years agoMerge change 3417 into donut
Android (Google) Code Review [Sun, 7 Jun 2009 21:10:31 +0000 (14:10 -0700)]
Merge change 3417 into donut

* changes:
  Adjust IBackupTransport interface

15 years agoAdjust 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.

15 years agoChanged logic to handle timeout pages.
Guang Zhu [Sun, 7 Jun 2009 20:12:20 +0000 (13:12 -0700)]
Changed logic to handle timeout pages.

15 years agoMotorola changes from 090602 through 090605
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.

15 years agoMerge change 3017 into donut
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.

15 years agoApply OOM adjustment while an app is undergoing backup
Christopher Tate [Sat, 6 Jun 2009 01:43:55 +0000 (18:43 -0700)]
Apply OOM adjustment while an app is undergoing backup

15 years agoAdd per-named-item overlay ability in res xml.
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

15 years agoMerge change 3374 into donut
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

15 years agoMerge change 3356 into donut
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.

15 years agoCleaning 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.

15 years agoMerge change 3348 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 21:53:00 +0000 (14:53 -0700)]
Merge change 3348 into donut

* changes:
  Fix AlphabetIndexer.getSectionForPosition()

15 years agoMerge change 3344 into donut
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.

15 years agoFix tracking of backup participants across package remove/update
Christopher Tate [Fri, 5 Jun 2009 20:57:54 +0000 (13:57 -0700)]
Fix tracking of backup participants across package remove/update

15 years agoUpdating TtsEngine.h and SynthProxy.cpp so that buffer memory
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.

15 years agoAdd a new attribute to android manifest for defining the GLES version number.
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.

15 years agoMerge change 3305 into donut
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.

15 years agoMerge change 3223 into donut
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.

15 years agoMerge change 3337 into donut
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]

15 years agoFix 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]

15 years agoFix AlphabetIndexer.getSectionForPosition()
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.

15 years agoAdding new Settings.Secure properties for the Text-To-Speech functionality.
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.

15 years agoMerge change 3317 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 18:27:52 +0000 (11:27 -0700)]
Merge change 3317 into donut

* changes:
  Fixes #1899273.

15 years agoFixes #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.

15 years agoMerge change 2934 into donut
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.

15 years agoFix parameter mismatch for a couple of RIL commands.
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.

15 years agoFix broken Searchables unit tests.
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.

15 years agoInclude web search providers in Searchables.
Satish Sampath [Thu, 4 Jun 2009 10:51:17 +0000 (11:51 +0100)]
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.

15 years agoMerge change 3265 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 01:59:10 +0000 (18:59 -0700)]
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..)

15 years agoA workaround to fix rotation issue. I'm remote now and hard to do troubleshooting...
Mitsuru Oshima [Fri, 5 Jun 2009 01:06:27 +0000 (18:06 -0700)]
A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)

15 years agoMerge change 3249 into donut
Android (Google) Code Review [Fri, 5 Jun 2009 00:54:44 +0000 (17:54 -0700)]
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.

15 years agoAdd new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings
Mike LeBeau [Thu, 4 Jun 2009 23:27:00 +0000 (00:27 +0100)]
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.

15 years agoFix back_up_files() error detection when opening/CRCing the file
Christopher Tate [Fri, 5 Jun 2009 00:01:06 +0000 (17:01 -0700)]
Fix back_up_files() error detection when opening/CRCing the file

15 years agoMerge change 3243 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 23:01:41 +0000 (16:01 -0700)]
Merge change 3243 into donut

* changes:
  Fix backup agent unbind

15 years agoDon't crash on null edit url.
Ken Shirriff [Fri, 22 May 2009 19:33:15 +0000 (12:33 -0700)]
Don't crash on null edit url.

bug=1568060

15 years agoMerge change 3238 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 22:50:05 +0000 (15:50 -0700)]
Merge change 3238 into donut

* changes:
  Browser edit fields should report variation WEB_EDIT_TEXT.

15 years agoMerge change 3226 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 22:45:22 +0000 (15:45 -0700)]
Merge change 3226 into donut

* changes:
  Update a javadoc comment suggesting the use of a deprecated class.

15 years agoMerge change 3227 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 22:12:06 +0000 (15:12 -0700)]
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.

15 years agoFix int to string mapping of exported properties. The value generated by the
Romain Guy [Thu, 4 Jun 2009 22:10:46 +0000 (15:10 -0700)]
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.

15 years agoBrowser edit fields should report variation WEB_EDIT_TEXT.
Amith Yamasani [Thu, 4 Jun 2009 22:07:29 +0000 (15:07 -0700)]
Browser edit fields should report variation WEB_EDIT_TEXT.

This will enable the IME to enable/disable prediction features
for browser fields where the exact type is not very well defined.
Part of the fix for #1743620

15 years agoMerge change 3184 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 22:05:48 +0000 (15:05 -0700)]
Merge change 3184 into donut

* changes:
  The '-D' option for the 'am' command appears to be optional, so reflect that in the usage.

15 years agoUpdate a javadoc comment suggesting the use of a deprecated class.
Marco Nelissen [Thu, 4 Jun 2009 22:02:49 +0000 (15:02 -0700)]
Update a javadoc comment suggesting the use of a deprecated class.

15 years agoFix backup agent unbind
Christopher Tate [Thu, 4 Jun 2009 22:00:33 +0000 (15:00 -0700)]
Fix backup agent unbind

The handwritten binder transaction passing wasn't propagating the agent-destroy
transaction to the client side.  Oops.

Also, remove obsolete run-one-agent code from the backup manager service.

15 years agoMerge change 3204 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 21:12:02 +0000 (14:12 -0700)]
Merge change 3204 into donut

* changes:
  Avoid touching all adapter items when building accessibility event.

15 years agoMerge change 3207 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 21:10:07 +0000 (14:10 -0700)]
Merge change 3207 into donut

* changes:
  localize: remove dependency on mkdirs/etc in libhost

15 years agoMerge change 3203 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 21:08:29 +0000 (14:08 -0700)]
Merge change 3203 into donut

* changes:
  rename a few files to camel-case, add copyright notices

15 years agolocalize: remove dependency on mkdirs/etc in libhost
Brian Swetland [Thu, 4 Jun 2009 21:04:53 +0000 (14:04 -0700)]
localize: remove dependency on mkdirs/etc in libhost

This will let us break the libhost dependency on libutils.

Signed-off-by: Brian Swetland <swetland@google.com>
15 years agoAvoid touching all adapter items when building accessibility event.
Amith Yamasani [Thu, 4 Jun 2009 19:11:25 +0000 (12:11 -0700)]
Avoid touching all adapter items when building accessibility event.

Only check for enabled items if the list is less than 15 items.

15 years agorename a few files to camel-case, add copyright notices
Mathias Agopian [Thu, 4 Jun 2009 20:53:57 +0000 (13:53 -0700)]
rename a few files to camel-case, add copyright notices

15 years agoMerge change 3192 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 20:28:20 +0000 (13:28 -0700)]
Merge change 3192 into donut

* changes:
  Fixes #1882836.

15 years agoFixes #1882836.
Romain Guy [Thu, 4 Jun 2009 20:26:52 +0000 (13:26 -0700)]
Fixes #1882836.

Prevents the gestures window from leaking. This change does exactly what was
done for the filter popup window: the popup is dismissed in onSaveInstanceState()
as it is the only place that is executed early enough to avoid the dreaded
window leak error.

15 years agoMerge change 3181 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 20:21:03 +0000 (13:21 -0700)]
Merge change 3181 into donut

* changes:
  Unhide inInputShareable in BitmapFactory.Options.

15 years agoThe '-D' option for the 'am' command appears to be optional, so reflect that in the...
Marco Nelissen [Thu, 4 Jun 2009 19:04:03 +0000 (12:04 -0700)]
The '-D' option for the 'am' command appears to be optional, so reflect that in the usage.

15 years agoUnhide inInputShareable in BitmapFactory.Options.
Wei-Ta Chen [Thu, 4 Jun 2009 18:42:14 +0000 (11:42 -0700)]
Unhide inInputShareable in BitmapFactory.Options.

The variable works together with inPurgeable, which has been unhidden in
https://android-git.corp.google.com/g/Gerrit#change,2870.

15 years agoAdd the EAP related fields for WiFi configuration.
Chung-yih Wang [Wed, 3 Jun 2009 09:33:47 +0000 (17:33 +0800)]
Add the EAP related fields for WiFi configuration.

-- added the EAP/802.1X related fields in WifiConfiguration for
  supporting EAP/802.1X authentication.
-- hid the related fields for now.

15 years agoMerge change 3174 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 18:05:21 +0000 (11:05 -0700)]
Merge change 3174 into donut

* changes:
  Added bugreport collecting mechanism in case of crashes.

15 years agoAdded bugreport collecting mechanism in case of crashes.
Guang Zhu [Thu, 4 Jun 2009 18:03:57 +0000 (11:03 -0700)]
Added bugreport collecting mechanism in case of crashes.

15 years agoMerge change 3074 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 17:40:17 +0000 (10:40 -0700)]
Merge change 3074 into donut

* changes:
  Modify the decoding logic in the FD case when a purgeable flag is set, and lower the threshold of bitmap size for using ashmem().

15 years agoMerge change 3126 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 17:09:59 +0000 (10:09 -0700)]
Merge change 3126 into donut

* changes:
  Fix thread safety in DataConnectionTracker.

15 years agoSearchDialog should only do DialogCursorProtocol stuff when in global search mode.
Karl Rosaen [Thu, 4 Jun 2009 16:59:44 +0000 (17:59 +0100)]
SearchDialog should only do DialogCursorProtocol stuff when in global search mode.

15 years agoDetect impressions, and cleanup the SearchDialog / SuggestionCursor communication.
Karl Rosaen [Thu, 4 Jun 2009 14:58:36 +0000 (15:58 +0100)]
Detect impressions, and cleanup the SearchDialog / SuggestionCursor communication.

(framework portion)

There are now 4 times the search dialog will check with the cursor:
- after data set changed
- when an item is clicked
- when the cursor is about to be closed
- when an item at a particular position is detected as showing

these are now the points where we can add data in either direction, which we use to accomplish:
- finding out whether there are any pending results
- find out if there is a position at which to notify when it is displayed (the "more results" triggering)
- toggling the "more results" button
- sending the max position that was displayed when the cursor is done

the new behavior (in addition to the refactoring) is improved detection of "more results" to trigger the additional sources
(it is now precise), and detection of which items were displayed to the user.

15 years agoMerge change 3149 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 14:08:45 +0000 (07:08 -0700)]
Merge change 3149 into donut

* changes:
  Turn off verbose logging in SearchableInfo, which seems to have been left on by accident.

15 years agoTurn off verbose logging in SearchableInfo, which seems to have been
Mike LeBeau [Thu, 4 Jun 2009 14:07:24 +0000 (15:07 +0100)]
Turn off verbose logging in SearchableInfo, which seems to have been
left on by accident.

15 years agoRemove support for bitmap icons in search suggestions.
Bjorn Bringert [Wed, 3 Jun 2009 09:33:41 +0000 (10:33 +0100)]
Remove support for bitmap icons in search suggestions.

This is no longer needed, since content providers can now return
AssetFileDescriptors for in-memory data.
Bitmaps in the suggestion cursor was resopnsible for lots of
unnecessary copying, since all rows are copied out of the database
regardless of how many are displayed in the UI.

15 years agoMerge change 3145 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 13:10:37 +0000 (06:10 -0700)]
Merge change 3145 into donut

* changes:
  Add INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).

15 years agoAdd INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).
Mike LeBeau [Thu, 4 Jun 2009 13:09:42 +0000 (14:09 +0100)]
Add INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).

15 years agoMerge change 2845 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 10:09:43 +0000 (03:09 -0700)]
Merge change 2845 into donut

* changes:
  Allow making AssetFileDescriptors from SQLite blobs.

15 years agoMerge change 1526 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 06:30:02 +0000 (23:30 -0700)]
Merge change 1526 into donut

* changes:
  cdma getNeighboringCids to fail with an exception

15 years agocdma getNeighboringCids to fail with an exception
Tammo Spalink [Wed, 13 May 2009 06:44:07 +0000 (14:44 +0800)]
cdma getNeighboringCids to fail with an exception

15 years agoMore backup work
Christopher Tate [Tue, 2 Jun 2009 23:11:00 +0000 (16:11 -0700)]
More backup work

* Put in some permission enforcement around agent connection notification
  and full-backup scheduling.
* Full backup now applies to any package, not just backup participants who
  have declared their own android:backupAgent
* The process of running the backup operation on the set of apps who have
  been queued for it is now done in a separate thread, with a notification
  mechanism from the main Backup Manager service to pass along new-agent
  binding knowledge.  There's no longer one do-backup message on the primary
  Handler per target application.
* The new backup thread sets up the desired transport now and passes
  along the newly backed-up data to it for each backup target.  Two
  transports have been defined so far, GoogleTransport and AdbTransport;
  both are stubs at present.

Note that at present the backup data output file seems to be properly
created, but after doBackup() is called on the test app's agent it's
still zero size.

15 years agoFix thread safety in DataConnectionTracker.
Jaikumar Ganesh [Thu, 4 Jun 2009 00:26:35 +0000 (17:26 -0700)]
Fix thread safety in DataConnectionTracker.

All the methods in DataConnectionTracker should be called only through
the handler. Fix this as trySetupData was being called in the broadcast receiver.

Tested: Airplane mode and GPRS retry.

15 years agoMerge change 3095 into donut
Android (Google) Code Review [Thu, 4 Jun 2009 00:01:01 +0000 (17:01 -0700)]
Merge change 3095 into donut

* changes:
  Skip empty lines in test url list.

15 years agoMerge change 3094 into donut
Android (Google) Code Review [Wed, 3 Jun 2009 23:32:18 +0000 (16:32 -0700)]
Merge change 3094 into donut

* changes:
  Grant permissions to older package when deleting an updated system application. When a system app gets updated, the permissions are granted to the new pkg. Similary when this updated pkg(from data partition) gets removed, the older pkg from system partition is restored. but the permissions are'nt being granted explicitly and so the restore fails. This fix addresses specific bugs related to uninstall of updated system apps. These code paths will be revisited later but this fix is needed for OTA's that might fall back to older versions of system apps.