OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge "Add new setting for the ComponentName of the service to be used for voice...
Mike LeBeau [Thu, 11 Feb 2010 19:41:16 +0000 (11:41 -0800)]
Merge "Add new setting for the ComponentName of the service to be used for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer."

14 years agoAdd new setting for the ComponentName of the service to be used
Mike LeBeau [Thu, 11 Feb 2010 03:34:56 +0000 (19:34 -0800)]
Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.

14 years agoam 1e90ab54: merge from open-source master
The Android Open Source Project [Thu, 11 Feb 2010 19:20:40 +0000 (11:20 -0800)]
am 1e90ab54: merge from open-source master

Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587'

* commit '1e90ab542d675616e9370ab7e5add99d7af12587':
  Fixs the incorrect message for SecurityException
  Default RotateDrawable's pivot set to (50%, 50%)

14 years agoMerge "resolved conflicts for merge of 61bb25f2 to master"
Eric Laurent [Thu, 11 Feb 2010 19:16:36 +0000 (11:16 -0800)]
Merge "resolved conflicts for merge of 61bb25f2 to master"

14 years agoNew implementation of <original-package> tag.
Dianne Hackborn [Wed, 10 Feb 2010 07:59:16 +0000 (23:59 -0800)]
New implementation of <original-package> tag.

We now have the new package retain the name of the old package.  This makes
sure that all existing references to it (shortcuts, widgets, etc) will still
work.

This does mean that your package can run under either the old or new name,
depending on whether the user got it with an update.  Buyer beware!

I have tried testing all of the paths of updating, installing another
update in /data, uninstalling the update, updating system with an even
newer update, etc.  I think they all work.  No promises though.

14 years agoMerge "Fix installd to create /data/data/<pkgname> with appropriate permissions."
David Turner [Thu, 11 Feb 2010 18:58:29 +0000 (10:58 -0800)]
Merge "Fix installd to create /data/data/<pkgname> with appropriate permissions."

14 years agoMerge "Truncate SYSTEM_TOMBSTONE events at the end (take the head), but still truncat...
Dan Egnor [Thu, 11 Feb 2010 18:47:41 +0000 (10:47 -0800)]
Merge "Truncate SYSTEM_TOMBSTONE events at the end (take the head), but still truncate the other log files at the start (take the tail)."

14 years agoTruncate SYSTEM_TOMBSTONE events at the end (take the head),
Dan Egnor [Thu, 11 Feb 2010 18:40:49 +0000 (10:40 -0800)]
Truncate SYSTEM_TOMBSTONE events at the end (take the head),
but still truncate the other log files at the start (take the tail).

14 years agoresolved conflicts for merge of 61bb25f2 to master
Eric Laurent [Thu, 11 Feb 2010 18:36:10 +0000 (10:36 -0800)]
resolved conflicts for merge of 61bb25f2 to master

14 years agoMerge "MountService: Fix some mountset bugs and tighten up some return values"
San Mehat [Thu, 11 Feb 2010 18:25:59 +0000 (10:25 -0800)]
Merge "MountService: Fix some mountset bugs and tighten up some return values"

14 years agoEliminate dependencies on Checkin, replacing checkin events with EventLog
Dan Egnor [Thu, 11 Feb 2010 03:27:58 +0000 (19:27 -0800)]
Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596

14 years agomerge from open-source master
The Android Open Source Project [Thu, 11 Feb 2010 18:03:02 +0000 (10:03 -0800)]
merge from open-source master

14 years agoMerge "Support for product specific fallback font file."
Ying Wang [Thu, 11 Feb 2010 17:39:22 +0000 (09:39 -0800)]
Merge "Support for product specific fallback font file."

14 years agoam c1eba82b: Merge "Fix issue: 2413494: Add TTY support." into eclair
Eric Laurent [Thu, 11 Feb 2010 17:34:59 +0000 (09:34 -0800)]
am c1eba82b: Merge "Fix issue: 2413494: Add TTY support." into eclair

Merge commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1' into eclair-plus-aosp

* commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1':
  Fix issue: 2413494: Add TTY support.

14 years agoMerge "Fix issue: 2413494: Add TTY support." into eclair
Eric Laurent [Thu, 11 Feb 2010 17:23:21 +0000 (09:23 -0800)]
Merge "Fix issue: 2413494: Add TTY support." into eclair

