355 Commits

Author SHA1 Message Date
Kenny Root
6ab180aa65 Documentation: Clarify that a FileDescriptor must be seekable
In MediaPlayer, methods with an offset specified must be passed a
FileDescriptor that is seekable. This change notes that in the
JavaDoc.
2009-08-24 14:37:11 -07:00
Kenny Root
d5d4e63ea4 Documentation: add preposition and clarify permissions 2009-08-24 10:25:09 -07:00
Android Code Review
4dc0d64e27 Merge change 11284
* changes:
  Fix bitmask in aapt's StringPool length construction
2009-08-21 15:35:28 -07:00
Kenny Root
841ce8b7b9 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.
2009-08-21 15:23:45 -05:00
Android Code Review
34d7fd715f Merge change 10274
* changes:
  Ignore pause and seek for live streaming.
2009-08-21 06:23:31 -07:00
Alexey Tarasov
83bad3df01 Fixed errors javadoc tags
1. @result -> @return in ActivityManagerService
2. @linke -> link in WiFiManager
2009-08-13 14:37:15 +11:00
Jean-Baptiste Queru
bae0f8e729 Remove a handful of preloaded classes 2009-08-05 15:13:28 -07:00
Marco Nelissen
ae4622e707 Add a virtual destructor to the TtsEngine class. 2009-08-05 10:37:09 -07:00
Kenny
19b8d8acc2 fix method table wrong in com_android_server_HardwareService.cpp 2009-08-05 00:30:58 +08:00
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
Ravi K Yenduri
0db8bef954 Ignore pause and seek for live streaming. 2009-06-04 15:46:53 -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