OSDN Git Service

android-x86/development.git
14 years agoMerge change I8404ae5f into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 21:00:08 +0000 (13:00 -0800)]
Merge change I8404ae5f into eclair

* changes:
  Move some scripts that were in development/tools/scripts back in this project

14 years agoMerge change Ia7f1d23e into eclair
Android (Google) Code Review [Wed, 2 Dec 2009 20:59:48 +0000 (12:59 -0800)]
Merge change Ia7f1d23e into eclair

* changes:
  Update sdk build to use the new folders in sdk/

14 years agoMake Gesturebuilder build like a sample.
Xavier Ducrohet [Wed, 2 Dec 2009 02:31:34 +0000 (18:31 -0800)]
Make Gesturebuilder build like a sample.

Change-Id: I42f097fbb46631de9bb088d7aeade971480c72ae

14 years agoUpdate sdk build to use the new folders in sdk/
Xavier Ducrohet [Tue, 1 Dec 2009 21:20:59 +0000 (13:20 -0800)]
Update sdk build to use the new folders in sdk/

Change-Id: Ia7f1d23e452b4b493dc4456f8fedd4dd3d2b006f

14 years agoMove some scripts that were in development/tools/scripts back in this project
Xavier Ducrohet [Tue, 1 Dec 2009 21:03:49 +0000 (13:03 -0800)]
Move some scripts that were in development/tools/scripts back in this project

They were moved into sdk/scripts when sdk was split from development.

Change-Id: I8404ae5fdeb9060adb76357f29b42c4c8e2054ee

14 years agoAdd API demo for services that run in the foreground.
Dianne Hackborn [Thu, 26 Nov 2009 00:40:52 +0000 (16:40 -0800)]
Add API demo for services that run in the foreground.

Change-Id: I7acb0817e5d738294bef02ca2df3c2ab18b45f60

14 years agoMerge change Icb96cddc into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 00:59:36 +0000 (16:59 -0800)]
Merge change Icb96cddc into eclair

* changes:
  Cleanup installed binaries before the NDK build begins.

14 years agoMerge change I44da0c8f into eclair
Android (Google) Code Review [Tue, 24 Nov 2009 00:59:17 +0000 (16:59 -0800)]
Merge change I44da0c8f into eclair

* changes:
  Correct the raw offsets in the time zone index for a few zones.

14 years agoCorrect the raw offsets in the time zone index for a few zones.
Eric Fischer [Tue, 24 Nov 2009 00:30:34 +0000 (16:30 -0800)]
Correct the raw offsets in the time zone index for a few zones.

ZoneCompactor was using the system time zone database to get the offsets
instead of using the data it was compiling, so for newly added or recently
changed zones the index could be inconsistent with the data.

Affected zones: San_Luis, Casey, Davis, Mawson, Kathmandu, Novokuznetsk

14 years agoCleanup installed binaries before the NDK build begins.
David 'Digit' Turner [Tue, 24 Nov 2009 00:12:12 +0000 (16:12 -0800)]
Cleanup installed binaries before the NDK build begins.

Ensures that no stale/obsolete shared libraries are left in the
application's project path before the build.

Also fix a minor typo that made the ABI selection process not
work properly in certain cases.

14 years agoRemove placeholder "-" label text, that was breaking the build.
Roman Nurik [Mon, 23 Nov 2009 22:54:57 +0000 (17:54 -0500)]
Remove placeholder "-" label text, that was breaking the build.

14 years agoFresh new change for:
Roman Nurik [Mon, 23 Nov 2009 22:11:04 +0000 (17:11 -0500)]
Fresh new change for:
  Add Live Folder support to NotePad sample, and add new icons for the app and Live Folder (separate for Donut and Eclair).

Previous change 33290 was screwed up.

Xav, please pardon a repo newbie!

14 years agoMerge change I4ba0290a into eclair
Android (Google) Code Review [Mon, 23 Nov 2009 21:45:14 +0000 (13:45 -0800)]
Merge change I4ba0290a into eclair

* changes:
  Add Multiple Resolutions (MultiRes) sample code.

14 years agoam 1558abd6: Merge change I53e268db into eclair-sdk
Scott Main [Mon, 23 Nov 2009 18:07:10 +0000 (10:07 -0800)]
am 1558abd6: Merge change I53e268db into eclair-sdk

Merge commit '1558abd6d3706380cf4634c151ee7952e0b317fb' into eclair