14 years agoRemove in-app to global search toggle. Bug: 2436539
Amith Yamasani [Thu, 11 Feb 2010 15:29:45 +0000 (07:29 -0800)]
Remove in-app to global search toggle. Bug: 2436539

Quick fix to ignore the search key in SearchDialog. Need to
cleanup related code.

14 years agoMountService: Fix some mountset bugs and tighten up some return values
San Mehat [Thu, 11 Feb 2010 14:50:20 +0000 (06:50 -0800)]
MountService: Fix some mountset bugs and tighten up some return values

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "Add content provider for browser geolocation permissions"
Bjorn Bringert [Thu, 11 Feb 2010 10:05:30 +0000 (02:05 -0800)]
Merge "Add content provider for browser geolocation permissions"

14 years agoAdd content provider for browser geolocation permissions
Bjorn Bringert [Tue, 9 Feb 2010 11:54:14 +0000 (11:54 +0000)]
Add content provider for browser geolocation permissions

This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0

14 years agoMerge "Fix NPE in AppWidgetService.addProvidersForPackageLocked()"
Bjorn Bringert [Thu, 11 Feb 2010 10:00:24 +0000 (02:00 -0800)]
Merge "Fix NPE in AppWidgetService.addProvidersForPackageLocked()"

14 years agoRevise ThumbnailUtils API.
Ray Chen [Fri, 5 Feb 2010 03:56:12 +0000 (11:56 +0800)]
Revise ThumbnailUtils API.

14 years agoMerge "Change default mode."
Jason Sams [Thu, 11 Feb 2010 02:10:02 +0000 (18:10 -0800)]
Merge "Change default mode."

14 years agoChange default mode.
Jason Sams [Thu, 11 Feb 2010 02:09:36 +0000 (18:09 -0800)]
Change default mode.

14 years agoMerge "Add java benchmark to imageProcessing."
Jason Sams [Thu, 11 Feb 2010 02:08:28 +0000 (18:08 -0800)]
Merge "Add java benchmark to imageProcessing."

14 years agoAdd java benchmark to imageProcessing.
Jason Sams [Thu, 11 Feb 2010 02:07:37 +0000 (18:07 -0800)]
Add java benchmark to imageProcessing.

14 years agoMerge "Cleanup image processing example script."
Jason Sams [Thu, 11 Feb 2010 00:59:47 +0000 (16:59 -0800)]
Merge "Cleanup image processing example script."

14 years agoCleanup image processing example script.
Jason Sams [Thu, 11 Feb 2010 00:58:16 +0000 (16:58 -0800)]
Cleanup image processing example script.

14 years agoMerge "Fix for bug 2427961 android.security.tests.SystemKeyStoreTest:testBasicAccess...
Oscar Montemayor [Thu, 11 Feb 2010 00:33:01 +0000 (16:33 -0800)]
Merge "Fix for bug 2427961 android.security.tests.SystemKeyStoreTest:testBasicAccess is failing. Fixed issues in test."

14 years agoMerge "Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*."
Jim Miller [Wed, 10 Feb 2010 23:45:32 +0000 (15:45 -0800)]
Merge "Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*."

14 years agoget DHCP IP on each connection
Irfan Sheriff [Fri, 5 Feb 2010 22:47:27 +0000 (14:47 -0800)]
get DHCP IP on each connection

The IP state was not being refreshed when the supplicant transitions
from COMPLETED to ASSOCIATED to COMPLETED. This can lead to
a connected state with no real connection due to old IP settings.
The fix refreshes IP on each connection.

Bug: 2329261
Change-Id: I38cd56369ee2d8ab3e0f06f5c9f5712b9b2f35a0

14 years agoMerge "Fixing AMR recording code."
Andreas Huber [Wed, 10 Feb 2010 23:16:09 +0000 (15:16 -0800)]
Merge "Fixing AMR recording code."

14 years agoFix NPE in AppWidgetService.addProvidersForPackageLocked()
Bjorn Bringert [Wed, 10 Feb 2010 23:09:48 +0000 (23:09 +0000)]
Fix NPE in AppWidgetService.addProvidersForPackageLocked()

queryBroadcastReceivers() can return null, so AppWidgetService
should guard against that.

Fixes http://b/issue?id=2418982

