18566 Commits

Author SHA1 Message Date
Ben Cheng
6c0afff7f0 Detect system-wide safe mode and configure the VM accordingly.
For the system server process, do the disableJitCompilation/startJitCompilation
callbacks depending on whether the system is in safe mode or not.

In addition, if the system is found to be in safe mode, a flag will be set in
the Zygote class which will be used to launch subsequent apps in VM safe mode.

Bug: 2267590
2010-02-16 15:12:55 -08:00
Suchi Amalapurapu
679bba339e Move mount service wrapper calls to PackageHelper
Fix bug related to forward locked apps.
2010-02-16 15:11:04 -08:00
Kenny Root
bb9a51768d Add API to access ICU's East Asian Width
Currently there is no way for an application built against the API to
access East Asian Width data from ICU. This adds an API for applications
to use to access it for correct drawing of international characters.

Change-Id: Iab50698ee555ae2ca8ab4b242cc14aa6e0dc3b48
2010-02-16 15:05:02 -08:00
Daisuke Miyakawa
4a2d3b15ec Merge "Fixing the use of entities in VCardExporter." 2010-02-16 14:55:08 -08:00
Jean-Baptiste Queru
a466f86201 Merge "fix build" 2010-02-16 14:49:44 -08:00
Jean-Baptiste Queru
e3460d7a01 fix build
Change-Id: I08b7d09408530e8c107e2821af7a769fba1c7bd7
2010-02-16 14:49:01 -08:00
Eric Fischer
01c0e997d4 Merge "Keep Rfc822Tokenizer from crashing when the string ends with a backslash." 2010-02-16 14:47:23 -08:00
Andreas Huber
9f56485823 Merge "If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection." 2010-02-16 14:41:14 -08:00
Dmitri Plotnikov
989edfde74 Fixing the use of entities in VCardExporter.
Bug: 2377678
Change-Id: I05768fd2ce28406b1fc32005343fa1eeaaecdd24
2010-02-16 14:40:46 -08:00
Andreas Huber
67e8dfb257 Merge "Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources." 2010-02-16 14:36:45 -08:00
Eric Fischer
a877c03442 Keep Rfc822Tokenizer from crashing when the string ends with a backslash.
Bug 2442537
2010-02-16 14:34:32 -08:00
Andreas Huber
2ae13a9c48 Don't hold the prefetcher mutex while prefetching a single source, the lock protects the list of sources and does not guard access to the individual sources.
related-to- bug: 2413024
2010-02-16 14:24:05 -08:00
Dan Egnor
9d4b575453 Add getInsecure() that returns a persistently insecure SSLSocketFactory,
which Email needs for unbundling.

Bug: 2353593
2010-02-16 14:18:24 -08:00
Patrick Scott
fa4039e4fc Do not include the fragement identifier in the path.
Bug: 2435741
2010-02-16 17:09:03 -05:00
Jean-Baptiste Queru
e5dbbde590 Merge "Expose more Download Manager APIs." 2010-02-16 14:02:31 -08:00
Andreas Huber
57f790f96d If we never triggered a range request but know the content length make sure to not read more data than there could be, otherwise we'd block indefinitely if the server doesn't close the connection.
related-to-bug: 2442307
2010-02-16 14:00:36 -08:00
Costin Manolache
63cfebf2db Switch from REMOTE_INTENT to the new push messaging, add the required permission. 2010-02-16 13:57:52 -08:00
Jean-Baptiste Queru
3af80dc6d9 Expose more Download Manager APIs.
This will allow apps to track download progress.

Change-Id: Id6b77c0fc01b4838fca45e2fe241b1ea08e65038
2010-02-16 13:55:19 -08:00
Jaikumar Ganesh
4f773a1304 AVRCP volume controls for the docks.
Send volume updates to the dock when the user presses volume buttons
on the device.

Bug: 2311007
2010-02-16 13:21:05 -08:00
Mathias Agopian
be16be13c6 Merge "minor cleanup." 2010-02-16 12:56:56 -08:00
Kenny Root
206ce622fc Merge "Fix off-by-one in parse3339 timezone check" 2010-02-16 12:56:29 -08:00
Adam Powell
e421195d75 Merge "Fix for [Horizontal]ScrollView scroll range reporting" 2010-02-16 12:36:29 -08:00
Adam Powell
a2f9101684 Fix for [Horizontal]ScrollView scroll range reporting 2010-02-16 12:26:33 -08:00
Kenny Root
412dc7de6e Fix off-by-one in parse3339 timezone check
parse3339 could read past the end of a string if the timezone was
truncated by one character causing intermittent failures in unit
tests.

Change-Id: I7e1724c6a7b464fdcb5e2b37469eb128303a51f1
2010-02-16 12:16:48 -08:00
Andreas Huber
cf06dd0a8a Merge "The AMRSource failed to properly release a media buffer in case of error." 2010-02-16 11:48:33 -08:00
Bjorn Bringert
bb50863c07 Merge "Remove flaky and broken search tests from continous" 2010-02-16 11:43:23 -08:00
Bjorn Bringert
052e88bb60 Remove flaky and broken search tests from continous
See: http://b/issue?id=2403672

Change-Id: Ie901a746b28a08f0cd6306c515c5fb5cddae4c41
2010-02-16 19:40:11 +00:00
Kenny Root
3619b9abd8 Fix dumpsys activity service <name>
Refactoring of the dumpsys framework introduced a comparison that
always made the action dump all the services.