* commit '1558abd6d3706380cf4634c151ee7952e0b317fb':
  docs: make the apidemos app index page only display the

14 years agoMerge change I53e268db into eclair-sdk
Android (Google) Code Review [Mon, 23 Nov 2009 17:57:22 +0000 (09:57 -0800)]
Merge change I53e268db into eclair-sdk

* changes:
  docs: make the apidemos app index page only display the shortcut links when the docs are online, because these links will not resolve when the docs are offline.

14 years agoAdd Multiple Resolutions (MultiRes) sample code.
Roman Nurik [Mon, 16 Nov 2009 20:23:42 +0000 (15:23 -0500)]
Add Multiple Resolutions (MultiRes) sample code.

14 years agoMerge change Ifb9dee6f into eclair
Android (Google) Code Review [Sat, 21 Nov 2009 00:44:45 +0000 (16:44 -0800)]
Merge change Ifb9dee6f into eclair

* changes:
  Add support for armeabi-v7a to the NDK.

14 years agodocs: make the apidemos app index page only display the
Scott Main [Fri, 20 Nov 2009 22:38:29 +0000 (14:38 -0800)]
docs: make the apidemos app index page only display the
shortcut links when the docs are online, because these
links will not resolve when the docs are offline.

this is a silly hack, but a temporary one until these
samples are moved.

Change-Id: I53e268db265cec143ca5e561ca2d6b4df3dba3e2

14 years agoUpdate zoneinfo time zone data to version 2009s
Eric Fischer [Fri, 20 Nov 2009 22:37:35 +0000 (14:37 -0800)]
Update zoneinfo time zone data to version 2009s

http://b/issue?id=2272477

14 years agoAdd support for armeabi-v7a to the NDK.
David 'Digit' Turner [Thu, 19 Nov 2009 02:05:55 +0000 (18:05 -0800)]
Add support for armeabi-v7a to the NDK.

This patch modifies the NDK build scripts to support the 'armeabi-v7a' ABI.
(For the record, it corresponds to Thumb-2 + FPU support, to speed up native
code on certain devices like the Droid).

To build for this ABI, the Application.mk file should use a line like:

  APP_ABI := armeabi-v7a

It is also possible to build for both 'armeabi' and 'armeabi-v7a' by using:

  APP_ABI := armeabi armeabi-v7a

This will result in the generation of two distinct shared libraries that both
will be copied to the final application package.

This is dependent on having GCC 4.4.0 prebuilt binaries under
build/prebuilt/<host>/arm-eabi-4.4.0, since gcc 4.2.1 does not support
this new ABI.

Note that this also changes the NDK to use gcc 4.4.0 by default, unless
the user defines NDK_TOOLCHAIN to 'arm-eabi-4.2.1' in its environment to
switch back to the previous one.

14 years agoMerge change I3f0d5eb5 into eclair
Android (Google) Code Review [Thu, 19 Nov 2009 21:45:53 +0000 (13:45 -0800)]
Merge change I3f0d5eb5 into eclair

* changes:
  Update the build-toolchain.sh script.

14 years agoUpdate the build-toolchain.sh script.
David 'Digit' Turner [Thu, 19 Nov 2009 01:03:52 +0000 (17:03 -0800)]
Update the build-toolchain.sh script.

This patch modifies the script to be able to build all prebuilt toolchain
binaries in a single call. I.e. if passed a recent toolchain source package
generated with download-toolchain-sources.sh, then it will build both
GCC 4.2.1 and GCC 4.4.0 and place them in the final prebuilt tarball.

We need this because, while we're going to switch to gcc 4.4.0 by default
in a new version of the NDK, the 4.4.0 C++ compiler is more strict about
various constructs and might refuse to build certain sources. An option
will be given to application developers to use 4.2.1 instead, to keep their
sources building.

Other changes include:

Move all builds into a random temporary directory under /tmp by default,
unless you use --build-out=<path>.

Cleanup the build out directory on succesful build

The generated tarball is now named android-ndk-prebuilt-<date>-<host>.tar.bz2
by default, unless you use the new --release=<name> option which will replace
<date> with <name> instead.

Removal of un-needed files (e.g. info or man pages, libiberty static library,
etc..) to reduce the size of the final tarball.

14 years agoresolved conflicts for merge of 19cb54ea to eclair
Xavier Ducrohet [Thu, 19 Nov 2009 01:07:11 +0000 (17:07 -0800)]
resolved conflicts for merge of 19cb54ea to eclair

Change-Id: I182195aeaad88aebc82988b1cec9ebda0c359bc8