Change-Id: I1ba83c0c37622e0280f3dba2fef5eca2cc90c975

14 years agoMerge "Fix ImageProcessing example."
Jason Sams [Wed, 10 Feb 2010 23:04:56 +0000 (15:04 -0800)]
Merge "Fix ImageProcessing example."

14 years agoFixing AMR recording code.
Andreas Huber [Wed, 10 Feb 2010 23:04:31 +0000 (15:04 -0800)]
Fixing AMR recording code.

14 years agoFix ImageProcessing example.
Jason Sams [Wed, 10 Feb 2010 23:03:24 +0000 (15:03 -0800)]
Fix ImageProcessing example.

14 years agoMerge "Support per-application switch to execute the VM in safe mode."
Ben Cheng [Wed, 10 Feb 2010 22:52:53 +0000 (14:52 -0800)]
Merge "Support per-application switch to execute the VM in safe mode."

14 years agoMerge "Add back lost python script."
Shimeng (Simon) Wang [Wed, 10 Feb 2010 22:52:07 +0000 (14:52 -0800)]
Merge "Add back lost python script."

14 years agoSupport per-application switch to execute the VM in safe mode.
Ben Cheng [Tue, 9 Feb 2010 00:06:32 +0000 (16:06 -0800)]
Support per-application switch to execute the VM in safe mode.

The new attribute can be set by adding android:safeMode="true"
in AndroidManifest.xml with the SDK.

Tested with pairing locally compiled SDK with Eclipse and verified that the JIT
(the only component currently included in the safe mode) is indeed disabled
with the new attribute.

Bug: 2267583

14 years agoFix 2373088: Cleanup and minor fixes to PasswordKeyboard*.
Jim Miller [Wed, 10 Feb 2010 03:05:02 +0000 (19:05 -0800)]
Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*.

14 years agoAPI CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.
Dan Egnor [Tue, 9 Feb 2010 05:56:38 +0000 (21:56 -0800)]
API CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.

Generally clean up the associated SSLCertificateSocketFactory API as well,
change AndroidHttpClient to use this new thing, and make the android-common
library build SDK-clean (woo hoo).

Bug: 2362543
Bug: 2357311

14 years agoMerge "Do autodetection even if no locale was specified, and use the detected encodin...
Marco Nelissen [Wed, 10 Feb 2010 22:24:44 +0000 (14:24 -0800)]
Merge "Do autodetection even if no locale was specified, and use the detected encoding if it is unambiguous."

14 years agoUnhide SearchManager.INTENT_ACTION_SEARCH_SETTINGS
Bjorn Bringert [Wed, 10 Feb 2010 13:22:55 +0000 (13:22 +0000)]
Unhide SearchManager.INTENT_ACTION_SEARCH_SETTINGS

This intent action is needed by Settings to start the search settings
activity which lives in QuickSearchBox / GoogleQuickSearchBox.

Fixes http://b/issue?id=2394530

Change-Id: Iea2a7d9df0092459e5618986f4f789f9257f912a

14 years agoUse resource ID for searchable description
Bjorn Bringert [Wed, 10 Feb 2010 16:10:54 +0000 (16:10 +0000)]
Use resource ID for searchable description

Before, SearchableInfo read and cached the localized
searchable description, which meant that it was not updated
on locale changes. Now SearchableInfo only holds the resource
ID.

SearchableInfo is a new API in Froyo, so it's ok to change.

Part of http://b/issue?id=2175247

Change-Id: I1898f7895b9172f58419d906ad741cb7dd1e7252

14 years agoMerge "Set default value for default install location"
Suchi Amalapurapu [Wed, 10 Feb 2010 20:45:16 +0000 (12:45 -0800)]
Merge "Set default value for default install location"

14 years agoSet default value for default install location
Suchi Amalapurapu [Wed, 10 Feb 2010 20:39:20 +0000 (12:39 -0800)]
Set default value for default install location

14 years agoAdding null check.
Makoto Onuki [Tue, 9 Feb 2010 21:16:02 +0000 (13:16 -0800)]
Adding null check.

14 years agoMerge "add Base64OutputStream to android-common"
Doug Zongker [Wed, 10 Feb 2010 19:47:17 +0000 (11:47 -0800)]
Merge "add Base64OutputStream to android-common"

