OSDN Git Service
Kenny Root [Mon, 20 Jul 2009 06:45:48 +0000 (01:45 -0500)]
Time.parse3339 range checking and proper 'sec-frac' skip
The parse3339 JNI code doesn't properly do bounds checking on the input String.
These changes do some bounds checking to prevent a buffer underflow condition.
parse3339 should allow the fractional seconds to be optional and an arbitrary
length as specified in RFC 3339. This will scan through arbitrary precision
until it finds the timezone indicators.
Change-Id: Ie9d01d0b24163d893c58c747d37873c83b74e6c7
Fred Quintana [Thu, 12 Nov 2009 20:29:09 +0000 (12:29 -0800)]
always preserve rows for accounts with type of localhost even if the account manager doesn't know about them
Jean-Baptiste Queru [Sun, 15 Nov 2009 20:06:20 +0000 (12:06 -0800)]
merge from eclair
Jean-Baptiste Queru [Fri, 13 Nov 2009 02:45:53 +0000 (18:45 -0800)]
eclair snapshot
Android Code Review [Tue, 10 Nov 2009 17:59:52 +0000 (09:59 -0800)]
Merge change I83387a48
* changes:
Correction of an error in the setRotate method of the ColorMatrix class. The matrix rotation params around the 2nd axis was not set correctly:
Jean-Baptiste Queru [Tue, 10 Nov 2009 01:33:17 +0000 (17:33 -0800)]
Fix build
Alexey Tarasov [Mon, 31 Aug 2009 15:37:07 +0000 (02:37 +1100)]
Typo fix in javadoc
@throw -> @throws
@Deprecated -> @deprecated
Android Code Review [Sun, 8 Nov 2009 20:33:19 +0000 (12:33 -0800)]
Merge change Ia01d5fe8
* changes:
Fix documentation example, per issue 895 on android.googlecode.com
Android Code Review [Thu, 5 Nov 2009 22:10:10 +0000 (14:10 -0800)]
Merge change I4a783af6
* changes:
Fix obvious typo bug in egl.cpp
Android Code Review [Thu, 5 Nov 2009 22:08:25 +0000 (14:08 -0800)]
Merge change I8f67f092
* changes:
Fix of compatibility with multifunction extUSB adapters. Tested with HTC YC A300.
Android Code Review [Thu, 5 Nov 2009 21:10:16 +0000 (13:10 -0800)]
Merge change Ifcba56d2
* changes:
Capture failure of copybit->stretch()
Android Code Review [Thu, 5 Nov 2009 19:36:48 +0000 (11:36 -0800)]
Merge change I9ff67a5f
* changes:
LocationManagerService: Fix race when removing LocationListener
Ravi K Yenduri [Fri, 9 Oct 2009 11:59:53 +0000 (06:59 -0500)]
Capture failure of copybit->stretch()
Olivier Goutet [Thu, 5 Nov 2009 13:48:03 +0000 (14:48 +0100)]
Correction of an error in the setRotate method of the ColorMatrix class.
The matrix rotation params around the 2nd axis was not set correctly:
Initial matrix for axis 2 (green):
cos 0 sin 0 0
0 1 0 0 0
-sin 0 0 0 0
0 0 cos 1 0
After correction:
cos 0 -sin 0 0
0 1 0 0 0
sin 0 cos 0 0
0 0 0 1 0
Android Code Review [Thu, 5 Nov 2009 01:31:01 +0000 (17:31 -0800)]
Merge change Ic93ca0d7
* changes:
Don't return when blocking is true.
Jean-Baptiste Queru [Wed, 28 Oct 2009 15:31:17 +0000 (08:31 -0700)]
Merge from donut
Jean-Baptiste Queru [Wed, 28 Oct 2009 14:40:31 +0000 (07:40 -0700)]
Reconcile true history with open-source donut snapshots
Jean-Baptiste Queru [Wed, 14 Oct 2009 01:05:04 +0000 (18:05 -0700)]
Merge from donut
Christoffer Gurell [Mon, 12 Oct 2009 13:53:39 +0000 (15:53 +0200)]
Fixes scroll/measure bug in EditText
Bug and fix described in:
http://code.google.com/p/android/issues/detail?id=4184
Christoffer Gurell [Mon, 12 Oct 2009 09:57:27 +0000 (11:57 +0200)]
Fix obvious typo bug in egl.cpp
can (and does sometimes) lead to accessing array with -1 as index
Jean-Baptiste Queru [Fri, 9 Oct 2009 17:27:15 +0000 (10:27 -0700)]
reconcile tools-docs into main branch
Jean-Baptiste Queru [Fri, 9 Oct 2009 17:27:14 +0000 (10:27 -0700)]
donut snapshot
Jean-Baptiste Queru [Fri, 9 Oct 2009 14:33:40 +0000 (07:33 -0700)]
donut snapshot
Joshua Bartel [Mon, 5 Oct 2009 16:44:46 +0000 (12:44 -0400)]
LocationManagerService: Fix race when removing LocationListener
In LocationManagerService if a LocationListener is removed while it has
a pending broadcast the wake lock held while pending broadcasts are
outstanding do not get cleared properly.
There are 2 cases of this race that are fixed:
1. locationCallbackFinished was changed to check the mReceivers HashMap
directly instead of calling getReceiver. getReceiver would add the
ILocationListener as a new Receiver if it did not exist which caused
a receiver that was removed when it still had a broadcast pending to
be added back in a bad state when the pending broadcast completed.
2. removeUpdatesLocked was changed to decrement the pending broadcasts
when a Receiver is removed that has pending broadcasts.
Josh Guilfoyle [Fri, 2 Oct 2009 22:39:10 +0000 (15:39 -0700)]
Fixed issue #4098: Ringtone#getTitle does not close its cursor.
http://code.google.com/p/android/issues/detail?id=4098
Li Wenhao [Mon, 21 Sep 2009 09:14:59 +0000 (17:14 +0800)]
Don't return when blocking is true.
Yusuf T. Mobile [Tue, 14 Jul 2009 22:46:26 +0000 (15:46 -0700)]
Fixed Android issue #2002: "Proximity alert detection logic is broken"
http://code.google.com/p/android/issues/detail?id=2002
Ravi K Yenduri [Sun, 21 Jun 2009 22:19:58 +0000 (17:19 -0500)]
Update comment in mediaplayer.h.
When sending a MEDIA_INFO message, the second integer is supposed
to be an "info" code instead of an "error" code.
Jean-Baptiste Queru [Wed, 16 Sep 2009 22:06:25 +0000 (15:06 -0700)]
Update documentation for getVideoWidth and getVideoHeight.
Ref: http://code.google.com/p/android/issues/detail?id=3024
Android Code Review [Tue, 15 Sep 2009 20:14:58 +0000 (13:14 -0700)]
Merge change 10326
* changes:
Javadoc used startApplication() which doesnt exists, changed to createApplication()
Kenny Root [Sun, 12 Jul 2009 15:33:28 +0000 (10:33 -0500)]
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)
Android Code Review [Mon, 14 Sep 2009 21:19:56 +0000 (14:19 -0700)]
Merge change 10322
* changes:
Text specifies "android:codeName" which doesnt exist, should be "android:versionName"
David Strobach [Wed, 20 May 2009 01:30:50 +0000 (03:30 +0200)]
Fix of compatibility with multifunction extUSB adapters.
Tested with HTC YC A300.
Jean-Baptiste Queru [Thu, 3 Sep 2009 22:18:14 +0000 (15:18 -0700)]
merge from donut
Jean-Baptiste Queru [Wed, 2 Sep 2009 20:39:46 +0000 (13:39 -0700)]
donut snapshot
Dianne Hackborn [Wed, 2 Sep 2009 02:21:08 +0000 (19:21 -0700)]
Revert "Fix content provider"
Argh!
This reverts commit
da706900f45dca82d89f090e4e52fa5d1772c495.
Android (Google) Code Review [Wed, 2 Sep 2009 02:15:59 +0000 (19:15 -0700)]
Merge change 23569 into donut
* changes:
Update 4.xml to the most recent APIs.
Dianne Hackborn [Wed, 2 Sep 2009 02:14:55 +0000 (19:14 -0700)]
Update 4.xml to the most recent APIs.
Android (Google) Code Review [Wed, 2 Sep 2009 02:09:24 +0000 (19:09 -0700)]
Merge change 23499 into donut
* changes:
Fix content provider
Android (Google) Code Review [Wed, 2 Sep 2009 02:04:15 +0000 (19:04 -0700)]
Merge change 23503 into donut
* changes:
docs only. expand the uses-feature docs
Scott Main [Tue, 1 Sep 2009 21:10:06 +0000 (14:10 -0700)]
docs only.
expand the uses-feature docs
Change-Id: I47e7d7570fdab6f0f698ecc978c8cecca8c1d28b
Kenny Root [Wed, 2 Sep 2009 00:03:11 +0000 (19:03 -0500)]
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
Scott Main [Tue, 1 Sep 2009 23:17:36 +0000 (16:17 -0700)]
docs only.
add syntax samples for all attributes and revise
targetSdkVersion information.
Change-Id: I164da5870743be259e64827c36c4c5eed55fa2b0
Dianne Hackborn [Tue, 1 Sep 2009 20:57:11 +0000 (13:57 -0700)]
Fix content provider
Android (Google) Code Review [Tue, 1 Sep 2009 18:16:25 +0000 (11:16 -0700)]
Merge change 23345 into donut
* changes:
Fix an emoji-measuring bug that caused an exception when editing a contact.
Eric Fischer [Mon, 31 Aug 2009 22:14:35 +0000 (15:14 -0700)]
Fix an emoji-measuring bug that caused an exception when editing a contact.
It was measuring the text to try to determine the size that it needed to
scale the emoji character to. Unfortunately it was accidentally trying
to measure the character under the cursor instead of the emoji character
itself, which is wrong, but more seriously doesn't work at all when the
cursor is at the end of the line.
This was already fixed before in change 144474, but that change never got
merged over to donut. So this merges it now.
Bug
2087915
Change-Id: Ib4804d330a029a966207b3b07271f84e6b2652c0
Scott Main [Tue, 1 Sep 2009 01:04:52 +0000 (18:04 -0700)]
docs only.
revise samples link for offline docs to point to the current version
Android (Google) Code Review [Mon, 31 Aug 2009 22:00:36 +0000 (15:00 -0700)]
Merge change 23242 into donut
* changes:
docs only. add uses-feature "name" attribute
Scott Main [Sat, 29 Aug 2009 21:41:57 +0000 (14:41 -0700)]
docs only.
add uses-feature "name" attribute
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:32:01 +0000 (09:32 -0700)]
Merge snapshot version of donut back into the main tree
Jean-Baptiste Queru [Mon, 31 Aug 2009 16:17:57 +0000 (09:17 -0700)]
donut snapshot
Android (Google) Code Review [Sat, 29 Aug 2009 20:38:17 +0000 (13:38 -0700)]
Merge change 23241 into donut
* changes:
add searchable dictionary to html docs and dev guide nav and add screenshots.
Scott Main [Sat, 29 Aug 2009 20:17:53 +0000 (13:17 -0700)]
add searchable dictionary to html docs and dev guide nav
and add screenshots.
Android (Google) Code Review [Fri, 28 Aug 2009 23:14:21 +0000 (16:14 -0700)]
Merge change 23198 into donut
* changes:
Update SearchManager documentation to reflect latest behavior.
Mike LeBeau [Fri, 28 Aug 2009 22:03:02 +0000 (15:03 -0700)]
Update SearchManager documentation to reflect latest behavior.
Android (Google) Code Review [Fri, 28 Aug 2009 20:48:09 +0000 (13:48 -0700)]
Merge change 23173 into donut
* changes:
Remove flaky test LifecycleTest.testDialog from large continuous suite.
Brett Chabot [Fri, 28 Aug 2009 20:42:10 +0000 (13:42 -0700)]
Remove flaky test LifecycleTest.testDialog from large continuous suite.
BUG
1866891
Change-Id: Ifef98426cf3879fc9f17aa5a0891578fefa54ce3
Android (Google) Code Review [Fri, 28 Aug 2009 01:32:27 +0000 (18:32 -0700)]
Merge change 23043 into donut
* changes:
Revert "Remove third party support for Quick Search Box (aka global search)."
Karl Rosaen [Fri, 28 Aug 2009 00:42:48 +0000 (17:42 -0700)]
Revert "Remove third party support for Quick Search Box (aka global search)."
This reverts commit
a647b7f29d65a7792cede74284e714b591337992.
root [Mon, 23 Mar 2009 14:20:47 +0000 (15:20 +0100)]
Improve warning messages for permission denial due to non-exported intent receivers.
Android (Google) Code Review [Thu, 27 Aug 2009 19:57:09 +0000 (12:57 -0700)]
Merge change 22939 into donut
* changes:
Final Donut API list.
Dianne Hackborn [Thu, 27 Aug 2009 19:11:10 +0000 (12:11 -0700)]
Final Donut API list.
Android (Google) Code Review [Thu, 27 Aug 2009 08:14:00 +0000 (01:14 -0700)]
Merge change 22883 into donut
* changes:
Various tweaks to try to improve low memory behavior.
Dianne Hackborn [Thu, 27 Aug 2009 07:44:33 +0000 (00:44 -0700)]
Various tweaks to try to improve low memory behavior.
- Reduce the amount that we ask processes to GC after a significant
operation occurs, but introducing a minimum time between GCs and
using this in various ways to schedule them.
- Don't spam all of the processes with onLowMemory(). Now deliver
these using the same gc facility, so we do the processes one at a
time, and don't allow the same process to get this call more than
once a minute.
- Increase the time a service must run before we will reset its
restart delay to 30 minutes (from 10).
- Increase the restart delay multiplication factor from 2 to 4.
- Ensure that we don't restart more than one service every 10 seconds
(unless some external event causes a service's process to be started
for some other reason of course).
- Increase the amount of time that a service must run before we
decide to lower it to a background process.
And some other things:
- Catch IllegalArgumentException in ViewRoot like we do for no
resources to avoid the system process crashing.
- Fix a number of places where we were missing breaks between the
activity manager's message dispatch func(!!).
- Fix reason printed for processes in the background.
- Print the list of processing waiting to GC.
Mike Lockwood [Tue, 25 Aug 2009 17:05:18 +0000 (10:05 -0700)]
LocationManager: Fix problem replacing GPS and network providers with a mock provider.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Android (Google) Code Review [Wed, 26 Aug 2009 19:55:54 +0000 (12:55 -0700)]
Merge change 22090 into donut
* changes:
docs only. add new documentation for installing the new winusb driver. also add a link to the HTC support site for ADP flashing and remove references to the G1 and generalize to "consumer devices"
Scott Main [Wed, 26 Aug 2009 18:56:57 +0000 (11:56 -0700)]
docs only.
add new documentation for installing the new winusb driver.
also add a link to the HTC support site for ADP flashing
and remove references to the G1 and generalize to "consumer devices"
linuxemacs [Thu, 4 Dec 2008 16:01:36 +0000 (00:01 +0800)]
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.
Bjorn Bringert [Wed, 26 Aug 2009 12:18:40 +0000 (13:18 +0100)]
Close suggestion cursors that arrive after adapter is closed
Before, after using the Browser, memory-hungry apps could
become very sluggish. This was because the search dialog in the
system process had the BrowserProvider open, which in turn had
EnhancedGoogleSearch open. Since EhancedGoogleSearch runs in acore,
the system would keep both the Browser process and acore to stay
around forever.
The cause (or at least one common cause) for this was that
if the user types quickly, and clicks on a suggestion before
the displayed suggestions have caught up, some suggestion cursors
are not be closed.
This change solves this problem by adding a close() method to
SuggestionsAdapter. SuggestionsAdapter now closes any cursors
that are passed to it after close() is called.
Fixes http://b/issue?id=
2078226
"global search holding reference to browser: system -> browser -> acore = :("
Android Code Review [Tue, 25 Aug 2009 21:37:40 +0000 (14:37 -0700)]
Merge change 10840
* changes:
the vertex index should be "first + i".
Android Code Review [Tue, 25 Aug 2009 21:37:28 +0000 (14:37 -0700)]
Merge change 11093
* changes:
If FLAGS_2D_PROJECTION is set, the MVP matrices need updating when changing the viewport.
Android Code Review [Tue, 25 Aug 2009 21:37:12 +0000 (14:37 -0700)]
Merge change 11106
* changes:
Calculate specular lighting correctly
Yu Shan Emily Lau [Tue, 25 Aug 2009 17:21:31 +0000 (10:21 -0700)]
Revert " modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java"
This reverts commit
051d8d6692a4f8d852f6336d1e31a3a907913ac7.
Android Code Review [Mon, 24 Aug 2009 22:29:29 +0000 (15:29 -0700)]
Merge change 10370
* changes:
Documentation: Clarify that a FileDescriptor must be seekable
Android Code Review [Mon, 24 Aug 2009 22:27:33 +0000 (15:27 -0700)]
Merge change 10746
* changes:
Updated tutorial to no longer use the deprecated MapView.getZoomControls() function. Also fixed a spelling error.
Android Code Review [Mon, 24 Aug 2009 22:27:08 +0000 (15:27 -0700)]
Merge change 10712
* changes:
Clarify use of InputType flags
Yusuf T. Mobile [Tue, 21 Jul 2009 21:51:39 +0000 (14:51 -0700)]
Updated tutorial to no longer use the deprecated MapView.getZoomControls() function. Also fixed a spelling error.
Scott Main [Mon, 24 Aug 2009 21:45:00 +0000 (14:45 -0700)]
Add more code samples to the online docs.
Add build rules to include the development samples in the droiddoc build process.
Add all the sample screenshots to a new samples/images/ directory
Revise the samples homepage to include links to new samples
Kenny Root [Sat, 13 Jun 2009 11:16:23 +0000 (06:16 -0500)]
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.
Kenny Root [Sat, 13 Jun 2009 11:03:24 +0000 (06:03 -0500)]
Documentation: add preposition and clarify permissions
Android (Google) Code Review [Mon, 24 Aug 2009 17:11:00 +0000 (10:11 -0700)]
Merge change 22379 into donut
* changes:
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java Fixed the passing incorrect media names and add the localH263AMRprepareAsync test.
Yu Shan Emily Lau [Sat, 22 Aug 2009 02:06:18 +0000 (19:06 -0700)]
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
Fixed the passing incorrect media names and add the localH263AMRprepareAsync test.
modified: MediaFrameworkTest/src/com/android/mediaframeworktest/functional/MediaPlayerApiTest.java
Android Code Review [Fri, 21 Aug 2009 22:35:28 +0000 (15:35 -0700)]
Merge change 11284
* changes:
Fix bitmask in aapt's StringPool length construction
Android (Google) Code Review [Fri, 21 Aug 2009 21:47:41 +0000 (14:47 -0700)]
Merge change 22322 into donut
* changes:
Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
Eric Fischer [Fri, 21 Aug 2009 20:31:54 +0000 (13:31 -0700)]
Add FLAG_ACTIVITY_NEW_TASK flag when adding a word to the dictionary.
Without this, the runtime would restart when you tried to add a word
from the search widget.
Bug
2069689
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.
Anonymous Coward [Fri, 21 Aug 2009 00:53:27 +0000 (17:53 -0700)]
Remove third party support for Quick Search Box (aka global search).
- @hides relevant APIs
- removes relevant javadoc
- enforces that only system apps can participate
note: general support is still there, will be easy to reenable when we are ready.
Android Code Review [Fri, 21 Aug 2009 13:23:31 +0000 (06:23 -0700)]
Merge change 10274
* changes:
Ignore pause and seek for live streaming.
Bob Lee [Fri, 21 Aug 2009 00:36:11 +0000 (17:36 -0700)]
Updated Browser and MCS to use shared default trust manager instead of initializing their own copies.
Eric Fischer [Thu, 20 Aug 2009 21:07:18 +0000 (14:07 -0700)]
Import revised translations. DO NOT MERGE
Android (Google) Code Review [Thu, 20 Aug 2009 18:19:08 +0000 (11:19 -0700)]
Merge change 21977 into donut
* changes:
docs only. add reference information for new <path-permission> element
Scott Main [Wed, 19 Aug 2009 21:52:09 +0000 (14:52 -0700)]
docs only.
add reference information for new <path-permission> element
Suchi Amalapurapu [Tue, 18 Aug 2009 23:57:41 +0000 (16:57 -0700)]
invoke sendMessage instead of dispatchMessage to avoid deadlocks in ActivityManagerService
Android (Google) Code Review [Tue, 18 Aug 2009 20:39:50 +0000 (13:39 -0700)]
Merge change 21772 into donut
* changes:
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
Xavier Ducrohet [Tue, 18 Aug 2009 20:35:55 +0000 (13:35 -0700)]
Fix Resources#opeRawResource(int, TypedValue) in layoutlib.
Eric Fischer [Tue, 18 Aug 2009 18:19:17 +0000 (11:19 -0700)]
Import revised translations. DO NOT MERGE
Android (Google) Code Review [Tue, 18 Aug 2009 01:38:53 +0000 (18:38 -0700)]
Merge change 21652 into donut
* changes:
Make ZoomButtonsController public.
Jack Palevich [Tue, 18 Aug 2009 01:29:52 +0000 (18:29 -0700)]
Make ZoomButtonsController public.
Android (Google) Code Review [Tue, 18 Aug 2009 00:58:05 +0000 (17:58 -0700)]
Merge change 21178 into donut
* changes:
Simplified algorithm used to generate the preloaded-classes list. Generated a new preloaded-classes file.
Suchi Amalapurapu [Mon, 17 Aug 2009 23:57:03 +0000 (16:57 -0700)]
Remove dead locks in system process when installing packages