14 years agoRemove components that were moved to sdk.git and update build scripts.
Xavier Ducrohet [Tue, 17 Nov 2009 23:11:59 +0000 (15:11 -0800)]
Remove components that were moved to sdk.git and update build scripts.

14 years agoMerge change I6809bd44 into eclair
Android (Google) Code Review [Tue, 17 Nov 2009 03:39:13 +0000 (19:39 -0800)]
Merge change I6809bd44 into eclair

* changes:
  SDK Manager: XML Schema for sdk-repository v2

14 years agoSDK Manager: XML Schema for sdk-repository v2
Raphael [Tue, 17 Nov 2009 02:00:59 +0000 (18:00 -0800)]
SDK Manager: XML Schema for sdk-repository v2

v2 will be a full standalone schema, not reusing any parts of v1.
Each package type is now defined using a named type, which means
a v3 version would redifine the top element and could include
some named types of v2.

Unfortunately we cannot *extend* the top element from v1 because
extension in XML Schema seems to imply a sequence (i.e. fixed order)
whereas we use a "choice" mode to have 0..N of each types in any
order.

SDK BUG 2252825

Change-Id: I6809bd4486ef2d7f2473995ed5a0abb7fa377bdd

14 years agoMerge change I8d8b5816 into eclair
Android (Google) Code Review [Mon, 16 Nov 2009 22:53:57 +0000 (14:53 -0800)]
Merge change I8d8b5816 into eclair

* changes:
  Update build-toolchain.sh to be able to build gcc 4.4.0

14 years agoMerge change If72f81fb into eclair
Android (Google) Code Review [Mon, 16 Nov 2009 22:53:45 +0000 (14:53 -0800)]
Merge change If72f81fb into eclair

* changes:
  Add a script to download and package the toolchain sources.

14 years agoam f4c63fae: SDK Manager support for future schemas.
Raphael [Mon, 16 Nov 2009 22:25:49 +0000 (14:25 -0800)]
am f4c63fae: SDK Manager support for future schemas.

Merge commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8' into eclair

* commit 'f4c63fae0c6d0654ab49e05b3292e218f82f97d8':
  SDK Manager support for future schemas.

14 years agoSDK Manager support for future schemas.
Raphael [Mon, 16 Nov 2009 21:51:15 +0000 (13:51 -0800)]
SDK Manager support for future schemas.

This CL cleans up the v2 test by removing all v2 stuff
from the code right now. We only keep the part that
handles future schemas and right now the latest version is 1.

Change-Id: I31e6aeaf0582e94c67e1cc8317bec479ea7a52e7

14 years agoresolved conflicts for merge of 0da4f158 to eclair
Raphael [Mon, 16 Nov 2009 21:06:54 +0000 (13:06 -0800)]
resolved conflicts for merge of 0da4f158 to eclair

Fixes a merge eclair-sdk => eclair conflict of
  SDK Manager: phase 1 of support for future schemas
  SDK BUG 2252825

Change-Id: I7530bdb7315439416abad114ef59208f8d4b3ab8

14 years agoMerge change If1bda264 into eclair-sdk
Android (Google) Code Review [Mon, 16 Nov 2009 20:53:09 +0000 (12:53 -0800)]
Merge change If1bda264 into eclair-sdk

* changes:
  SDK Manager: phase 1 of support for future schemas

14 years agoam b624370d: (-s ours) Rename the layout device from ION to ADP2. (do not merge)
Xavier Ducrohet [Mon, 16 Nov 2009 20:50:17 +0000 (12:50 -0800)]
am b624370d: (-s ours) Rename the layout device from ION to ADP2. (do not merge)

Merge commit 'b624370d795cd1e17fcd9960c98c01463c23757f' into eclair

* commit 'b624370d795cd1e17fcd9960c98c01463c23757f':
  Rename the layout device from ION to ADP2. (do not merge)

14 years agoUpdate build-toolchain.sh to be able to build gcc 4.4.0
David 'Digit' Turner [Mon, 16 Nov 2009 19:39:52 +0000 (11:39 -0800)]
Update build-toolchain.sh to be able to build gcc 4.4.0

Update the script used to build the prebuilt toolchain binaries.
There are now two ways to use it:

1/ As usual, just invoke it and it will download the source tarball,
   uncompress it, configure the toolchain sources, build them, then
   package the result into a 'prebuilt' tarball.