14 years agoMerge "fix an NPE in SyncManager's dump where it can get a null AuthorityInfo; instea...
Fred Quintana [Wed, 10 Feb 2010 19:45:47 +0000 (11:45 -0800)]
Merge "fix an NPE in SyncManager's dump where it can get a null AuthorityInfo; instead create one if one doesn't exist yet"

14 years agofix an NPE in SyncManager's dump where it can get a null AuthorityInfo; instead creat...
Fred Quintana [Wed, 10 Feb 2010 18:04:33 +0000 (10:04 -0800)]
fix an NPE in SyncManager's dump where it can get a null AuthorityInfo; instead create one if one doesn't exist yet

14 years agoMerge "Prevent infinite loop in the Phone UI."
Romain Guy [Wed, 10 Feb 2010 19:30:03 +0000 (11:30 -0800)]
Merge "Prevent infinite loop in the Phone UI."

14 years agoPrevent infinite loop in the Phone UI.
Romain Guy [Wed, 10 Feb 2010 19:29:22 +0000 (11:29 -0800)]
Prevent infinite loop in the Phone UI.

14 years agoFix issue: 2413494: Add TTY support.
Eric Laurent [Wed, 10 Feb 2010 19:22:11 +0000 (11:22 -0800)]
Fix issue: 2413494: Add TTY support.

This is a new implementation of TTY support.
Previous implementation in commit aead64def1fe58c95c086a0ca00cf0b13fa32ef1 is reverted.
The new method does not rely any more on the kernel headset driver to send a UEvent containing
current TTY mode.

14 years agoAdd back lost python script.
Shimeng (Simon) Wang [Wed, 10 Feb 2010 19:22:01 +0000 (11:22 -0800)]
Add back lost python script.

The script is used to generate top level domains' regular expressions.
This is enhanced and used to regenerate the new top level domains.

new file:   common/tools/make-iana-tld-pattern.py

14 years agoMerge "StorageNotification: Move notification / usb storage activity into StatusBarPo...
San Mehat [Wed, 10 Feb 2010 19:21:50 +0000 (11:21 -0800)]
Merge "StorageNotification: Move notification / usb storage activity into StatusBarPolicy"

14 years agoMerge "Properly detect Adobe's .f4v file format as an mp4 ISO compliant file."
Andreas Huber [Wed, 10 Feb 2010 19:16:14 +0000 (11:16 -0800)]
Merge "Properly detect Adobe's .f4v file format as an mp4 ISO compliant file."

14 years agoadd Base64OutputStream to android-common
Doug Zongker [Wed, 10 Feb 2010 19:02:23 +0000 (11:02 -0800)]
add Base64OutputStream to android-common

Base64OutputStream is a FilterOutputStream that can encode or decode
base-64 data (with any of the flags supported by the Base64 class --
crlf, padding vs not, line wrapping vs not, etc.)

We change Base64 to have package-private decodeInternal and
encodeInternal methods that save all their state in objects and can be
called multiple times to stream data.  The existing functions for
in-memory encoding/decoding call the internal method once; the output
stream calls it multiple times.

Change-Id: Iac661d05329bc2e6b2863088efcedc974415ec44

14 years agoProperly detect Adobe's .f4v file format as an mp4 ISO compliant file.
Andreas Huber [Wed, 10 Feb 2010 19:08:15 +0000 (11:08 -0800)]
Properly detect Adobe's .f4v file format as an mp4 ISO compliant file.

14 years agoTI does not want the hardware H.263 decoder to be enabled.
Andreas Huber [Wed, 10 Feb 2010 18:52:06 +0000 (10:52 -0800)]
TI does not want the hardware H.263 decoder to be enabled.

14 years agoDo autodetection even if no locale was specified, and use the
Marco Nelissen [Wed, 10 Feb 2010 17:56:05 +0000 (09:56 -0800)]
Do autodetection even if no locale was specified, and use the
detected encoding if it is unambiguous.

14 years agoImplementation of stagefright-enabled MediaPlayerService::decode functionality
Andreas Huber [Wed, 10 Feb 2010 00:59:18 +0000 (16:59 -0800)]
Implementation of stagefright-enabled MediaPlayerService::decode functionality

related-to-bug: 2359268

14 years agoMerge "Don't create a genre in the database for genre code 255 (unknown)"
Marco Nelissen [Wed, 10 Feb 2010 17:50:44 +0000 (09:50 -0800)]
Merge "Don't create a genre in the database for genre code 255 (unknown)"

