OSDN Git Service
Kenny Root [Fri, 21 Aug 2009 20:23:45 +0000 (15:23 -0500)]
Fix bitmask in aapt's StringPool length construction
The StringPool indicates the length of a string with a 16-bit
integer. If the length of the string is greater than 0x7FFF,
it splits it into two 16-bit integers with the first one
having the high bit set.
The length calculation has a small bug that masks off the
19 bits instead of the first 15 bits as intended.
Alexey Tarasov [Wed, 12 Aug 2009 04:05:43 +0000 (15:05 +1100)]
Fixed errors javadoc tags
1. @result -> @return in ActivityManagerService
2. @linke -> link in WiFiManager
Jean-Baptiste Queru [Wed, 5 Aug 2009 22:13:28 +0000 (15:13 -0700)]
Remove a handful of preloaded classes
Marco Nelissen [Wed, 8 Jul 2009 23:24:38 +0000 (16:24 -0700)]
Add a virtual destructor to the TtsEngine class.
Kenny [Tue, 4 Aug 2009 16:30:58 +0000 (00:30 +0800)]
fix method table wrong in com_android_server_HardwareService.cpp
Jean-Baptiste Queru [Mon, 3 Aug 2009 14:45:45 +0000 (07:45 -0700)]
merge from donut
Jean-Baptiste Queru [Sat, 1 Aug 2009 00:38:20 +0000 (17:38 -0700)]
donut snapshot
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:57:05 +0000 (14:57 -0700)]
merge from donut
Jean-Baptiste Queru [Wed, 29 Jul 2009 21:25:07 +0000 (14:25 -0700)]
donut snapshot
Jean-Baptiste Queru [Sun, 26 Jul 2009 02:52:22 +0000 (19:52 -0700)]
Merge korg/donut into korg/master
Jean-Baptiste Queru [Tue, 21 Jul 2009 18:16:54 +0000 (11:16 -0700)]
donut snapshot
Yusuf T. Mobile [Fri, 10 Jul 2009 21:13:29 +0000 (14:13 -0700)]
Fixed Android issue #400, where the Intent documentation was inaccurate in a number of places, undoubtedly causing untold grief to innumerable masses.
Shin-ichiro KAWASAKI [Tue, 7 Jul 2009 10:14:13 +0000 (19:14 +0900)]
Bug Fixed for libagl.
Android Code Review [Sun, 14 Jun 2009 16:03:07 +0000 (09:03 -0700)]
Merge change 10365
* changes:
Fix hyphenation in TextView attr Javadoc
Android Code Review [Sun, 14 Jun 2009 16:02:24 +0000 (09:02 -0700)]
Merge change 10364
* changes:
Fix spelling mistakes in Javadoc
Kenny Root [Sat, 13 Jun 2009 10:47:27 +0000 (05:47 -0500)]
Fix hyphenation in TextView attr Javadoc
Android Code Review [Fri, 12 Jun 2009 16:46:54 +0000 (09:46 -0700)]
Merge change 10320
* changes:
Fixed typo, RFC3296 is for LDAP, RFC2396 is for URI
Android Code Review [Fri, 12 Jun 2009 16:45:48 +0000 (09:45 -0700)]
Merge change 10312
* changes:
Fix typo in adb commandline help
Android Code Review [Fri, 12 Jun 2009 16:44:57 +0000 (09:44 -0700)]
Merge change 10315
* changes:
Fix typo in Javadoc for LocationManager.GPS_PROVIDER
Android Code Review [Fri, 12 Jun 2009 16:43:29 +0000 (09:43 -0700)]
Merge change 10317
* changes:
Clarify rules for package name in documentation
Kenny Root [Thu, 11 Jun 2009 16:00:42 +0000 (11:00 -0500)]
Fix spelling mistakes in Javadoc
Android Code Review [Thu, 11 Jun 2009 00:03:05 +0000 (17:03 -0700)]
Merge change 10327
* changes:
Logical error. If multiple receivers are dead, only the first one will be added. found in http://code.google.com/p/android/issues/detail?id=2651
Android Code Review [Wed, 10 Jun 2009 20:29:09 +0000 (13:29 -0700)]
Merge change 10329
* changes:
Removed usage of tabs for indention
Android Code Review [Wed, 10 Jun 2009 20:28:56 +0000 (13:28 -0700)]
Merge change 10328
* changes:
Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null) example: notification.vibrate = new long[0];
Simon Schoar [Wed, 10 Jun 2009 20:08:37 +0000 (22:08 +0200)]
Removed usage of tabs for indention
Simon Schoar [Wed, 10 Jun 2009 19:53:53 +0000 (21:53 +0200)]
Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null)
example: notification.vibrate = new long[0];
Simon Schoar [Wed, 10 Jun 2009 19:12:10 +0000 (21:12 +0200)]
Logical error. If multiple receivers are dead, only the first one will be added.
found in http://code.google.com/p/android/issues/detail?id=2651
Simon Schoar [Tue, 9 Jun 2009 23:29:38 +0000 (01:29 +0200)]
Example for displaying alerts was missing an "@" for theme attribute
Simon Schoar [Tue, 9 Jun 2009 23:10:58 +0000 (01:10 +0200)]
Fixed typo, RFC3296 is for LDAP, RFC2396 is for URI
Android Code Review [Tue, 9 Jun 2009 19:44:39 +0000 (12:44 -0700)]
Merge change 10313
* changes:
Fix Configuration documentation for new constants
Kenny Root [Tue, 9 Jun 2009 17:07:28 +0000 (12:07 -0500)]
Fix logic inversion in ListView Javadoc
The Javadoc for isItemChecked, getCheckedItemPosition, and
getCheckedItemPositions stated the return was valid if conditions
were the inverse of what the method checked for.
This was pointed out in Android issue 2366
Kenny Root [Tue, 9 Jun 2009 18:42:54 +0000 (13:42 -0500)]
Clarify rules for package name in documentation
Nowhere in the documentation does it say that the only valid package names
are ones that match (excuse my abuse of regex to explain this):
^[A-Za-z][A-Za-z0-9_]
This change makes clear the rules followed by the PackageParser
Kenny Root [Tue, 9 Jun 2009 17:12:39 +0000 (12:12 -0500)]
Fix typo in Javadoc for LocationManager.GPS_PROVIDER
Kenny Root [Tue, 9 Jun 2009 16:21:11 +0000 (11:21 -0500)]
Fix Configuration documentation for new constants
* Added KEYBOARD_NOKEYS link to Javadoc for keyboard.
* Added NAVIGATION_NONAV link to Javadoc for navigation.
Kenny Root [Tue, 9 Jun 2009 16:08:00 +0000 (11:08 -0500)]
Fix typo in adb commandline help
Android developers are not expected to have PDP-11s.
Patrick Scott [Wed, 27 May 2009 16:53:20 +0000 (12:53 -0400)]
Fix the boot. The signature needed a V at the end.
Nick Pelly [Wed, 27 May 2009 02:13:43 +0000 (19:13 -0700)]
New BluetoothSocket API.
Modeled on blocking java.net.Socket and java.net.ServerSocket library.
Public interface is:
public final class BluetoothSocket implements Closeable {
public static BluetoothSocket createRfcommSocket(String address, int port) throws IOException;
public static BluetoothSocket createInsecureRfcommSocket(String address, int port) throws IOException;
public void connect() throws IOException;
public void close() throws IOException;
public String getAddress();
public InputStream getInputStream() throws IOException;
public OutputStream getOutputStream() throws IOException;
}
public final class BluetoothServerSocket implements Closeable {
public static BluetoothServerSocket listenUsingRfcommOn(int port) throws IOException;
public static BluetoothServerSocket listenUsingUnsecureRfcommOn(int port) throws IOException;
public BluetoothSocket accept() throws IOException;
public BluetoothSocket accept(int timeout) throws IOException;
public void close() throws IOException;
}
Nick Pelly [Tue, 19 May 2009 22:21:03 +0000 (15:21 -0700)]
Remove Database.java API.
This provided SDP functionality to Java, but is not currently used by any Apps.
I will shortly be providing SDP functionality in a new API, but it will be
quite different to this one, and in the mean-time keeping this stale code
updated with other API changes is a pain.
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
Jean-Baptiste Queru [Fri, 22 May 2009 21:34:57 +0000 (14:34 -0700)]
Reconcile cupcake history into donut
Merge commit '
5d6d773fab559fdc12e553d60d789f3991ac552c' into HEAD
Android Code Review [Thu, 21 May 2009 19:02:05 +0000 (12:02 -0700)]
Merge change 10027
* changes:
Fixed Issue 2682: ContentProvider query() SDK docs deprecated
Alan Jones [Thu, 21 May 2009 02:32:17 +0000 (12:32 +1000)]
Fixed Issue 2682: ContentProvider query() SDK docs deprecated
Jean-Baptiste Queru [Wed, 20 May 2009 18:28:04 +0000 (11:28 -0700)]
donut snapshot
Garret Pick [Wed, 20 May 2009 17:00:00 +0000 (10:00 -0700)]
Change required for OpenCORE 2.04 Update
Yusuf T. Mobile [Fri, 15 May 2009 17:56:36 +0000 (10:56 -0700)]
Fix to Android issue 453
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
djken [Fri, 8 May 2009 11:07:55 +0000 (07:07 -0400)]
The comment lack of symbol # and parameter data type. This will cause compilation failed.
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
Cyril Mottier [Tue, 5 May 2009 16:13:48 +0000 (18:13 +0200)]
Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
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
Brad Fitzpatrick [Mon, 27 Apr 2009 17:51:06 +0000 (10:51 -0700)]
Lazily allocate the mBounds Rect in Drawable.
For background, see:
http://kohlerm.blogspot.com/2009/04/analyzing-memory-usage-off-your-android.html
Thanks, Markus!
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
The Android Open Source Project [Fri, 24 Apr 2009 20:54:57 +0000 (13:54 -0700)]
Merge commit 'korg/donut'
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