OSDN Git Service
Jean-Baptiste Queru [Fri, 22 May 2009 21:34:57 +0000 (14:34 -0700)]
Reconcile cupcake history into donut
Merge commit '
5d6d773fab559fdc12e553d60d789f3991ac552c' into HEAD
Jean-Baptiste Queru [Wed, 20 May 2009 18:28:04 +0000 (11:28 -0700)]
donut snapshot
Dianne Hackborn [Thu, 14 May 2009 01:09:56 +0000 (18:09 -0700)]
AI 148824: Fix issue #
1851541 (sharedUserId requests not being checked for matching signatures on .apk).
To address issues where we could leave half-installed applications around if there was a failure during the install, we split getPackageLP() into two phases: the first would create the record, and only after doing all verification checks would we call insertPackageSettingLP() to do the remaining part of the original implementation and actually insert the record into the data structures.
Unfortunately it was only in insertPackageSettingLP() that we would set the sharedUser field of the PackageSetting structure, so when before that we went to verify certificates, we didn't think it had requested a shared user ID, and let it through without checking.
This fix simply sets the sharedUser field when the PackageSetting structure is first created, so we will actually check against its certs. We still also set this again in insertPackageSettingLP(), but there is no harm in this because the only time we call this function is in that big install func, which just passes in the same shared user that it had when first getting the package.
BUG=
1851541
Automated import of CL 148824
Scott Main [Wed, 13 May 2009 23:48:13 +0000 (16:48 -0700)]
AI 148812: revise the AppWidget developer guide documentation
BUG=
1827433
Automated import of CL 148812
Bill Napier [Wed, 13 May 2009 22:00:23 +0000 (15:00 -0700)]
AI 148803: Update 1.xml and 2.xml for methods that take Generic Type Varargs. This will allow the CTS Signature Test to be run against older android releases.
BUG=148739
Automated import of CL 148803
Dirk Dougherty [Tue, 12 May 2009 22:32:37 +0000 (15:32 -0700)]
AI 148759: Add download page for NDK 1.5 r1.
BUG=
1790234
Automated import of CL 148759
Dirk Dougherty [Tue, 12 May 2009 21:10:20 +0000 (14:10 -0700)]
AI 148752: Fix description of breakText() param.
BUG=
1790234
Automated import of CL 148752
Jorg Pleumann [Mon, 11 May 2009 07:36:52 +0000 (00:36 -0700)]
AI 148665: Disabling a test that does not work as
expected on a device with a SIM.
BUG=
1657996
Automated import of CL 148665
Scott Main [Thu, 7 May 2009 18:59:14 +0000 (11:59 -0700)]
AI 148470: add documentation about aapt image optimization
BUG=
1735176
Automated import of CL 148470
Dirk Dougherty [Thu, 7 May 2009 18:15:03 +0000 (11:15 -0700)]
AI 148461: Changes to support ADT 0.9.1. Update ADT version id, move older ADT versions to a separate table.
BUG=
1790234
Automated import of CL 148461
Dirk Dougherty [Thu, 7 May 2009 18:12:11 +0000 (11:12 -0700)]
AI 148460: Misc changes for dev site.
BUG=
1790234
Automated import of CL 148460
Scott Main [Tue, 5 May 2009 18:23:54 +0000 (11:23 -0700)]
AI 148308: revise aidl support documentation -- now the same in all environments;
also added a table of contents and tweaked the markup for the anchor links
BUG=
1760241
Automated import of CL 148308
Scott Main [Mon, 4 May 2009 20:20:20 +0000 (13:20 -0700)]
AI 148270: remove references to AbsoluteLayout because it's been deprecated
BUG=
1790234
Automated import of CL 148270
Dirk Dougherty [Fri, 1 May 2009 20:36:37 +0000 (13:36 -0700)]
AI 148197: Add a link in "Community" page to the android market discussion forum.
BUG=
1790234
Automated import of CL 148197
Dirk Dougherty [Fri, 1 May 2009 20:01:24 +0000 (13:01 -0700)]
AI 148193: More misc fixes in format, links, content for Android 1.5 SDK docs.
BUG=
1790234
Automated import of CL 148193
Scott Main [Fri, 1 May 2009 18:56:16 +0000 (11:56 -0700)]
AI 148189: update the NotepadCodelab zip file to remove R.java, other project/bin files and erratic hidden files;
udpate the procedure for creating a project from existing code.
BUG=
1824317,
1824355,
1824417
Automated import of CL 148189
Dirk Dougherty [Fri, 1 May 2009 17:02:17 +0000 (10:02 -0700)]
AI 148183: Add missing android namespace to minSdkVersion
BUG=
1819430
Automated import of CL 148183
Eric Fischer [Fri, 1 May 2009 00:32:14 +0000 (17:32 -0700)]
AI 148147: Import lots of zh_TW translation changes.
Automated import of CL 148147
Eric Fischer [Thu, 30 Apr 2009 23:48:33 +0000 (16:48 -0700)]
AI 148026: Update zh_TW translations.
Automated import of CL 148026
Eric Fischer [Thu, 30 Apr 2009 23:45:37 +0000 (16:45 -0700)]
AI 148020: Restore accidentally-deleted zh_CN and zh_TW map centers.
BUG=
1794855
Automated import of CL 148020
Dan Bornstein [Wed, 29 Apr 2009 17:01:27 +0000 (10:01 -0700)]
AI 147994: First cut of CharsetUtils, a utility class that aims to
help with vendor-specific encoding name interpretation.
BUG=
1820922
Automated import of CL 147994
Eric Fischer [Tue, 28 Apr 2009 22:48:38 +0000 (15:48 -0700)]
AI 147962: Import updated zh_TW translations.
Automated import of CL 147962
Scott Main [Tue, 28 Apr 2009 22:03:27 +0000 (15:03 -0700)]
AI 147951: delete unused files
BUG=
1790234
Automated import of CL 147951
Scott Main [Tue, 28 Apr 2009 21:41:22 +0000 (14:41 -0700)]
AI 147947: update the sitemap. add disallow in robots file for the sdk/preview/
BUG=
1790234
Automated import of CL 147947
Dirk Dougherty [Tue, 28 Apr 2009 01:13:11 +0000 (18:13 -0700)]
AI 147874: Fix format and link errors in docs.
BUG=
1790234
Automated import of CL 147874
Scott Main [Mon, 27 Apr 2009 06:57:28 +0000 (23:57 -0700)]
AI 147814: tweaks to the hello world tutorial.
use an API Level 2 build target, but deploy to level 3, add some discussion on this;
instantly run, instead of creating a new configuration;
update screenshots for ADT wizard and the debug section;
other edits
BUG=
1791815
Automated import of CL 147814
Scott Main [Mon, 27 Apr 2009 06:21:55 +0000 (23:21 -0700)]
AI 147812: close <em> tag
BUG=
1668453
Automated import of CL 147812
Scott Main [Mon, 27 Apr 2009 06:21:02 +0000 (23:21 -0700)]
AI 147811: typo fixes and edits for upgrading and installing docs
BUG=
1790234
Automated import of CL 147811
Scott Main [Mon, 27 Apr 2009 06:19:20 +0000 (23:19 -0700)]
AI 147810: fix links on the homepage
BUG=
1790234
Automated import of CL 147810
Dirk Dougherty [Mon, 27 Apr 2009 04:07:11 +0000 (21:07 -0700)]
AI 147807: Miscellaneous doc fixes needed for 1.5 SDK push
BUG=
1790234
Automated import of CL 147807
Scott Main [Sun, 26 Apr 2009 22:51:58 +0000 (15:51 -0700)]
AI 147804: add new doc about Dialogs
BUG=
1800118
Automated import of CL 147804
Scott Main [Sun, 26 Apr 2009 22:50:49 +0000 (15:50 -0700)]
AI 147803: add docs and images for docs on Toast and Notification docs
also edit the Notification class doc
BUG=
1800118
Automated import of CL 147803
Dirk Dougherty [Sun, 26 Apr 2009 06:09:53 +0000 (23:09 -0700)]
AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
BUG=
1790234
Automated import of CL 147796
Scott Main [Sat, 25 Apr 2009 21:04:54 +0000 (14:04 -0700)]
AI 147793: cleanup broken links and delete all innacurate info in apidemo pages
BUG=
1810005
Automated import of CL 147793
Dirk Dougherty [Sat, 25 Apr 2009 02:16:21 +0000 (19:16 -0700)]
AI 147782: Add a link to the JET docs from media index page.
BUG=
1790234
Automated import of CL 147782
Scott Main [Sat, 25 Apr 2009 02:08:42 +0000 (19:08 -0700)]
AI 147780: add summary of "future-proofing your apps" and links
to the blog post
BUG=
1790234
Automated import of CL 147780
Scott Main [Sat, 25 Apr 2009 01:34:40 +0000 (18:34 -0700)]
AI 147777: add release notes links for each download page
BUG=
1790234
Automated import of CL 147777
Scott Main [Sat, 25 Apr 2009 00:15:02 +0000 (17:15 -0700)]
AI 147767: set 1.1 download page to include "not current" disclaimer
and a markup typo fix in the download page.
BUG=
1790234
Automated import of CL 147767
Dirk Dougherty [Fri, 24 Apr 2009 23:03:47 +0000 (16:03 -0700)]
AI 147755: Add sizes and checksums for 1.5 SDK downloadables.
BUG=
1790234
Automated import of CL 147755
Scott Main [Fri, 24 Apr 2009 22:45:32 +0000 (15:45 -0700)]
AI 147752: dang, there was another unclosed tag... tested it this time.
BUG=
1790234
Automated import of CL 147752
Scott Main [Fri, 24 Apr 2009 22:03:00 +0000 (15:03 -0700)]
AI 147742: close <code> tag and remove some bolding
BUG=
1790234
Automated import of CL 147742
Scott Main [Fri, 24 Apr 2009 20:41:44 +0000 (13:41 -0700)]
AI 147732: fix broken links
BUG=
1810005
Automated import of CL 147732
Jorg Pleumann [Fri, 24 Apr 2009 20:08:47 +0000 (13:08 -0700)]
AI 147725: Some fixes for the CTS test runner. One is a
workaround for the binder problems which occur
when too many tests are executed in too little
time. The other is a fix for the memory cleanup
that was added a while ago, but should have
affected non-static fields, not static ones.
BUG=
1796494
Automated import of CL 147725
Bill Napier [Fri, 24 Apr 2009 19:57:08 +0000 (12:57 -0700)]
AI 147720: Set default language for NL to nl.
BUG=
1781746
Automated import of CL 147720
Jean-Michel Trivi [Fri, 24 Apr 2009 19:33:40 +0000 (12:33 -0700)]
AI 147718: Created .jd doc file for the JetCreator manual. Cleaned up the content to only use HTML tags, no more ugly Word generated tags. Removed references to visio files, converted all assets to PNG and renamed them with human understandable names. Added reference to JetPlayer javadoc.
BUG=
1721874
Automated import of CL 147718
Dirk Dougherty [Fri, 24 Apr 2009 18:32:25 +0000 (11:32 -0700)]
AI 147711: Fix link text in highlights doc. Copy "New APIs" section to Version Notes doc.
BUG=
1790234
Automated import of CL 147711
Dirk Dougherty [Fri, 24 Apr 2009 18:30:35 +0000 (11:30 -0700)]
AI 147710: Add redirects for sdk/preview pages.
BUG=
1790234
Automated import of CL 147710
Bill Napier [Fri, 24 Apr 2009 00:14:22 +0000 (17:14 -0700)]
AI 147541: Add cs as default language for cz.
BUG=
1781746
Automated import of CL 147541
Scott Main [Thu, 23 Apr 2009 01:58:13 +0000 (18:58 -0700)]
AI 147438: add app widget docs to dev guide
move app widget docs out of the package description
BUG=
1790234
Automated import of CL 147438
Dirk Dougherty [Thu, 23 Apr 2009 01:45:05 +0000 (18:45 -0700)]
AI 147433: Fix broken link to sdk/samples dir in the offline.html page.
BUG=
1790234
Automated import of CL 147433
Eric Fischer [Wed, 22 Apr 2009 19:33:55 +0000 (12:33 -0700)]
AI 147406: Import revised translations.
Automated import of CL 147406
Dirk Dougherty [Wed, 22 Apr 2009 03:39:18 +0000 (20:39 -0700)]
AI 147336: Remove stuff relating to the Maps ext library from the docs. Leave a pointer over to code.google.com.
BUG=
1790234
Automated import of CL 147336
Dirk Dougherty [Wed, 22 Apr 2009 03:25:36 +0000 (20:25 -0700)]
AI 147332: Miscellaneous doc changes for cupcake SDK
BUG=
1790234
Automated import of CL 147332
Scott Main [Wed, 22 Apr 2009 02:44:01 +0000 (19:44 -0700)]
AI 147325: update the installing and upgrading docs for cupcake
BUG=
1793249
Automated import of CL 147325
Scott Main [Wed, 22 Apr 2009 02:22:40 +0000 (19:22 -0700)]
AI 147314: change carousel SDK to 1.5;
revise Google IO info
BUG=
1800649
Automated import of CL 147314
Scott Main [Wed, 22 Apr 2009 02:17:59 +0000 (19:17 -0700)]
AI 147311: update eclipse docs to include necessary AVD procedures and
discuss relevant target facilities
BUG=
1796104
Automated import of CL 147311
Scott Main [Wed, 22 Apr 2009 02:09:24 +0000 (19:09 -0700)]
AI 147306: re-write the Developing in Other IDEs doc with updated information for 1.5
BUG=
1796104
Automated import of CL 147306
Dirk Dougherty [Wed, 22 Apr 2009 01:52:41 +0000 (18:52 -0700)]
AI 147297: Update Android 1.5 SDK Download, Release Notes, Version Notes, Highlights
Please let me know if you have other "known issues", "resolved issues", or
"highlights".
Also, note that the installing and upgrading docs are being updated in
a different CL, so the new version is not displayed on my staging server.
BUG=
1790234
Automated import of CL 147297
Xavier Ducrohet [Wed, 22 Apr 2009 01:45:32 +0000 (18:45 -0700)]
AI 147290: Update Geocoder javadoc to reflect the need for a backend service.
BUG=
1794552
Automated import of CL 147290
Jeff Hamilton [Tue, 21 Apr 2009 22:12:16 +0000 (15:12 -0700)]
AI 147250: Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
BUG=
1067866
Automated import of CL 147250
Dirk Dougherty [Tue, 21 Apr 2009 22:00:26 +0000 (15:00 -0700)]
AI 147238: Update tools index, replace activitycreator with android
BUG=
1790234
Automated import of CL 147238
Dirk Dougherty [Tue, 21 Apr 2009 21:51:13 +0000 (14:51 -0700)]
AI 147228: Add API diff report to SDK docs (API Level 2 to 3)
BUG=
1790234
Automated import of CL 147228
Scott Main [Tue, 21 Apr 2009 21:23:52 +0000 (14:23 -0700)]
AI 147219: update app-signing doc to include a guide to export a signed APK from ADT
BUG=
1795149
Automated import of CL 147219
Dirk Dougherty [Tue, 21 Apr 2009 21:11:32 +0000 (14:11 -0700)]
AI 147211: Update emulator doc for new usage with avds.
BUG=
1790234
Automated import of CL 147211
Andy Stadler [Tue, 21 Apr 2009 18:50:39 +0000 (11:50 -0700)]
AI 147163: Copy documentation for the various search-by-voice flags that
were already listed in attrs.xml into SearchManager.java. Add
a (brief - no time for more) description about how to add search
by voice to apps.
JAVADOC ONLY - should be safe change for cupcake sdk.
BUG=
1554704
Automated import of CL 147163
Andy Stadler [Tue, 21 Apr 2009 18:48:54 +0000 (11:48 -0700)]
AI 147162: Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
package manager package name (not the java package name, and
not the test package) of the package holding the Activity
under test.
Added similar notations to the ApiDemos call sites.
JAVADOC ONLY - should be safe change for cupcake sdk.
BUG=
1783981
Automated import of CL 147162
Dirk Dougherty [Tue, 21 Apr 2009 04:53:32 +0000 (21:53 -0700)]
AI 147081: Add document describing AVDs and usage. (doc change only)
BUG=
1790234
Automated import of CL 147081
Dirk Dougherty [Tue, 21 Apr 2009 00:54:52 +0000 (17:54 -0700)]
AI 147053: Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
BUG=
1790234
Automated import of CL 147053
Jean-Michel Trivi [Mon, 20 Apr 2009 23:29:19 +0000 (16:29 -0700)]
AI 147032: Finalize JetPlayer javadoc.
BUG=
1801229
Automated import of CL 147032
Jean-Michel Trivi [Mon, 20 Apr 2009 17:45:02 +0000 (10:45 -0700)]
AI 146937: Finalize AudioRecord javadoc.
BUG=
1797606
Automated import of CL 146937
Dave Sparks [Fri, 17 Apr 2009 18:29:35 +0000 (11:29 -0700)]
AI 146754: Fix some problems in the SoundPool docs and add additional text.
BUG=
1795461
Automated import of CL 146754
Jean-Michel Trivi [Fri, 17 Apr 2009 18:22:35 +0000 (11:22 -0700)]
AI 146751: Finalize AudioTrack javadoc.
BUG=
1795799
Automated import of CL 146751
Urs Grob [Fri, 17 Apr 2009 09:09:00 +0000 (02:09 -0700)]
AI 146711: Enhancing the test runner. Now it filters BrokenTests and only executes tests
annotated with SideEffect if the host is running in single test mode.
Also adding some cleanup mechanism and some logcat logging about memory consumption
BUG=
1789657
Automated import of CL 146711
Dave Sparks [Fri, 17 Apr 2009 01:35:51 +0000 (18:35 -0700)]
AI 146667: Add advice in MediaRecorder Java docs about using MPEG-4 container format
BUG=
1753020
Automated import of CL 146667
Dave Sparks [Fri, 17 Apr 2009 00:49:25 +0000 (17:49 -0700)]
AI 146654: Add java docs for SoundPool
BUG=
1795461
Automated import of CL 146654
Dirk Dougherty [Thu, 16 Apr 2009 21:27:42 +0000 (14:27 -0700)]
AI 146609: updates to the manifest docs for cupcake: Add "since" notations for elements and some attributes.
BUG=
1790234
Automated import of CL 146609
Dirk Dougherty [Thu, 16 Apr 2009 20:33:16 +0000 (13:33 -0700)]
AI 146601: Update media formats appendix for cupcake
BUG=
1792195
Automated import of CL 146601
Eric Fischer [Thu, 16 Apr 2009 18:01:05 +0000 (11:01 -0700)]
AI 146517: Import translation changes.
DO NOT MERGE
Automated import of CL 146517
Xavier Ducrohet [Thu, 16 Apr 2009 05:30:00 +0000 (22:30 -0700)]
AI 146411: Fix BridgeCanvas#drawRoundRect
BUG=
1792311
Automated import of CL 146411
Eric Fischer [Wed, 15 Apr 2009 20:30:18 +0000 (13:30 -0700)]
AI 146365: Import revised translations.
DO NOT MERGE
Automated import of CL 146365
Dirk Dougherty [Wed, 15 Apr 2009 18:29:53 +0000 (11:29 -0700)]
AI 146341: g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
BUG=
1675368
Automated import of CL 146341
Dirk Dougherty [Wed, 15 Apr 2009 18:28:57 +0000 (11:28 -0700)]
AI 146340: Integrate updated SDK Terms and Conditions document
Automated import of CL 146340
Scott Main [Wed, 15 Apr 2009 00:19:13 +0000 (17:19 -0700)]
AI 146254: clarification for the minSdkVersion attribute;
added more information to the <uses-sdk> reference,
added a link to it from the <manifes> reference, and
revised some misleading information in the android 1.1 version notes
BUG=
1788684
Automated import of CL 146254
Scott Main [Tue, 14 Apr 2009 23:29:14 +0000 (16:29 -0700)]
AI 146242: fix the package namespace in the examples;
delete the old hello-android file
BUG=
1750212
Automated import of CL 146242
Guang Zhu [Tue, 14 Apr 2009 22:49:35 +0000 (15:49 -0700)]
AI 146225: Work around initialization issue with InstrumentationTest Runner. super.onCreate needs to be called as last statement in subclass' onCreate to avoid starting test case too early.
Automated import of CL 146225
Eric Fischer [Tue, 14 Apr 2009 19:10:43 +0000 (12:10 -0700)]
AI 146175: Import updated translations.
Automated import of CL 146175
Ramanan Rajeswaran [Tue, 14 Apr 2009 17:41:03 +0000 (10:41 -0700)]
AI 146144: Set default map location for Ireland and South Africa
Automated import of CL 146144
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:44:55 +0000 (09:44 -0700)]
AI 146127: Increase zoom level for NZ default maps location
Automated import of CL 146127
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:30:00 +0000 (09:30 -0700)]
AI 146123: Change Belfast to Dublin
BUG=
1788466
Automated import of CL 146123
Eric Fischer [Tue, 14 Apr 2009 00:16:19 +0000 (17:16 -0700)]
AI 146037: Import updated translations.
Automated import of CL 146037
Scott Main [Tue, 14 Apr 2009 00:01:30 +0000 (17:01 -0700)]
AI 146028: update hello world tutorial for cupcake, including various other edits.
BUG=
1750212
Automated import of CL 146028
Robert Greenwalt [Mon, 13 Apr 2009 23:11:29 +0000 (16:11 -0700)]
AI 145993: Fix Phone-oriented default-locale selection.
When several locales for a given language are available we were always
selecting the first.
BUG=
1785986
Automated import of CL 145993
Ramanan Rajeswaran [Mon, 13 Apr 2009 18:19:51 +0000 (11:19 -0700)]
AI 145892: Add Ireland, Switzerland, New Zealand, South Africa to MccTable
BUG=
1786030
Automated import of CL 145892
Eric Shienbrood [Mon, 13 Apr 2009 17:41:56 +0000 (10:41 -0700)]
AI 145881: Adding on to CL 145383, unhiding some additional methods and constants
that ought to be exposed. Hid and deprecated the single-arg public
constructor for NetworkInfo, and modified a CTS test that was testing it.
Ran the android.net test package to make sure it still works.
BUG=
1779439
Automated import of CL 145881
Eric Fischer [Fri, 10 Apr 2009 23:38:00 +0000 (16:38 -0700)]
AI 145782: Import updated translations.
DO NOT MERGE
Automated import of CL 145782
Yu Shan Emily Lau [Fri, 10 Apr 2009 22:28:26 +0000 (15:28 -0700)]
AI 145757: Suppress the flaky tests
BUG=174601,
1569749
Automated import of CL 145757
Dan Bornstein [Fri, 10 Apr 2009 21:55:08 +0000 (14:55 -0700)]
AI 145743: Excise the "de" locale out of testResourceBundles(), leaving a
TODO and long comment about the situation.
BUG=
1746810
Automated import of CL 145743
Brett Chabot [Fri, 10 Apr 2009 21:13:32 +0000 (14:13 -0700)]
AI 145735: Suppress the flaky DatabaseLockTest
BUG=
1777453
Automated import of CL 145735
Eric Fischer [Fri, 10 Apr 2009 17:45:19 +0000 (10:45 -0700)]
AI 145711: Import a few changed translations.
DO NOT MERGE
Automated import of CL 145711
Jeffrey Sharkey [Thu, 9 Apr 2009 23:53:25 +0000 (16:53 -0700)]
AI 145568: Hide setStarted() from public API.
It should be renamed to something more meaninful before being exposed.
BUG=
1779168
Automated import of CL 145568