18257 Commits

Author SHA1 Message Date
Suchi Amalapurapu
117818e4f1 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.
2010-02-10 08:59:08 -08:00
Mike Lockwood
596ce7fbfe Merge "Clean up interface between LocationManagerService and the location providers:" 2010-02-10 07:33:10 -08:00
Bjorn Bringert
a524f8ab3b Merge "Remove SearchManager.SOURCE" 2010-02-10 07:28:15 -08:00
Bjorn Bringert
92691e075b Merge "Add Search.SOURCE to android-common" 2010-02-10 07:27:27 -08:00
Wei-Ta Chen
d2391faa5d Modify the API of YuvImage, so that callers do not need to deal with
the yuv format when specifying a rectangle region.

Bug: 2285598
2010-02-10 23:15:37 +08:00
Mike Lockwood
d03ff94fe5 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>
2010-02-10 09:41:25 -05:00
Bjorn Bringert
ced72c8cf5 Remove SearchManager.SOURCE
Part of http://b/issue?id=2429556

Change-Id: I08a95a844b74cb50a740c0c155c6ad79f2c9cbcc
2010-02-10 14:26:52 +00:00
Bjorn Bringert
9bc82c3531 Add Search.SOURCE to android-common
Part of http://b/issue?id=2429556

Change-Id: I1e37e092c8a1319d5f703b065dba8a6fbde31db5
2010-02-10 14:04:21 +00:00
Wu-cheng Li
ca35953c90 Merge "Remove some logs." 2010-02-10 00:07:36 -08:00
Wu-cheng Li
a18e90176a Explain setPreviewFrameRate and getPreviewFrameRate more clearly. 2010-02-10 16:06:57 +08:00
Wu-cheng Li
ca9d9dc827 Remove some logs. 2010-02-10 13:02:17 +08:00
Wu-cheng Li
be14332227 Merge "Add exposure compensation parameter." 2010-02-09 20:49:06 -08:00
San Mehat
739e1f8cda Merge "MountService: Add isSecureContainerMounted() API call" 2010-02-09 19:30:34 -08:00
Alex Gruenstein
46d3502333 Merge "Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults()" 2010-02-09 18:57:11 -08:00
David Turner
b51f4751c7 Merge "Generate /data/system/packages.list in the PackageManager" 2010-02-09 18:52:40 -08:00
Romain Guy
8c583083df Merge "Fix the lock screen." 2010-02-09 18:50:55 -08:00
Romain Guy
b4a107d826 Fix the lock screen. 2010-02-09 18:50:08 -08:00
Dirk Dougherty
f3449ee853 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.
2010-02-09 18:48:59 -08:00
San Mehat
6cdd9c0856 MountService: Add isSecureContainerMounted() API call
Signed-off-by: San Mehat <san@google.com>
2010-02-09 18:46:05 -08:00
Dirk Dougherty
e524ff534e 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.
2010-02-09 18:44:18 -08:00
Dirk Dougherty
859f455645 Merge "Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper." into eclair 2010-02-09 18:41:32 -08:00
Dirk Dougherty
d323b4c338 Add generated html docs for SampleSyncAdapter and CubeLiveWallpaper. Add article for live wallpaper.
Change-Id: Idbeda9a677c9772a8348146fe028083d9887a9d2
2010-02-09 18:38:30 -08:00
David 'Digit' Turner
add1376cde 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.
2010-02-09 18:18:55 -08:00
Brad Fitzpatrick
a63730d1f1 Log ContentProvider operations to the EventLog.
Just like with db_operation, operations over 100ms are always logged,
while operations under that are subsampled.

This will help with performance analysis, getting real-world
performance numbers from dogfooders.
2010-02-09 17:49:43 -08:00
Adam Powell
e1d683074b am 87da8606: Manually merged VelocityTracker changes
Merge commit '87da860616009a86e260e49bbefffe12c1a06607'

* commit '87da860616009a86e260e49bbefffe12c1a06607':
  Use a circular buffer in VelocityTracker