2/ Generate a new source tarball with the 'download-toolchain-sources.sh'
   script, and invoke build-toolchain.sh with the --package=<tarball>
   option.

Additionally, you can now specify --gcc-version=4.4.0 to build GCC 4.4.0
(with ARMv7 / FPU support)

The option --gdb-version=6.8 has been added but the build doesn't seem
to work yet. This will probably be fixed in the toolchain git repository
though.

This will be used to refresh the NDK with gcc 4.4.0 prebuilts and support
for armeabi-v7a soon.

14 years agoSDK Manager: phase 1 of support for future schemas
Raphael [Sun, 15 Nov 2009 05:30:27 +0000 (21:30 -0800)]
SDK Manager: phase 1 of support for future schemas

This is phase 1 of the support for future schemas:
- introduces a new v2 of the XSD
- handles an unknown XSD and extract its tools elements after
  some hand checks.

TODO in phase 2:
- we still need to iron out the details of the sample node.
- there's no support for samples yet... this commit is not
  about switching the sample code support to the new structure.
- there's no indication to the user that we are handling a new
  schema... there should be some visual clue on why only the
  tools are shown.

SDK BUG 2252825

Change-Id: If1bda26414cfe15275063d3187a98be6301d2992

14 years agoAdd a script to download and package the toolchain sources.
David 'Digit' Turner [Mon, 16 Nov 2009 19:26:06 +0000 (11:26 -0800)]
Add a script to download and package the toolchain sources.

download-toolchain-sources.sh will download the current toolchain sources
from our git repositories then finely package them into a compressed
tarball that will later be used to rebuild the prebuilt binaries properly.

Due to the way our sources are stored in the git repository, the sources
in the tarball are laid out slightly differently than in the original toolchain
source archive used for NDK 1.6.

An upcoming patch will modify build-toolchain.sh to deal with the difference
and also allow the build of gcc-4.4.0 and gdb-6.8.

14 years agoRename the layout device from ION to ADP2. (do not merge)
Xavier Ducrohet [Mon, 16 Nov 2009 01:02:26 +0000 (17:02 -0800)]
Rename the layout device from ION to ADP2. (do not merge)

This is integrated from Eclair.

14 years agoMerge change I5a66bbdf into eclair
Android (Google) Code Review [Mon, 16 Nov 2009 19:21:10 +0000 (11:21 -0800)]
Merge change I5a66bbdf into eclair

* changes:
  Rename the layout device from ION to ADP2.

14 years agoRename the layout device from ION to ADP2.
Xavier Ducrohet [Mon, 16 Nov 2009 01:02:26 +0000 (17:02 -0800)]
Rename the layout device from ION to ADP2.

Change-Id: I5a66bbdf68772504cac2379ea85edb88c77f2fde

14 years agoMerge change I62823795 into eclair
Android (Google) Code Review [Sun, 15 Nov 2009 21:22:41 +0000 (13:22 -0800)]
Merge change I62823795 into eclair

* changes:
  Move source.properties for doc in sync with 2.0.1

14 years agoMove source.properties for doc in sync with 2.0.1
Xavier Ducrohet [Sun, 15 Nov 2009 21:16:01 +0000 (13:16 -0800)]
Move source.properties for doc in sync with 2.0.1

Change-Id: I6282379532159de597aaec50cad81b14a0c895ce

14 years agoMerge change I229c60a9 into eclair
Android (Google) Code Review [Sun, 15 Nov 2009 21:14:47 +0000 (13:14 -0800)]
Merge change I229c60a9 into eclair

* changes:
  Move source.properties for platform in sync with 2.0.1

14 years agoMove source.properties for platform in sync with 2.0.1
Xavier Ducrohet [Sun, 15 Nov 2009 20:52:56 +0000 (12:52 -0800)]
Move source.properties for platform in sync with 2.0.1

Change-Id: I229c60a97138c70bb9b27bd0aa60670b882cb711

14 years agoam d2ad5e31: Merge change I361fb688 into eclair-sdk
Raphael [Sat, 14 Nov 2009 22:39:52 +0000 (14:39 -0800)]
am d2ad5e31: Merge change I361fb688 into eclair-sdk

Merge commit 'd2ad5e31b829f609c76f2352cbdb964c0a4434e6' into eclair

* commit 'd2ad5e31b829f609c76f2352cbdb964c0a4434e6':
  SDK Manager: fix, create temp folder before download

14 years agoMerge change I361fb688 into eclair-sdk
Android (Google) Code Review [Sat, 14 Nov 2009 22:32:27 +0000 (14:32 -0800)]
Merge change I361fb688 into eclair-sdk

