345 Commits

Author SHA1 Message Date
Jean-Baptiste Queru
0391107e13 merge from donut 2009-08-03 07:45:45 -07:00
Jean-Baptiste Queru
5c1207be90 donut snapshot 2009-07-31 17:38:20 -07:00
Jean-Baptiste Queru
61e4248f8f merge from donut 2009-07-29 14:57:05 -07:00
Jean-Baptiste Queru
a8675f67e3 donut snapshot 2009-07-29 14:25:07 -07:00
Jean-Baptiste Queru
2af1b3db3d Merge korg/donut into korg/master 2009-07-25 21:15:25 -07:00
Jean-Baptiste Queru
cf4550c319 donut snapshot 2009-07-21 11:16:54 -07:00
Yusuf T. Mobile
8ecb36eec6 Fixed Android issue #400, where the Intent documentation was inaccurate in a number of places, undoubtedly causing untold grief to innumerable masses. 2009-07-10 14:13:29 -07:00
Shin-ichiro KAWASAKI
26f6a823ca Bug Fixed for libagl. 2009-07-07 19:14:13 +09:00
Android Code Review
7ecccee0d0 Merge change 10365
* changes:
  Fix hyphenation in TextView attr Javadoc
2009-06-14 09:03:07 -07:00
Android Code Review
ea931d3120 Merge change 10364
* changes:
  Fix spelling mistakes in Javadoc
2009-06-14 09:02:24 -07:00
Kenny Root
2fbf7395bb Fix hyphenation in TextView attr Javadoc 2009-06-13 05:47:27 -05:00
Android Code Review
acec372211 Merge change 10320
* changes:
  Fixed typo, RFC3296 is for LDAP, RFC2396 is for URI
2009-06-12 09:46:54 -07:00
Android Code Review
7b16fc04d0 Merge change 10312
* changes:
  Fix typo in adb commandline help
2009-06-12 09:45:48 -07:00
Android Code Review
3fb1261a7a Merge change 10315
* changes:
  Fix typo in Javadoc for LocationManager.GPS_PROVIDER
2009-06-12 09:44:57 -07:00
Android Code Review
c6f4e0d25b Merge change 10317
* changes:
  Clarify rules for package name in documentation
2009-06-12 09:43:29 -07:00
Kenny Root
1b194b14fe Fix spelling mistakes in Javadoc 2009-06-11 11:00:42 -05:00
Android Code Review
75c567a8dc 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
2009-06-10 17:03:05 -07:00
Android Code Review
e79c007e9b Merge change 10329
* changes:
  Removed usage of tabs for indention
2009-06-10 13:29:09 -07:00
Android Code Review
3da0876ee7 Merge change 10328
* changes:
  Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null) example: notification.vibrate = new long[0];
2009-06-10 13:28:56 -07:00
Simon Schoar
a4a309027c Removed usage of tabs for indention 2009-06-10 22:08:37 +02:00
Simon Schoar
bdf78247d6 Prevent IndexOutOfBoundsException on toString() if vibrate array is empty (non null)
example: notification.vibrate = new long[0];
2009-06-10 21:53:53 +02:00
Simon Schoar
8c0ff13f86 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
2009-06-10 21:12:10 +02:00
Simon Schoar
4ea496ddca Example for displaying alerts was missing an "@" for theme attribute 2009-06-10 01:29:38 +02:00
Simon Schoar
8aa393b03f Fixed typo, RFC3296 is for LDAP, RFC2396 is for URI 2009-06-10 01:10:58 +02:00
Android Code Review
734bc9bacb Merge change 10313
* changes:
  Fix Configuration documentation for new constants
2009-06-09 12:44:39 -07:00
Kenny Root
158c19020b 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
2009-06-09 13:47:00 -05:00
Kenny Root
2a7a773480 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
2009-06-09 13:42:54 -05:00
Kenny Root
2971cc9134 Fix typo in Javadoc for LocationManager.GPS_PROVIDER 2009-06-09 12:13:06 -05:00
Kenny Root
acc44cce8f Fix Configuration documentation for new constants
* Added KEYBOARD_NOKEYS link to Javadoc for keyboard.
* Added NAVIGATION_NONAV link to Javadoc for navigation.
2009-06-09 11:21:11 -05:00
Kenny Root
b01b57790a Fix typo in adb commandline help
Android developers are not expected to have PDP-11s.
2009-06-09 11:11:39 -05:00
Patrick Scott
9b90fd4fa1 Fix the boot. The signature needed a V at the end. 2009-05-29 16:36:32 -07:00
Nick Pelly
c790096ad3 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;

}
2009-05-29 16:16:05 -07:00
Nick Pelly
9b50ade5b7 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.
2009-05-29 16:16:04 -07:00
Dianne Hackborn
f5b70ef0f2 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
2009-05-22 14:42:48 -07:00
Jean-Baptiste Queru
4cf03d381b Reconcile cupcake history into donut
Merge commit '5d6d773fab559fdc12e553d60d789f3991ac552c' into HEAD
2009-05-22 14:35:33 -07:00
Android Code Review
21cef43d17 Merge change 10027
* changes:
  Fixed Issue 2682: ContentProvider query() SDK docs deprecated
2009-05-21 12:02:05 -07:00
Alan Jones
9f9cdcfa82 Fixed Issue 2682: ContentProvider query() SDK docs deprecated 2009-05-21 12:59:43 +10:00
Jean-Baptiste Queru
843ef36f7b donut snapshot 2009-05-20 11:28:04 -07:00
Garret Pick
723c9a4d27 Change required for OpenCORE 2.04 Update 2009-05-20 10:00:00 -07:00
Yusuf T. Mobile
2c7ed53172 Fix to Android issue 453 2009-05-15 10:56:36 -07:00
Dianne Hackborn
5d6d773fab 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
2009-05-13 18:09:56 -07:00
Scott Main
04c72b47d8 AI 148812: revise the AppWidget developer guide documentation
BUG=1827433

Automated import of CL 148812
2009-05-13 16:48:13 -07:00
Bill Napier
4ce6430748 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
2009-05-13 15:00:23 -07:00
Dirk Dougherty
f7a480de8c AI 148759: Add download page for NDK 1.5 r1.
BUG=1790234

Automated import of CL 148759
2009-05-12 15:32:37 -07:00
Dirk Dougherty
c214de5897 AI 148752: Fix description of breakText() param.
BUG=1790234

Automated import of CL 148752
2009-05-12 14:10:20 -07:00
Jorg Pleumann
25f963753e AI 148665: Disabling a test that does not work as
expected on a device with a SIM.
  BUG=1657996

Automated import of CL 148665
2009-05-11 00:36:52 -07:00
djken
b80676747d The comment lack of symbol # and parameter data type. This will cause compilation failed. 2009-05-08 07:07:55 -04:00
Scott Main
9b825aa0ee AI 148470: add documentation about aapt image optimization
BUG=1735176

Automated import of CL 148470
2009-05-07 11:59:14 -07:00
Dirk Dougherty
1f8059f19f 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
2009-05-07 11:15:03 -07:00
Dirk Dougherty
f096acd379 AI 148460: Misc changes for dev site.
BUG=1790234

Automated import of CL 148460
2009-05-07 11:12:11 -07:00