14 years agoam 87bdfd6d: am d74bf162: Merge "Repackage samples zip with SampleSyncAdapter and...
Dirk Dougherty [Wed, 10 Feb 2010 17:46:08 +0000 (09:46 -0800)]
am 87bdfd6d: am d74bf162: Merge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper." into eclair

Merge commit '87bdfd6d22ee964339791bb65686a718d207793b'

* commit '87bdfd6d22ee964339791bb65686a718d207793b':
  Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper.

14 years agoam eb42a288: (-s ours) am a1ab9766: Merge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:45:57 +0000 (09:45 -0800)]
am eb42a288: (-s ours) am a1ab9766: Merge "DO NOT MERGE" into eclair

Merge commit 'eb42a28837e19722fd8c4ba13f13068581c4bdbf'

* commit 'eb42a28837e19722fd8c4ba13f13068581c4bdbf':
  DO NOT MERGE

14 years agoam d74bf162: Merge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpape...
Dirk Dougherty [Wed, 10 Feb 2010 17:41:15 +0000 (09:41 -0800)]
am d74bf162: Merge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper." into eclair

Merge commit 'd74bf1623913bade8f58369f39ebc666d551bb57' into eclair-plus-aosp

* commit 'd74bf1623913bade8f58369f39ebc666d551bb57':
  Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper.

14 years agoam a1ab9766: Merge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:41:06 +0000 (09:41 -0800)]
am a1ab9766: Merge "DO NOT MERGE" into eclair

Merge commit 'a1ab9766718e11cb31bd5e87cda2a2bac03573db' into eclair-plus-aosp

* commit 'a1ab9766718e11cb31bd5e87cda2a2bac03573db':
  DO NOT MERGE

14 years agoMerge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper." into...
Dirk Dougherty [Wed, 10 Feb 2010 17:38:01 +0000 (09:38 -0800)]
Merge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper." into eclair

14 years agoMerge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:35:37 +0000 (09:35 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoDon't create a genre in the database for genre code 255 (unknown)
Marco Nelissen [Tue, 9 Feb 2010 23:15:46 +0000 (15:15 -0800)]
Don't create a genre in the database for genre code 255 (unknown)

14 years agoDO NOT MERGE
Grace Kloba [Tue, 13 Oct 2009 19:57:08 +0000 (12:57 -0700)]
DO NOT MERGE

cherry-pick https://android-git.corp.google.com/g/#change,29843 from eclair-mr2
This will cherry-pick SHA1: 58def690a87b4aa2c01331c06b61e457198de0ea

This will workaround the following three bugs which are occuring because
the webview DB is getting corrupted:

http://b/issue?id=2338178
http://b/issue?id=2278210
http://b/issue?id=2405650

Here are the comments from the eclair-mr2 CL:

If openOrCreateDatabase() throws an exception, delete
the old db and re-do it. If it still fails, something
bad happens, like the directory may have the different
permission. Let it throw as WebView needs the db.

Fix http://b/issue?id=2179339

14 years agoam 789b11c7: (-s ours) am 926780b0: Merge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:24:14 +0000 (09:24 -0800)]
am 789b11c7: (-s ours) am 926780b0: Merge "DO NOT MERGE" into eclair

Merge commit '789b11c715af48a0379b8b1f90d7a829ac6a8145'

* commit '789b11c715af48a0379b8b1f90d7a829ac6a8145':
  DO NOT MERGE

14 years agoam 926780b0: Merge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:18:37 +0000 (09:18 -0800)]
am 926780b0: Merge "DO NOT MERGE" into eclair

Merge commit '926780b023a09d37e8dcf1fabf6fa990f042f06d' into eclair-plus-aosp

* commit '926780b023a09d37e8dcf1fabf6fa990f042f06d':
  DO NOT MERGE

14 years agoMerge "DO NOT MERGE" into eclair
Bart Sears [Wed, 10 Feb 2010 17:13:48 +0000 (09:13 -0800)]
Merge "DO NOT MERGE" into eclair