* changes:
  SDK Manager: fix, create temp folder before download

14 years agoMerge change Ic2680af0 into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 02:55:47 +0000 (18:55 -0800)]
Merge change Ic2680af0 into eclair

* changes:
  Cleanup for coverage.

14 years agoCleanup for coverage.
Brett Chabot [Sat, 14 Nov 2009 02:33:43 +0000 (18:33 -0800)]
Cleanup for coverage.

Fix constructor call in coverage.py
Remove obsolete improvider from coverage targets.

Change-Id: Ic2680af0aa84c705a6bc05a897461eeeaeeeb1cc

14 years agoMerge change I00c840bb into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 01:49:55 +0000 (17:49 -0800)]
Merge change I00c840bb into eclair

* changes:
  Import revised translations.

14 years agoImport revised translations.
Eric Fischer [Sat, 14 Nov 2009 01:11:59 +0000 (17:11 -0800)]
Import revised translations.

Approver: jerryw

14 years agoam 7e48a700: (-s ours) Use SWT to write PNG screenshot now that we moved to SWT 3...
Xavier Ducrohet [Sat, 14 Nov 2009 00:27:51 +0000 (16:27 -0800)]
am 7e48a700: (-s ours) Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)

Merge commit '7e48a7003ad28f8b45a45a24fc479b3a237727f1' into eclair

* commit '7e48a7003ad28f8b45a45a24fc479b3a237727f1':
  Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)

14 years agoUse SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)
Xavier Ducrohet [Thu, 12 Nov 2009 21:25:09 +0000 (13:25 -0800)]
Use SWT to write PNG screenshot now that we moved to SWT 3.3+ (do not merge)

BUG 2256562

This is integrated from eclair

14 years agoMerge change I9a181cb7 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:42:46 +0000 (15:42 -0800)]
Merge change I9a181cb7 into eclair

* changes:
  Use SWT to write PNG screenshot now that we moved to SWT 3.3+

14 years agoPut this change back, false alert with build breakage
Android Git Automerger [Fri, 13 Nov 2009 20:26:06 +0000 (12:26 -0800)]
Put this change back, false alert with build breakage

This reverts commit a9046e418e539e208af6f3723a513666074ec6a1.

14 years agoFix build by Reverting "Remove surface from rs init and handle surfaceChanged correctly."
Android Git Automerger [Fri, 13 Nov 2009 19:40:40 +0000 (11:40 -0800)]
Fix build by Reverting "Remove surface from rs init and handle surfaceChanged correctly."

This reverts commit 18e1486a2749055414579f487b125021eb79b8ca.

14 years agoSDK Manager: fix, create temp folder before download
Raphael [Fri, 13 Nov 2009 01:15:54 +0000 (17:15 -0800)]
SDK Manager: fix, create temp folder before download

SDK BUG 2258237

Change-Id: I361fb688558539e20af50cd0a1d805ddf4ea4828

14 years agoRemove surface from rs init and handle surfaceChanged correctly.
Jason Sams [Thu, 12 Nov 2009 22:10:30 +0000 (14:10 -0800)]
Remove surface from rs init and handle surfaceChanged correctly.

14 years agoUse SWT to write PNG screenshot now that we moved to SWT 3.3+
Xavier Ducrohet [Thu, 12 Nov 2009 21:25:09 +0000 (13:25 -0800)]
Use SWT to write PNG screenshot now that we moved to SWT 3.3+

BUG 2256562

Change-Id: I9a181cb799b1eadc027d6357c100fc4dfb0db012

14 years agoAdd contacts launch performance test definition.
Brett Chabot [Thu, 12 Nov 2009 19:47:16 +0000 (11:47 -0800)]
Add contacts launch performance test definition.

Change-Id: I8d4376e676a682c59accbb129a4d77efb5696e28

14 years agoMerge change I6fd4cd01 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 19:20:09 +0000 (11:20 -0800)]
Merge change I6fd4cd01 into eclair

* changes:
  Add an overlay to make the latinIME the default one in the SDK

14 years agoAdd an overlay to make the latinIME the default one in the SDK
Xavier Ducrohet [Wed, 11 Nov 2009 02:14:11 +0000 (18:14 -0800)]
Add an overlay to make the latinIME the default one in the SDK

BUG 2225111

Change-Id: I6fd4cd0159f1eb90b78e3398a8e97d74d6396f9f