Change-Id: I1f3ac2bd903e39e2a6e8632e8cbb23a982dfe0c6
2010-02-16 11:06:38 -08:00
James Dong
62ed7a6d4a Merge "Support decoder queries from media profiles xml configuration file" 2010-02-16 10:59:13 -08:00
Dianne Hackborn
8afd7c1c94 Merge "Small oom_adj tweaks." 2010-02-16 10:55:30 -08:00
Dianne Hackborn
5ce7d28a07 Small oom_adj tweaks.
Include a proper name for processes that are in the background
with running services that have been running for a long time (instead
of showing them as bg-empty).

Batch together multiple processes into the same background bin when
there are significantly more processes than bins.  Arguably this
should be smarter and base the binning on the number of background/empty
processes instead of the total count, but this should be good
enough for now.
2010-02-16 10:54:49 -08:00
Shimeng (Simon) Wang
e8cb5ab7c0 Merge "Enhance URL regular expression to match more Unicode chars." 2010-02-16 10:49:37 -08:00
Andreas Huber
bc8342721d The AMRSource failed to properly release a media buffer in case of error.
related-to-bug: 2441307
2010-02-16 10:46:02 -08:00
Adam Powell
3d0ff09e35 Merge "VelocityTracker now uses pointer id instead of index when referring to multiple pointers. VelocityTracker now correctly handles multitouch. Addresses http://b/issue?id=2439030" 2010-02-16 10:14:05 -08:00
Adam Powell
70bc217703 Merge "Added proper overscrolling scroll bar behavior to GridView" 2010-02-16 10:13:52 -08:00
Steve Block
cdb4ef4cdb Sorts the lists of tests in DumpRenderTree in preparation for cleaning up the lists. 2010-02-16 18:03:49 +00:00
Paul Westbrook
cdb77d0f95 Merge "Download Manager API to support Gmail" 2010-02-16 09:52:08 -08:00
Doug Zongker
146c4a53b5 Merge "remove Base64 from android-common" 2010-02-16 09:28:03 -08:00
Paul Westbrook
b9dfb9b403 Download Manager API to support Gmail
Adds APIs to the Download manager to handle downloads based on
opaque ids
2010-02-16 09:25:40 -08:00
Suchi Amalapurapu
642b7c0f19 Merge "Include install location preference when installing packages. Changes include Add new remote call in default container service to determine install location. Rename INSTALL_ON_SDCARD Remove recommentAppInstall method Add some additional flags used in remote stubs. Move check for protected apps prior to copy. Unit tests" 2010-02-16 09:23:51 -08:00
Doug Zongker
241379081e update current.xml to fix build
This (new) constant was renamed; forgot to make update-api.

Change-Id: I11ad63f70fc7e266abdc9863b43bf5307227c656
2010-02-16 09:06:32 -08:00
Doug Zongker
85cc7b37f5 use framework base64 implementation
Change-Id: Ib1dc595e53d64901f81d06350c6ab9b138beff7e
2010-02-16 08:52:31 -08:00
Doug Zongker
c694aa7597 Merge "tweak the Base64 implementation" 2010-02-16 08:49:38 -08:00
Doug Zongker
9df2ffd420 tweak the Base64 implementation
- move the encodeInternal/decodeInternal methods into the inner
  "state" classes

- tighten up the inner loop of the encoder and decoder a bit, saving
  about 5% of time in both cases

- improve javadoc

- other little fixes

Change-Id: I72e0ce8502c664a32418cea04636ccdbf4fec17c
2010-02-16 08:48:52 -08:00
Bernd Holzhey
bfca3a0056 Add the automatic handling of night/notnight UI modes.
The automatic switching between night/notnight is based on the calulcation of
the civil twilight of the current location. The location is mainly retrieved
from the NetworkLocationProvider.

Automatic switching will only be available, when
1) the device is in UI_MODE_TYPE_CAR
2) the setting for the UI mode are set to 'automatic'

If mode is set to automatic, the next twilight is caluclated and
an alarm is set that timestamp. The alarm will trigger a new calculation
of the twilight and sets the UI_MODE_NIGHT to the appropriate value.

	modified:   services/java/com/android/server/DockObserver.java
	new file:   services/java/com/android/server/TwilightCalculator.java
2010-02-16 17:10:39 +01:00
Eric Laurent
9ce379aef1 Fix issue 2440226: Car dock volume synchronization.
AudioService now sends intent AudioManager.VOLUME_CHANGED_ACTION  when the volume is changed
on any stream type (previously the intent was sent only for STREAM_BLUETOOTH_SCO stream).
A new extra for previous volume value is added to the intent.
2010-02-16 06:40:20 -08:00
Leon Scroggins
bd27544098 Set up the WebTextView before setting its selection.
Fixes http://b/issue?id=2431351
2010-02-16 09:34:47 -05:00
Steve Block
07a76ca009 Removes tests from DumpRenderTree skipped list where the corresponding bugs have been fixed. 2010-02-16 11:18:36 +00:00
Daisuke Miyakawa
103d53645c Make vCard importer use Organization name when there's no other information available.
Some Contacts users are accustomed to use Organization as a name of the contact when the target contact is for some oraginazion like company, etc., so this change makes sense.

Bug: 2310146
2010-02-16 12:33:01 +09:00
Daisuke Miyakawa
51e43a3481 Add error handling codes into vCard composer.
Bug: 2377678
2010-02-15 09:34:32 +09:00