18701 Commits

Author SHA1 Message Date
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
android-build SharedAccount
f8bb2a9ad0 am 5d72a8dd: cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
Merge commit '5d72a8dda22cdb0c8e1ded1ca5e5122b0c25bcc7' into eclair-plus-aosp

* commit '5d72a8dda22cdb0c8e1ded1ca5e5122b0c25bcc7':
  cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
2010-02-16 12:53:04 -08:00
android-build SharedAccount
5d72a8dda2 cherry pick d60e29009c1049a9776e6630e9489e1ef3f83491
Revert "Add null checks when scanning a package."
This reverts commit 9e7ac3ba8405f22c11629091449ff35a06b72055.
2010-02-16 15:45:42 -05: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
Doug Zongker
fb45088976 remove Base64 from android-common
This is now available in the framework as android.util.base64.*;

Change-Id: I54901d32b2b5b291cfa0b4c2479b805038ba12ac
2010-02-14 15:31:27 -08:00
Dan Egnor
1c9131c91f Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
2010-02-13 12:40:12 -08:00
Wink Saville
5b31fdae60 am 58d6a20c: am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair
Merge commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1'

* commit '58d6a20cfaa55ebe269ac0736999b90c3227b0c1':
  Always assume evdoXxxx signal strength values are correct.
2010-02-13 09:48:43 -08:00
Wink Saville
58d6a20cfa am 6b178e47: Merge "Always assume evdoXxxx signal strength values are correct." into eclair
Merge commit '6b178e472266052b4a9b28b1e4a5cef07f1ebf8b' into eclair-plus-aosp

* commit '6b178e472266052b4a9b28b1e4a5cef07f1ebf8b':
  Always assume evdoXxxx signal strength values are correct.
2010-02-13 09:42:07 -08:00
Wink Saville
6b178e4722 Merge "Always assume evdoXxxx signal strength values are correct." into eclair 2010-02-13 09:36:17 -08:00
Wink Saville
7d97ff10c7 Always assume evdoXxxx signal strength values are correct.
This solves a race condition between the network type changing and
a signal strength changing. This could cause StatusBarPolicy to see
the -1 values for the evdo strength parameters and hence 0 bars would
be displayed.

Bug: 2419251
Change-Id: Iba0bdbd2023b6a5e49fc1f82c997ec3219158286
2010-02-13 07:56:20 -08:00
Daniel Sandler
0e9d2af2d6 New user interface sound effects:
- Low battery. (http://b/2320026)
 - Dock/undock events.
 - Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
2010-02-12 23:26:12 -05:00
Adam Powell
73d8fca6ba 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-12 19:35:40 -08:00
Suchi Amalapurapu
5b993ce7bc 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

DefaultContainerService first parses the file uri(if content uri is specified
it returns a default install internal only value) and returns
a recommended location. Based on which the temporary id is determined
either a file name or a container id and the file is copied there.
This is then later renamed during install.
Todo's light weight parsing of package when determining location since we
just need the install location attribute only when finding out
recomended location. This will also enable to move the check for
updated system apps(cannot be on sdcard) prior to copying.
2010-02-12 18:50:47 -08:00
Mathias Agopian
08956f04c6 minor cleanup. 2010-02-12 18:50:28 -08:00
James Dong
d32fba411f Support decoder queries from media profiles xml configuration file 2010-02-12 18:15:45 -08:00
Doug Zongker
8fe5571aa4 fix build breakage due to javadoc error
Change-Id: Ie74e8e43a018fce0eaf34efead206ae03b82830a
2010-02-12 18:00:30 -08:00
Xavier Ducrohet
7cea964212 am ddcf25ea: (-s ours) am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Merge commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4'

* commit 'ddcf25ea7e1b21b908da73000630c72d6fa146b4':
  Add --auto-add-overlay option to aapt. DO NOT MERGE
2010-02-12 17:55:17 -08:00
Xavier Ducrohet
ddcf25ea7e am 2be56ccb: Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair
Merge commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a' into eclair-plus-aosp

* commit '2be56ccbcff9d5f7b9b3cc0fed3825d4f037ff6a':
  Add --auto-add-overlay option to aapt. DO NOT MERGE
2010-02-12 17:52:28 -08:00
Dianne Hackborn
b125dc5599 Fix MotionEvent pointer API.
Ooops.  The API said that the pointer down and up actions contained
the pointer id, but it is actually the index.  Actually it makes
much more sense for it to be the index, and those ACTION_POINTER_1_DOWN
etc. constants were stupid.
2010-02-12 17:52:22 -08:00