14 years agomake consistent with new RegisteredServicesCache API
Fred Quintana [Mon, 9 Nov 2009 23:47:36 +0000 (15:47 -0800)]
make consistent with new RegisteredServicesCache API

14 years agoUpdate live wallpaper examples to new api.
Marco Nelissen [Mon, 9 Nov 2009 23:45:02 +0000 (15:45 -0800)]
Update live wallpaper examples to new api.

14 years agoam 8ccddf4c: Merge change Id49751eb into eclair-sdk
Raphael [Mon, 9 Nov 2009 19:59:37 +0000 (11:59 -0800)]
am 8ccddf4c: Merge change Id49751eb into eclair-sdk

Merge commit '8ccddf4c00464c6fee998d56da1f08b4662abf62' into eclair

* commit '8ccddf4c00464c6fee998d56da1f08b4662abf62':
  SDK Manager: reuse complete downloads, retry Windows locks.

14 years agoMerge change I53c8228b into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 16:58:40 +0000 (08:58 -0800)]
Merge change I53c8228b into eclair

* changes:
  Fix type of _id col in SearchableDictionary

14 years agoMerge change I68a71c11 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 01:02:05 +0000 (17:02 -0800)]
Merge change I68a71c11 into eclair

* changes:
  Add Japanese font to SDK.

14 years agoAdd Japanese font to SDK.
Xavier Ducrohet [Sun, 8 Nov 2009 23:15:37 +0000 (15:15 -0800)]
Add Japanese font to SDK.

BUG 2041229

Change-Id: I68a71c11ae4f61c987a888dadf205f585b577c61

14 years agoUpdate adt-tests build.properties to include new test data location.
Brett Chabot [Sun, 8 Nov 2009 21:46:35 +0000 (13:46 -0800)]
Update adt-tests build.properties to include new test data location.

Missed this file in the 31885 commit.

14 years agoMerge change Id49751eb into eclair-sdk
Android (Google) Code Review [Sun, 8 Nov 2009 21:34:15 +0000 (13:34 -0800)]
Merge change Id49751eb into eclair-sdk

* changes:
  SDK Manager: reuse complete downloads, retry Windows locks.

14 years agoMerge change If5b2f9df into eclair
Android (Google) Code Review [Sat, 7 Nov 2009 20:40:26 +0000 (15:40 -0500)]
Merge change If5b2f9df into eclair

* changes:
  Fix ADT test data references.

14 years agoSDK Manager: reuse complete downloads, retry Windows locks.
Raphael [Sat, 7 Nov 2009 02:55:04 +0000 (18:55 -0800)]
SDK Manager: reuse complete downloads, retry Windows locks.

This resolves 2 main issues with the SDK updater:
- Completed downloads are not cleared till the install is successful
- They are also stored in SDK/temp rather than the real Windows TEMP
  folder, making them more discoverable for savvy users.
- There's a retry loop on failed install when due to a directory
  being locked.
- The retry loop comes with the a Big Fat Warning[tm] in a modal
  dialog box. You can't miss it. And it explicitly mentions the
  antivirus software can be the root cause.

SDK BUG 2235058

Change-Id: Id49751ebd67e7291a0e7005136b22576335729c1

14 years agoam 8e3442f1: Merge change Ic291d534 into eclair-sdk
Raphael [Sat, 7 Nov 2009 00:13:41 +0000 (16:13 -0800)]
am 8e3442f1: Merge change Ic291d534 into eclair-sdk

Merge commit '8e3442f1b0fc19c8213978d4e7ac005774462297' into eclair

* commit '8e3442f1b0fc19c8213978d4e7ac005774462297':
  SDK Manager: refresh sources when HTTP/S pref is changed.

14 years agoMerge change Ic291d534 into eclair-sdk
Android (Google) Code Review [Sat, 7 Nov 2009 00:06:48 +0000 (19:06 -0500)]
Merge change Ic291d534 into eclair-sdk

* changes:
  SDK Manager: refresh sources when HTTP/S pref is changed.

14 years agoSDK Manager: refresh sources when HTTP/S pref is changed.
Raphael [Fri, 6 Nov 2009 23:18:57 +0000 (15:18 -0800)]
SDK Manager: refresh sources when HTTP/S pref is changed.

Currently you need to use the Refresh button in the remote page
after you change the HTTP/s setting and many users think
instead they need to close/restart the SDK manager.

Change-Id: Ic291d53459624558910bbc417295df5ddc7b037d