14 years agoAdd new manifest option for install location
Suchi Amalapurapu [Tue, 9 Feb 2010 11:45:40 +0000 (03:45 -0800)]
Add new manifest option for install location
Change recommendAppInstallLocation api
add code to parse new attribute.
Define flags in PackageInfo
Add new settings attributes for enabling setting and value for install location
Some tests
The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal.
If the user enables setting SET_INSTALL_LOCATION(which will always
be set to false in final release builds) and sets a prefered location, we try
to honour it.

14 years agoFixs the incorrect message for SecurityException
Chander S Pechetty [Wed, 10 Feb 2010 16:44:00 +0000 (22:14 +0530)]
Fixs the incorrect message for SecurityException

when injecting a Key, Pointer and Trackball events into the UI across
applications, the corresponding methods throw SecurityException with
incorrect permission message.
INJECT EVENT permission should be INJECT_EVENTS

14 years agoMerge "Clean up interface between LocationManagerService and the location providers:"
Mike Lockwood [Wed, 10 Feb 2010 15:33:10 +0000 (07:33 -0800)]
Merge "Clean up interface between LocationManagerService and the location providers:"

14 years agoMerge "Remove SearchManager.SOURCE"
Bjorn Bringert [Wed, 10 Feb 2010 15:28:15 +0000 (07:28 -0800)]
Merge "Remove SearchManager.SOURCE"

14 years agoMerge "Add Search.SOURCE to android-common"
Bjorn Bringert [Wed, 10 Feb 2010 15:27:25 +0000 (07:27 -0800)]
Merge "Add Search.SOURCE to android-common"

14 years agoModify the API of YuvImage, so that callers do not need to deal with
Wei-Ta Chen [Fri, 5 Feb 2010 08:58:25 +0000 (16:58 +0800)]
Modify the API of YuvImage, so that callers do not need to deal with
the yuv format when specifying a rectangle region.

Bug: 2285598

14 years agoClean up interface between LocationManagerService and the location providers:
Mike Lockwood [Tue, 9 Feb 2010 13:46:14 +0000 (08:46 -0500)]
Clean up interface between LocationManagerService and the location providers:

LocationManagerService now uses new Java interface LocationProviderInterface
rather than LocationProviderProxy to refer to location providers internally.

LocationProviderProxy and the ILocationProvider binder interface are only
used for location providers implemented as services (NetworkLocationProvider)

Built-in location providers (GpsLocationProvider and mock providers) now just
implement LocationProviderInterface rather than using a Binder interface and proxy object.

Delete obsolete and unused TestLocationProvider class.

Change-Id: Id800e7c1864f7c666f8e37125c05896493b9c8c4
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRemove SearchManager.SOURCE
Bjorn Bringert [Wed, 10 Feb 2010 14:26:52 +0000 (14:26 +0000)]
Remove SearchManager.SOURCE

Part of http://b/issue?id=2429556

Change-Id: I08a95a844b74cb50a740c0c155c6ad79f2c9cbcc

14 years agoAdd Search.SOURCE to android-common
Bjorn Bringert [Wed, 10 Feb 2010 14:04:21 +0000 (14:04 +0000)]
Add Search.SOURCE to android-common

Part of http://b/issue?id=2429556

Change-Id: I1e37e092c8a1319d5f703b065dba8a6fbde31db5

14 years agoMerge "Remove some logs."
Wu-cheng Li [Wed, 10 Feb 2010 08:07:35 +0000 (00:07 -0800)]
Merge "Remove some logs."

14 years agoExplain setPreviewFrameRate and getPreviewFrameRate more clearly.
Wu-cheng Li [Wed, 10 Feb 2010 05:05:29 +0000 (13:05 +0800)]
Explain setPreviewFrameRate and getPreviewFrameRate more clearly.

14 years agoRemove some logs.
Wu-cheng Li [Wed, 10 Feb 2010 05:01:48 +0000 (13:01 +0800)]
Remove some logs.

14 years agoMerge "Add exposure compensation parameter."
Wu-cheng Li [Wed, 10 Feb 2010 04:49:06 +0000 (20:49 -0800)]
Merge "Add exposure compensation parameter."

14 years agoStorageNotification: Move notification / usb storage activity into StatusBarPolicy
San Mehat [Wed, 10 Feb 2010 02:37:54 +0000 (18:37 -0800)]
StorageNotification: Move notification / usb storage activity into StatusBarPolicy

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge "MountService: Add isSecureContainerMounted() API call"
San Mehat [Wed, 10 Feb 2010 03:30:34 +0000 (19:30 -0800)]
Merge "MountService: Add isSecureContainerMounted() API call"

