376 Commits

Author SHA1 Message Date
Kenny Root
fc01794f33 Make Uri.parseUserPart, parseHost, and parsePort symmetric
Currently parseUserPart uses the encoded authority to split the URI
into user and non-user parts, but the parseHost and parsePort uses
the decoded URI to split the URI into non-host, host, and port parts.
This gives unexpected results when %40 ('@') and %3a (':') is used
in a URI:

Uri test = Uri.parse("http://bob%40lee%3ajr@example.com:42/");
test.getUserInfo() => "bob@lee:jr"
test.getHost() => "lee:jr@example.com" (should be "example.com")
test.getPort() => -1 (should be 42)
2009-09-14 17:45:04 -07:00
Android Code Review
f9d9cf1ec1 Merge change 10322
* changes:
  Text specifies "android:codeName" which doesnt exist, should be "android:versionName"
2009-09-14 14:19:56 -07:00
Jean-Baptiste Queru
be8e36e32b merge from donut 2009-09-03 15:19:21 -07:00
Jean-Baptiste Queru
8f4b5a5618 donut snapshot 2009-09-02 13:39:46 -07:00
Kenny Root
44b283dc27 Fix %p vs %s typo in aapt message
When trying to print an xmltree or xmlstrings from aapt, the error
message if the resource didn't exist erroneously printed a pointer
instead of a string.

Change-Id: I317bbbdc1200e0f10922e80a36e41a22b2d50d0d
2009-09-01 19:07:48 -05:00
Jean-Baptiste Queru
72b1f379d5 donut snapshot 2009-08-31 09:17:57 -07:00
root
0369a7c3ac Improve warning messages for permission denial due to non-exported intent receivers. 2009-08-27 14:51:02 -07:00
linuxemacs
c0bfbd3414 Fix android application platform will crash problem.
If slide on password lock panel and repeatedly swith this
panel to lock panel with BACK button and POWER/HOME button,
the android application platform will crash.
2009-08-26 09:02:40 -07:00
Android Code Review
0648422f67 Merge change 10840
* changes:
  the vertex index should be "first + i".
2009-08-25 14:37:40 -07:00
Android Code Review
46ba1c964f Merge change 11093
* changes:
  If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport.
2009-08-25 14:37:28 -07:00
Android Code Review
595e1ec4a3 Merge change 11106
* changes:
  Calculate specular lighting correctly
2009-08-25 14:37:12 -07:00
Android Code Review
0b3546e653 Merge change 10370
* changes:
  Documentation: Clarify that a FileDescriptor must be seekable
2009-08-24 15:29:29 -07:00
Android Code Review
caee62b52f Merge change 10746
* changes:
  Updated tutorial to no longer use the deprecated MapView.getZoomControls() function. Also fixed a spelling error.
2009-08-24 15:27:33 -07:00
Android Code Review
f4a2a7de88 Merge change 10712
* changes:
  Clarify use of InputType flags
2009-08-24 15:27:08 -07:00
Yusuf T. Mobile
6ee299a327 Updated tutorial to no longer use the deprecated MapView.getZoomControls() function. Also fixed a spelling error. 2009-08-24 15:18:29 -07:00
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
ac1e59d887 donut snapshot 2009-08-11 13:12:34 -07:00
Martin Storsjo
79ad0e6623 Calculate specular lighting correctly
Since the lighting calculations are done in object space, the vector
from the object to the viewer also needs to be transformed to object
space.
2009-08-11 18:01:14 +02:00
Martin Storsjo
1ac3b5ff60 If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport. 2009-08-10 13:03:59 +02: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
Li Wenhao
219749df3e the vertex index should be "first + i". 2009-07-29 14:45:08 +08: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
Kenny Root
d3badad3aa Clarify use of InputType flags
Some developers were confused about how to use the inputType field
and were omitting the class type when setting variations.

There are places in the framework where it specifically checks for
a class and variation before it invokes the desired behavior.

For instance, in EditText when setting the input type to a visible
password, it specifically checks for this condition:
inputType == (TYPE_CLASS_TEXT | TYPE_TEXT_VARIATION_VISIBLE_PASSWORD)
2009-07-18 15:33:28 -05: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