14 years agoam ca4603db: SDK: fix NPE in AVD Manager > Start when skin.path is missing.
Raphael [Fri, 6 Nov 2009 22:00:55 +0000 (14:00 -0800)]
am ca4603db: SDK: fix NPE in AVD Manager > Start when skin.path is missing.

Merge commit 'ca4603db2fa5cd0231d75ebcef239cd69e1772ad' into eclair

* commit 'ca4603db2fa5cd0231d75ebcef239cd69e1772ad':
  SDK: fix NPE in AVD Manager > Start when skin.path is missing.

14 years agoSDK: fix NPE in AVD Manager > Start when skin.path is missing.
Raphael [Fri, 6 Nov 2009 21:42:28 +0000 (13:42 -0800)]
SDK: fix NPE in AVD Manager > Start when skin.path is missing.

Change-Id: I0e42d3f110cfc4e313972f3021b7d2d84dfbd64d

14 years agoMerge change I793a35a9 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 19:08:24 +0000 (14:08 -0500)]
Merge change I793a35a9 into eclair

* changes:
  ADT now launches app as if launched from launcher.

14 years agoADT now launches app as if launched from launcher.
Xavier Ducrohet [Fri, 6 Nov 2009 02:38:04 +0000 (18:38 -0800)]
ADT now launches app as if launched from launcher.

BUG 2243142

Change-Id: I793a35a92cf0f818242e74e4794d74a681b25d83

14 years agoMerge change I1fa1ae88 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 18:15:45 +0000 (13:15 -0500)]
Merge change I1fa1ae88 into eclair

* changes:
  Move Tools to rev 5, and ADT to 0.9.5

14 years agoMove Tools to rev 5, and ADT to 0.9.5
Xavier Ducrohet [Fri, 6 Nov 2009 18:05:53 +0000 (10:05 -0800)]
Move Tools to rev 5, and ADT to 0.9.5

Change-Id: I1fa1ae883eea4d27d5718788594ab0cb52ca6445

14 years agoMerge change I85aa2b1d into eclair
Android (Google) Code Review [Thu, 5 Nov 2009 19:16:08 +0000 (14:16 -0500)]
Merge change I85aa2b1d into eclair

* changes:
  create a test app that allows direct control of a sync adapter for testing purposes

14 years agocreate a test app that allows direct control of a sync adapter for testing purposes
Fred Quintana [Wed, 4 Nov 2009 01:18:33 +0000 (17:18 -0800)]
create a test app that allows direct control of a sync adapter for testing purposes

http://b/issue?id=2239791

14 years agoam 7f305ce7: (-s ours) Ignore hidden files and vi swap files during packaging. (do...
Xavier Ducrohet [Wed, 4 Nov 2009 23:05:34 +0000 (15:05 -0800)]
am 7f305ce7: (-s ours) Ignore hidden files and vi swap files during packaging. (do not merge)

Merge commit '7f305ce77069cf8432374f12392a3ce3a476bdce' into eclair

* commit '7f305ce77069cf8432374f12392a3ce3a476bdce':
  Ignore hidden files and vi swap files during packaging. (do not merge)

14 years agoIgnore hidden files and vi swap files during packaging. (do not merge)
Xavier Ducrohet [Tue, 3 Nov 2009 02:31:46 +0000 (18:31 -0800)]
Ignore hidden files and vi swap files during packaging. (do not merge)

BUG #2233458

This is integrated from eclair.

14 years agoFix type of _id col in SearchableDictionary
Bjorn Bringert [Tue, 3 Nov 2009 15:37:36 +0000 (15:37 +0000)]
Fix type of _id col in SearchableDictionary

SDK SAMPLE CODE ONLY

Before, the _id column in the search suggestions contained
a string. This causes an exception when the suggestion provider
is used for in-app search in Cupcake. Now the _id column contains
a long instead.

Fixes http://b/issue?id=2219970

Change-Id: I53c8228badbb0e3ff1799107490b44ff8ced7148

14 years agoFix ADT test data references.
Brett Chabot [Tue, 3 Nov 2009 20:29:42 +0000 (12:29 -0800)]
Fix ADT test data references.

- Remove reference to ADT from sdklib tests.
- Move ADT test data to be closer to their test classes, and to make it obvious
this data is only for ADT unit tests.

14 years agoam 4bf2ce27: SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts
Raphael [Tue, 3 Nov 2009 20:17:52 +0000 (12:17 -0800)]
am 4bf2ce27: SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts

Merge commit '4bf2ce27a00c564daf0831c16769ee1ca259ddc7' into eclair

* commit '4bf2ce27a00c564daf0831c16769ee1ca259ddc7':
  SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts

14 years agoMove check for hidden files in the proper method.
Xavier Ducrohet [Tue, 3 Nov 2009 18:52:54 +0000 (10:52 -0800)]
Move check for hidden files in the proper method.

Change-Id: I0a364b118d60aaab259cba2b13edcc2c31c39148

14 years agoSDK: fix build. checkFileForPackaging is used by ApkBuilder.
Raphael [Tue, 3 Nov 2009 17:40:55 +0000 (09:40 -0800)]
SDK: fix build. checkFileForPackaging is used by ApkBuilder.

Change-Id: I91e9c63adcd6e069b1ec15627b95565c26cd3bc6
Reference: Change If0d0751e
SDK BUG 2233458

14 years agoMerge change If0d0751e into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 07:06:32 +0000 (02:06 -0500)]
Merge change If0d0751e into eclair

