18372 Commits

Author SHA1 Message Date
Dirk Dougherty
d74bf16239 Merge "Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper." into eclair 2010-02-10 09:38:01 -08:00
Bart Sears
a1ab976671 Merge "DO NOT MERGE" into eclair 2010-02-10 09:35:37 -08:00
Marco Nelissen
bfcb22a207 Don't create a genre in the database for genre code 255 (unknown) 2010-02-10 09:31:12 -08:00
Grace Kloba
b3316d35ff 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
2010-02-10 09:24:31 -08:00
Bart Sears
1c00e57ca5 am 789b11c7: (-s ours) am 926780b0: Merge "DO NOT MERGE" into eclair
Merge commit '789b11c715af48a0379b8b1f90d7a829ac6a8145'

* commit '789b11c715af48a0379b8b1f90d7a829ac6a8145':
  DO NOT MERGE
2010-02-10 09:24:14 -08:00
Bart Sears
789b11c715 am 926780b0: Merge "DO NOT MERGE" into eclair
Merge commit '926780b023a09d37e8dcf1fabf6fa990f042f06d' into eclair-plus-aosp

* commit '926780b023a09d37e8dcf1fabf6fa990f042f06d':
  DO NOT MERGE
2010-02-10 09:18:37 -08:00
Bart Sears
926780b023 Merge "DO NOT MERGE" into eclair 2010-02-10 09:13:48 -08:00
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
Chander S Pechetty
27f3de6bac 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
2010-02-10 22:14:00 +05:30
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
4154c07c5c StorageNotification: Move notification / usb storage activity into StatusBarPolicy
Signed-off-by: San Mehat <san@google.com>
2010-02-09 19:33:58 -08:00
San Mehat
739e1f8cda Merge "MountService: Add isSecureContainerMounted() API call" 2010-02-09 19:30:34 -08:00
David 'Digit' Turner
0dd50e6126 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.
2010-02-09 19:02:38 -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
9553703476 Repackage samples zip with SampleSyncAdapter and CubeLiveWallpaper.
Change-Id: I63f881739352d91d296c5c07432eeda74b22000a
2010-02-09 18:45:47 -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
Grace Kloba
614f8450a7 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
2010-02-09 18:20:28 -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
Oscar Montemayor
64ef1ce936 Fix for bug 2427961 android.security.tests.SystemKeyStoreTest:testBasicAccess is failing.
Fixed issues in test.
2010-02-09 15:48: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