18474 Commits

Author SHA1 Message Date
Gilles Debunne
fd3ddfa6f0 List.GetCheckItemIds no longer includes unchecked items.
Unchecked items remain in the mCheckStates with an associated false value.
Now filtered out.

Added a unit test to ensure non regression.

Change-Id: If0b1a38aa06881055c87a97b3afb2c7fb48656f1
http://b/issue?id=2440815
2010-02-18 10:24:09 -08:00
Adam Powell
70bc217703 Merge "Added proper overscrolling scroll bar behavior to GridView" 2010-02-16 10:13:52 -08: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
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
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
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
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
Xavier Ducrohet
2be56ccbcf Merge "Add --auto-add-overlay option to aapt. DO NOT MERGE" into eclair 2010-02-12 17:48:36 -08:00
Doug Zongker
d382e4bee9 Merge "@hide the bizarro Base64 stream constructors" 2010-02-12 17:45:45 -08:00
Doug Zongker
33f7a80f76 @hide the bizarro Base64 stream constructors
With no usages of these "backwards" streams, it's not clear that we
want to support them forever in the API.

Also fixed some badly cut-and-pasted javadoc.

Change-Id: I4811d22e493bf2b8eaf79b9e95526e7eab5f27ee
2010-02-12 17:41:40 -08:00
Xavier Ducrohet
b9d2dc2319 Add --auto-add-overlay option to aapt. DO NOT MERGE
This option allows resources only present in overlays to be
added automatically instead of being declared through <add-resource>

(merge from master)

Change-Id: I5f402a1fa7213d18724d91f84bc05ef39ace2ed9
2010-02-12 17:37:50 -08:00
Jason Sams
6f8a3dfa6b Merge "Add comment block matching the type defines added by RS." 2010-02-12 17:26:46 -08:00
Jason Sams
941533186c Add comment block matching the type defines added by RS. 2010-02-12 17:25:47 -08:00
Doug Zongker
d2affae13d add a Base64 implementation to the API
b/1413917 - RFE: Base64 utility class
Change-Id: I11697859e1f78f596b92d2e03a49ed1be04ae42d
2010-02-12 17:13:56 -08:00
Gloria Wang
190dd57fb8 Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression)" 2010-02-12 17:04:29 -08:00
Gloria Wang
8d00b53cc4 Replace Tremor with Tremolo (an ARM optimised version of the Tremor library for doing Ogg Vorbis decompression) 2010-02-12 16:46:40 -08:00
Chris Tate
cf36010357 Merge "Remove BACKUP_DATA permission and associated checks" 2010-02-12 16:30:39 -08:00
Dianne Hackborn
d705fd2b0a Tweak updatecmds to be able to move entire directories. 2010-02-12 16:29:50 -08:00
Gilles Debunne
f5c6eff63d Force layout on TableRows when column widths are shrinked or streched.
Also features some comment typos and import re-ordering.

Change-Id: I32cb14419d7d349064032718469daf62a0a72e3a
2010-02-12 15:57:12 -08:00
Adam Powell
f2a204e792 Added proper overscrolling scroll bar behavior to GridView 2010-02-12 15:54:59 -08:00
Gilles Debunne
a10b48d5a5 Merge "Closed tabs removed from layout." 2010-02-12 15:50:05 -08:00
Christopher Tate
a87240c227 Remove BACKUP_DATA permission and associated checks
Any package can now participate in backup/restore, without requiring any
manifest-declared permission.  *Control* of the backup manager is still
guarded by the BACKUP permission, which is signatureOrSystem.

Change-Id: I116fcfcd4cd255e3c976330da1c4dea7d4faae9d
2010-02-12 15:49:30 -08:00
Scott Main
7e7605ace9 am de7b14f9: am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair
Merge commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9'

* commit 'de7b14f9ab3df84bcb6af0775e96cab02648cbd9':
  docs: remove old tutorial and sample pages from the sitemap
2010-02-12 15:35:58 -08:00
Mike LeBeau
60d21566fc Merge "Really fix the build - one more change to SearchDialog which shouldn't have been submitted." 2010-02-12 15:30:42 -08:00
Mike LeBeau
0ffc570598 Really fix the build - one more change to SearchDialog which shouldn't have
been submitted.
2010-02-12 15:30:12 -08:00
Scott Main
de7b14f9ab am 19bc31c3: Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair
Merge commit '19bc31c32d75ebebacd85cac2cf4c31108329613' into eclair-plus-aosp

* commit '19bc31c32d75ebebacd85cac2cf4c31108329613':
  docs: remove old tutorial and sample pages from the sitemap
2010-02-12 15:29:27 -08:00
Mike LeBeau
85c4e99382 Merge "Oops, unbreak the build by removing Recognition.java, not intended for submission at this time." 2010-02-12 15:27:12 -08:00
Mike LeBeau
5741848d1e Oops, unbreak the build by removing Recognition.java, not intended for
submission at this time.
2010-02-12 15:26:22 -08:00
Scott Main
19bc31c32d Merge "docs: remove old tutorial and sample pages from the sitemap" into eclair 2010-02-12 15:25:44 -08:00
Scott Main
17b583b71d docs: remove old tutorial and sample pages from the sitemap 2010-02-12 15:24:13 -08:00
Jim Miller
de3cf7ea1f Merge "Watch 2274882: Add a field to the db when we wipe due to an error in the upgrader." 2010-02-12 15:20:40 -08:00
Brad Fitzpatrick
0a3e94d017 Merge "Log previous SQL statement also when logging "COMMIT;" operations." 2010-02-12 15:20:14 -08:00