2010-02-09 17:35:52 -08:00
Jason Sams
b687581d4c Merge "Preview seperating RenderScript into RenderScript and RenderScriptGL" 2010-02-09 17:08:50 -08:00
Fred Quintana
c4893b71e5 Merge "only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later" 2010-02-09 17:07:47 -08:00
Shimeng (Simon) Wang
de1ef51529 Merge "Regenerate the TopLevelDomain from iana.org website." 2010-02-09 16:40:17 -08:00
Eric Fischer
6909b5a639 Merge "Make the Date Picker fields more consistent in locales with numeric months." 2010-02-09 16:10:57 -08:00
Jason Sams
704ff64b09 Preview seperating RenderScript into RenderScript and RenderScriptGL 2010-02-09 16:05:07 -08:00
Eric Fischer
5fe1e6221e Make the Date Picker fields more consistent in locales with numeric months.
In locales that use month numbers instead of names, use *just* the number
instead of also the word for month to be consistent with the other fields,
which also show just a number instead of a number plus the word for day
or year.

Bug 2289276
2010-02-09 15:58:50 -08:00
Christopher Tate
46d4525abc Print the snapshot focus rather than the Window Manager's actual current focus
when dumping key-timeout information around an ANR.

Change-Id: Ia70a71029663fa134078ea9ab40f0a6a7f3945ea
2010-02-09 15:55:03 -08:00
Mathias Agopian
ba637f8736 Merge "Add support for physically rotated displays" 2010-02-09 15:26:44 -08:00
Alex Gruenstein
cc47fae688 Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults() 2010-02-09 15:25:53 -08:00
Shimeng (Simon) Wang
3ed6fbd9e1 Regenerate the TopLevelDomain from iana.org website.
This is to capture recently added top level domains.
	modified:   common/java/com/android/common/Patterns.java

	modified:   common/tests/src/com/android/common/PatternsTest.java
2010-02-09 15:13:09 -08:00
Andreas Huber
4eaef139cf Merge "Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time..." 2010-02-09 14:28:32 -08:00
Andreas Huber
ffdf4782d4 Defer actual work of setDataSource given a URI to the prepare phase in order to not block the calling thread for any significant amount of time...
related-to-bug: 2431117
2010-02-09 14:27:33 -08:00
Adam Powell
87da860616 Manually merged VelocityTracker changes 2010-02-09 14:25:41 -08:00
Eugene Koh
88e2a5d3d3 Merge "Update DroidSansFallback typeface + preserve legacy version" 2010-02-09 14:24:08 -08:00
Andreas Huber
0dd4df27ad Merge "If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting." 2010-02-09 14:23:30 -08:00
Dianne Hackborn
632aa76422 Merge "New external storage APIs." 2010-02-09 14:22:29 -08:00
Andreas Huber
42c444a8b1 If the codec's input buffer size is too small to accomodate the buffer read from the source, report and error instead of asserting. 2010-02-09 14:21:44 -08:00
Dianne Hackborn
e83cefcef0 New external storage APIs.
This implements the spec for external storage organization, and
properly reflects how the media scanner organizes the files it finds.

Also includes package manager support for removing app private
files from external storage when the application is uninstalled.

For the new APIs and paths, the main place to look is Environment
and Context.
2010-02-09 14:20:55 -08:00
Marco Nelissen
fe3b8e9fe5 Support the disc number and custom genre tags for mp4. 2010-02-09 14:15:38 -08:00
Fred Quintana
751fdc09bb only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later 2010-02-09 14:13:18 -08:00
Leon Scroggins
df737e442e Merge "Set the IME action to GO for normal textfields." 2010-02-09 14:12:07 -08:00
Amith Yamasani
72e5a8820a Merge "Restart input when moving to a new textfield." 2010-02-09 14:09:58 -08:00
Vasu Nori
787372568a Merge "suppress broken tests(http://b/2431671)" 2010-02-09 14:07:43 -08:00
Leon Scroggins
af314e246d Set the IME action to GO for normal textfields. 2010-02-09 17:06:59 -05:00
Ken Shirriff
53d0c7f4a0 Merge "Change key dispatch timeout logging." 2010-02-09 14:05:48 -08:00