* changes:
  Ignore hidden files and vi swap files during packaging.

14 years agoIgnore hidden files and vi swap files during packaging.
Xavier Ducrohet [Tue, 3 Nov 2009 02:31:46 +0000 (18:31 -0800)]
Ignore hidden files and vi swap files during packaging.

BUG #2233458

Change-Id: If0d0751ed7b896a7803e9b69fb0e6bff97dd4330

14 years agoMerge change Ida443c07 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 01:08:06 +0000 (20:08 -0500)]
Merge change Ida443c07 into eclair

* changes:
  Remove calendar provider suite from continuous. DO NOT MERGE

14 years agoSDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts
Raphael [Mon, 2 Nov 2009 22:54:29 +0000 (14:54 -0800)]
SDK: Enforce GDK_NATIVE_WINDOWS=true for linux scripts

SDK BUG 2232091

Change-Id: I2a000054545b7865769054d1fdc733e50f06edd5

14 years agoam 0dd85d89: (-s ours) Only apply permission to files with +x (do not merge)
Xavier Ducrohet [Mon, 2 Nov 2009 20:34:39 +0000 (12:34 -0800)]
am 0dd85d89: (-s ours) Only apply permission to files with +x (do not merge)

Merge commit '0dd85d89fa90de0d79da296292f75ceb5cf48b92' into eclair

* commit '0dd85d89fa90de0d79da296292f75ceb5cf48b92':
  Only apply permission to files with +x (do not merge)

14 years agoOnly apply permission to files with +x (do not merge)
Xavier Ducrohet [Fri, 30 Oct 2009 23:34:47 +0000 (16:34 -0700)]
Only apply permission to files with +x (do not merge)

integrated from eclair branch.

14 years agoMerge change Ied3304a0 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 19:40:10 +0000 (14:40 -0500)]
Merge change Ied3304a0 into eclair

* changes:
  Only apply permission to files with +x

14 years agoRemove calendar provider suite from continuous. DO NOT MERGE
Brett Chabot [Sat, 31 Oct 2009 00:20:49 +0000 (17:20 -0700)]
Remove calendar provider suite from continuous. DO NOT MERGE

Bug 2171501

14 years agoOnly apply permission to files with +x
Xavier Ducrohet [Fri, 30 Oct 2009 23:34:47 +0000 (16:34 -0700)]
Only apply permission to files with +x

Change-Id: Ied3304a0f9687b601666c4ec7ce7a34157254d7c

14 years agoam d3f9eb79: SDK Manager: Display error when saving settings
Raphael [Fri, 30 Oct 2009 20:01:22 +0000 (13:01 -0700)]
am d3f9eb79: SDK Manager: Display error when saving settings

Merge commit 'd3f9eb79c79752b76e483d5d6774b76bcf91a8de' into eclair

* commit 'd3f9eb79c79752b76e483d5d6774b76bcf91a8de':
  SDK Manager: Display error when saving settings

14 years agoSDK Manager: Display error when saving settings
Raphael [Fri, 30 Oct 2009 04:20:41 +0000 (21:20 -0700)]
SDK Manager: Display error when saving settings

SDK BUG 2226029

Change-Id: I568c71b80bddb5c4409df0bd1b02e35b82d6d1ba

14 years agoMerge change Iae0bc856 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 21:49:26 +0000 (17:49 -0400)]
Merge change Iae0bc856 into eclair

* changes:
  A sample application that demonstrates use of legacy and current contacts APIs.