14 years agoFix installd to create /data/data/<pkgname> with appropriate permissions.
David 'Digit' Turner [Wed, 10 Feb 2010 03:02:38 +0000 (19:02 -0800)]
Fix installd to create /data/data/<pkgname> with appropriate permissions.

The directory was created with read+exec rights for others.
The patch restricts it to only exec rights.

14 years agoMerge "Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via...
Alex Gruenstein [Wed, 10 Feb 2010 02:57:11 +0000 (18:57 -0800)]
Merge "Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults()"

14 years agoMerge "Generate /data/system/packages.list in the PackageManager"
David Turner [Wed, 10 Feb 2010 02:52:40 +0000 (18:52 -0800)]
Merge "Generate /data/system/packages.list in the PackageManager"

14 years agoMerge "Fix the lock screen."
Romain Guy [Wed, 10 Feb 2010 02:50:55 +0000 (18:50 -0800)]
Merge "Fix the lock screen."

14 years agoFix the lock screen.
Romain Guy [Wed, 10 Feb 2010 02:50:08 +0000 (18:50 -0800)]
Fix the lock screen.

14 years agoam e524ff53: am 859f4556: Merge "Add generated html docs for SampleSyncAdapter and...
Dirk Dougherty [Wed, 10 Feb 2010 02:48:59 +0000 (18:48 -0800)]
am e524ff53: am 859f4556: Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper." into eclair

Merge commit 'e524ff534e1aabc45819e978c26bf61d9b71f444'

* commit 'e524ff534e1aabc45819e978c26bf61d9b71f444':
  Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.

14 years agoMountService: Add isSecureContainerMounted() API call
San Mehat [Tue, 9 Feb 2010 22:45:20 +0000 (14:45 -0800)]
MountService: Add isSecureContainerMounted() API call

Signed-off-by: San Mehat <san@google.com>
14 years agoRepackage samples zip with SampleSyncAdapter and CubeLiveWallpaper.
Dirk Dougherty [Wed, 10 Feb 2010 02:44:52 +0000 (18:44 -0800)]
Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper.

Change-Id: I63f881739352d91d296c5c07432eeda74b22000a

14 years agoam 859f4556: Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpap...
Dirk Dougherty [Wed, 10 Feb 2010 02:44:18 +0000 (18:44 -0800)]
am 859f4556: Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper." into eclair

Merge commit '859f455645bc49e32330108b1ea9f85ffb80a2cd' into eclair-plus-aosp

* commit '859f455645bc49e32330108b1ea9f85ffb80a2cd':
  Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.

14 years agoMerge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add artic...
Dirk Dougherty [Wed, 10 Feb 2010 02:41:32 +0000 (18:41 -0800)]
Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper." into eclair

14 years agoAdd generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article...
Dirk Dougherty [Mon, 8 Feb 2010 18:53:12 +0000 (10:53 -0800)]
Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.

Change-Id: Idbeda9a677c9772a8348146fe028083d9887a9d2

14 years agoDO NOT MERGE
Grace Kloba [Tue, 2 Feb 2010 19:17:55 +0000 (11:17 -0800)]
DO NOT MERGE

cherry-pick https://android-git.corp.google.com/g/#change,39258 from master

Now mSupportMultiTouch is depending on WebSettings,
it can't be static any more.

Fix http://b/issue?id=2413364

14 years agoGenerate /data/system/packages.list in the PackageManager
David 'Digit' Turner [Thu, 4 Feb 2010 01:34:58 +0000 (17:34 -0800)]
Generate /data/system/packages.list in the PackageManager

This file contains uid + debugFlag + dataPath information for
each non-system installed package. It is meant to be used later
from native code and thus needs to be considerably simpler to
parser than packages.xml.

The file should only be readable by non-system userIds, and its
format is essentially line-based with each line like:

  <pkgName> <uid> <debugFlag> <dataDir>

With:

  <pkgName>    as the package name
  <uid>        as the application-specific user id
  <debugFlag>  either 0 or 1. 1 if the package is debuggable
  <dataDir>    path to the package's data directory

We need the debug flag to allow 'run-as' to only allow
commands to be executed on debuggable packages, even on
production devices.