OSDN Git Service
Brad Fitzpatrick [Fri, 27 Aug 2010 18:11:24 +0000 (11:11 -0700)]
Fix closing tag in docs.
BUG=
2956223
Change-Id: I0772d0b5386a783762319064c13d567c124da394
Eric Rowe [Fri, 27 Aug 2010 00:21:46 +0000 (17:21 -0700)]
Merge "Improve logging and flexibility of BT stress tests." into froyo
Eric Rowe [Thu, 26 Aug 2010 22:13:24 +0000 (15:13 -0700)]
Improve logging and flexibility of BT stress tests.
Change-Id: I657638b3b410175919da545e9a9b7d9df6466362
Joe Onorato [Thu, 26 Aug 2010 18:46:01 +0000 (14:46 -0400)]
Continue trying to make the turn off quickly after call feature work.
The previous implementation worked if the set timeout is short enough, which mine was. This one
carries the remaining amount of timeout override forward through all of the countdown steps.
Bug:
2844990
Change-Id: I040df22f9f9ddf98c355ac6845b7624e95f84f33
Jean-Baptiste Queru [Wed, 25 Aug 2010 16:38:48 +0000 (09:38 -0700)]
reconcile open-source froyo into google variant
Change-Id: Idfacbf98a6c98176620f252504213d01bbd49eb9
Christopher Tate [Tue, 24 Aug 2010 22:37:42 +0000 (15:37 -0700)]
Make the default backup configuration "disabled; local transport selected"
By default out of the box, an Android build will have the backup mechanism in
its "disabled" state and pointed to the LocalTransport test transport. We
do not want retail devices built without the Google backend to have backup
enabled out of the box; it would cause them to gradually grind away the
cache partition for no good reason. On those devices with this change,
developers would need to enable backup manually (possibly using the normal
Settings UI; more probably using the 'bmgr' shell tool), but would no longer
also have to manually configure the active transport name.
Device vendors producing Google-enabled products will simply use resource
overlays to configure the default state and transport name for their builds.
When building a product that points to the Google backup transport by default,
the "def_backup_enabled" boolean resource should still be set to 'false' --
the Google backup disclosure activity supplied by GSF will take care of
enabling the backup services if the user opts in to it. (Basically, vendors
will never have to overlay the def_backup_enabled resource -- the default
value of 'false' is correct for any retail device regardless of whether it
can use the Google backup transport.)
In the SDK build, the default transport will remain the local one, but
the default enable state overridden and set to "true". This is the ideal
situation for developers: all aspects of the backup mechanism immediately
operative with no manual configuration needed.
Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34
Christopher Tate [Wed, 25 Aug 2010 01:05:09 +0000 (18:05 -0700)]
Merge "Make the default backup configuration "disabled; local transport selected"" into froyo
Christopher Tate [Tue, 24 Aug 2010 22:37:42 +0000 (15:37 -0700)]
Make the default backup configuration "disabled; local transport selected"
By default out of the box, an Android build will have the backup mechanism in
its "disabled" state and pointed to the LocalTransport test transport. We
do not want retail devices built without the Google backend to have backup
enabled out of the box; it would cause them to gradually grind away the
cache partition for no good reason. On those devices with this change,
developers would need to enable backup manually (possibly using the normal
Settings UI; more probably using the 'bmgr' shell tool), but would no longer
also have to manually configure the active transport name.
Device vendors producing Google-enabled products will simply use resource
overlays to configure the default state and transport name for their builds.
When building a product that points to the Google backup transport by default,
the "def_backup_enabled" boolean resource should still be set to 'false' --
the Google backup disclosure activity supplied by GSF will take care of
enabling the backup services if the user opts in to it. (Basically, vendors
will never have to overlay the def_backup_enabled resource -- the default
value of 'false' is correct for any retail device regardless of whether it
can use the Google backup transport.)
In the SDK build, the default transport will remain the local one, but
the default enable state overridden and set to "true". This is the ideal
situation for developers: all aspects of the backup mechanism immediately
operative with no manual configuration needed.
Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34
Dirk Dougherty [Tue, 24 Aug 2010 00:40:46 +0000 (17:40 -0700)]
Merge "Doc change: Add table to clarify launch modes and caution against using SingleTask and SingleInstance modes." into froyo
Dirk Dougherty [Mon, 23 Aug 2010 19:11:14 +0000 (12:11 -0700)]
Doc change: Add table to clarify launch modes and caution against using SingleTask and SingleInstance modes.
Change-Id: I9e04c54ed3e4d10afddedd6e6e35761e67652cd8
Scott Main [Mon, 23 Aug 2010 19:32:51 +0000 (12:32 -0700)]
Merge "docs: add dev guide for getting user location" into froyo
Trevor Johns [Sat, 21 Aug 2010 00:13:02 +0000 (17:13 -0700)]
Disabling AccessibilityService sample from build system.
This is necessary for an upcoming doc push. I'll revert this change after the
doc push is complete.
Change-Id: I32bbff7797cf5af1642da2b907b20847c1d17d21
Wink Saville [Fri, 20 Aug 2010 23:24:02 +0000 (16:24 -0700)]
Change CDMAPhone.getDeviceId to return MEID or ESN.
This allows devices with only ESN's to work.
bug:
2938223
Change-Id: I33939151c59f598b939e73d98f1178669d6ceb75
Scott Main [Wed, 18 Aug 2010 03:29:03 +0000 (20:29 -0700)]
docs: add dev guide for getting user location
Change-Id: I63558c0304a632ccfbb7a80411ab23ad2c82b5c9
Scott Main [Fri, 20 Aug 2010 00:31:12 +0000 (17:31 -0700)]
Merge "docs: add links from widget classes to tutorials" into froyo
Scott Main [Thu, 19 Aug 2010 23:57:07 +0000 (16:57 -0700)]
docs: add links from widget classes to tutorials
Change-Id: I817e885524951853182b0458df4a32dea1614243
Doug Zongker [Thu, 19 Aug 2010 20:38:26 +0000 (13:38 -0700)]
make android_id random seed depend on time as well as ro.serialno
Change-Id: I0a48aacd8da30896d91fa05b7791335e6ed751e5
Kenny Root [Wed, 2 Jun 2010 03:50:21 +0000 (20:50 -0700)]
Amend previous ndc commit
Submitted wrong patchset. This includes the delta for the latest
patchset.
Change-Id: I63bb9a37dd9100550ae07a3a1c9fdd9fd71724e1
Kenny Root [Tue, 1 Jun 2010 20:23:53 +0000 (13:23 -0700)]
Add more error checking for ndc
In NativeDaemonConnector.doCommand() calls, there was inconsistent error
checking. This change adds error checking for every call and makes it so
that any call to .doCommand() that gets an error code won't cause the
code to hang forever.
Change-Id: If714282b6642f278fb8137f652af1a012670253b
David 'Digit' Turner [Thu, 3 Jun 2010 21:37:42 +0000 (14:37 -0700)]
PackageManagerService: always install native binaries from .apk
The previous implementation fails to work properly when the .apk
and installed versions of the binaries have the same size and date.
Change-Id: I063817a935da9ad459858d7eec8bb3d940607850
Roman Nurik [Tue, 17 Aug 2010 17:36:03 +0000 (10:36 -0700)]
Merge "Adding a sample accessibility service -make" into froyo
Ficus Kirkpatrick [Fri, 13 Aug 2010 21:13:08 +0000 (14:13 -0700)]
Add --max-res-version flag to aapt.
aapt will ignore any versioned resource directories over the
specified version (if used). e.g. --max-res-version=6 will
cause layout-land-v7 to be ignored.
Merged from eclair.
Change-Id: I40ccf820c8a6e3074fccc987dd60a511dd8eb0de
Trevor Johns [Thu, 12 Aug 2010 21:27:33 +0000 (14:27 -0700)]
Merge "Fix subscribe links for Developer Forums doc." into froyo
Svetoslav Ganov [Wed, 11 Aug 2010 04:39:56 +0000 (21:39 -0700)]
Adding a sample accessibility service -make
Change-Id: I5bdd57e022b9907f7745046d8818801dbc3929a8
Trevor Johns [Tue, 10 Aug 2010 18:36:56 +0000 (11:36 -0700)]
Fix subscribe links for Developer Forums doc.
The email-based subscribe links for the Android Developer forums do
not work for two groups (android-discuss, android-beginners) due to
recent changes in those groups. These links need to be changed to
HTML-based subscribe links instead.
For consistency, other links are being changed to use the HTML-based
subscription mechanism as well.
Internal Bug:
2908002
Change-Id: I601b959935584270d6107c4600b28ac5f51359e1
Eric Rowe [Mon, 9 Aug 2010 22:34:24 +0000 (15:34 -0700)]
Remove @LargeTest annotations
Change-Id: Ib7e6f6e8b6437db5ca2ad2bcb89f079a0cbf7453
Dan Egnor [Fri, 6 Aug 2010 23:39:02 +0000 (16:39 -0700)]
Merge "COMMENT ONLY change to fix some formatting glitches and (more importantly) clarify issues surrounding removed accounts." into froyo
Adam Powell [Fri, 6 Aug 2010 01:33:31 +0000 (18:33 -0700)]
Merge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller" into froyo
Fred Quintana [Fri, 6 Aug 2010 00:36:27 +0000 (17:36 -0700)]
Merge "Changed SyncOperation.toKey() to not rely on the implementation of Account.toString()" into froyo
Fred Quintana [Thu, 5 Aug 2010 21:14:49 +0000 (14:14 -0700)]
Changed SyncOperation.toKey() to not rely on the implementation of
Account.toString()
bug:
2898033
Change-Id: I6bfac976127190d2d667312df7aa9c7d57b21555
Adam Powell [Fri, 23 Jul 2010 22:49:03 +0000 (15:49 -0700)]
DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller
Change-Id: Ia176cdb029201dbad193d2d213d3cf6e16fbee63
Scott Main [Thu, 5 Aug 2010 22:49:08 +0000 (15:49 -0700)]
Merge "fix xml sample error" into froyo
Scott Main [Thu, 5 Aug 2010 22:44:26 +0000 (15:44 -0700)]
fix xml sample error
Change-Id: Ifd188a5866382a79c2c9de94c0682b707baffdcf
Eric Rowe [Thu, 5 Aug 2010 21:49:22 +0000 (14:49 -0700)]
Merge "Checkin initial bluetooth stress tests." into froyo
Eric Rowe [Thu, 29 Jul 2010 19:11:29 +0000 (12:11 -0700)]
Checkin initial bluetooth stress tests.
Bluetooth stress tests include stress tests for enabling/disabling bluetooth,
making the device discoverable/undiscoverable, and starting and stopping scans.
Change-Id: Ic8ba09475ffe5551717438673e0ed3f4bd17cf2f
Scott Main [Thu, 5 Aug 2010 00:33:33 +0000 (17:33 -0700)]
fix some doc errors in the resources;
add link to resource docs for ColorStateList class
Change-Id: I7f59bfd136d5bd3c2ea066b6123ee13ccd57f502
Scott Main [Mon, 2 Aug 2010 18:50:36 +0000 (11:50 -0700)]
fix doc bugs
Change-Id: Ic0cec3818fdc7692ea7aa3152ecb444203097157
Dan Egnor [Tue, 3 Aug 2010 01:22:09 +0000 (18:22 -0700)]
COMMENT ONLY change to fix some formatting glitches and
(more importantly) clarify issues surrounding removed accounts.
Change-Id: I19e6c0e536e46b6d219c808bb86e88edd7e6f378
Scott Main [Tue, 3 Aug 2010 00:22:11 +0000 (17:22 -0700)]
update device dashboard
Change-Id: I79ebf6fa740e19f32d724e9b8a387f2a143fdf7a
Wink Saville [Mon, 2 Aug 2010 18:05:28 +0000 (11:05 -0700)]
Add PhoneSubInfo.getCompleteVoiceMailNumber.
PhoneSubInfo.getVoiceMailNumber now returns only the network
portion of the voicemail number. Use the new method
PhoneSubInfo.getCompleteVoiceMailNumber to get the netowrk
portion and the post dial portion.
Bug:
2881483
Change-Id: I7637d4fa0ffa046b4eebc4d599719bb668c940b5
Scott Main [Mon, 2 Aug 2010 16:16:30 +0000 (09:16 -0700)]
Merge "Doc change: Add nexus one to dev phones." into froyo
Dirk Dougherty [Thu, 29 Jul 2010 02:37:01 +0000 (19:37 -0700)]
Doc change: Cleanup for licensing doc.
Change-Id: Iff046768d70adf0489f5241212061045cef2572f
Andreas Huber [Fri, 30 Jul 2010 15:05:56 +0000 (08:05 -0700)]
Merge "Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference." into froyo
The Android Open Source Project [Fri, 30 Jul 2010 00:45:56 +0000 (17:45 -0700)]
Merge branch 'froyo' of git://android.git./platform/frameworks/base into HEAD
Jean-Baptiste Queru [Fri, 30 Jul 2010 00:35:37 +0000 (17:35 -0700)]
fix inaccurate copyrights
Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
Gilles Debunne [Fri, 30 Jul 2010 00:39:32 +0000 (17:39 -0700)]
Merge "Fixes regarding densities in "Providing Resources" documentation page." into froyo
Gilles Debunne [Fri, 30 Jul 2010 00:39:18 +0000 (17:39 -0700)]
Merge "Fixed doc typos in HeterogeneousExpandableList.java." into froyo
Gilles Debunne [Wed, 28 Jul 2010 16:00:41 +0000 (09:00 -0700)]
Fixed doc typos in HeterogeneousExpandableList.java.
Bad links.
Cherry-pick from master for a documentation update.
https://android-git.corp.google.com/g/#change,59176
Change-Id: Ib69b05c09fc80434cb9cd79d61fae4035adc1970
Gilles Debunne [Wed, 28 Jul 2010 16:01:34 +0000 (09:01 -0700)]
Fixes regarding densities in "Providing Resources" documentation page.
The ratio between densities is not constant.
The Exception for dpi qualifier in point 4 of the algorithm should be detailed.
I understand that if my config is ldpi-trackball-v5
and I have the choice between mdpi and hdpi-trackball-v5, mdpi will be chosen.
Cherry-picked from master CL 59188.
Change-Id: Ibe412a82845527ebdb104605c99c205ca52ab97c
The Android Open Source Project [Thu, 29 Jul 2010 22:38:41 +0000 (15:38 -0700)]
Merge from open-source froyo
Change-Id: Ifa75fce9bd362b06ecb622219ef501e61e89fd76
Dianne Hackborn [Thu, 29 Jul 2010 20:57:56 +0000 (13:57 -0700)]
Fix a bug where we cleaned an apps external data when upgrading it. :(
Change-Id: I0eee1e7062d334c66d6daa3c43e11a292263aada
Andreas Huber [Tue, 20 Jul 2010 16:44:34 +0000 (09:44 -0700)]
Squashed commit of the following:
commit
4abf16bb04dc9695fedf4007a84f903074312ccd
Author: Andreas Huber <andih@google.com>
Date: Tue Jul 20 09:21:17 2010 -0700
Support a single format change at the beginning of audio playback. This way the AAC+ decoder may change its output format from what is originally encoded in the audio stream and we'll still play it back correctly.
Change-Id: Icc790122744745e9a88099788d4818ca1e265a82
related-to-bug:
2826841
commit
09c74da63e6ad5cb5dafb70f62696d75d2978967
Author: James Dong <jdong@google.com>
Date: Sun Jul 18 17:57:01 2010 -0700
Fix MPEG4Extractor to extract sampling frequency correctly when SBR is enabled.
Change-Id: I883c81dad3ea465e71cb5590e89d763671a90ff8
commit
f672bf2a782dc7d5fb6325d611a7fe17045dfe9a
Author: James Dong <jdong@google.com>
Date: Thu Jul 8 20:56:13 2010 -0700
Enable the support for decoding audio with AAC+ and eAAC+ features
bug - 282684
Change-Id: I73c8377af3cc4edd3ee7cea86dc3b1c369fbd78b
Change-Id: I012f1179e933b6d1345d2368f357576c722485f7
Andreas Huber [Tue, 27 Jul 2010 23:49:10 +0000 (16:49 -0700)]
Add a missing break; to restore old functionality and not turn off the screen after 30secs regardless of system preference.
Change-Id: Ib71113a3bc5aa5fdc088ab4ac3627352499ad3fa
Scott Main [Wed, 28 Jul 2010 21:20:18 +0000 (14:20 -0700)]
Merge "fix markup error bug:
2871538" into froyo
Scott Main [Wed, 28 Jul 2010 21:14:40 +0000 (14:14 -0700)]
fix markup error
bug:
2871538
Change-Id: I7ab4a9bb722ee8b3e5d740f79143776be8b56a6f
Dan Egnor [Wed, 28 Jul 2010 19:28:04 +0000 (12:28 -0700)]
Minor changes to ContentProvider javadoc to improve consistency.
Change-Id: I710f618c94ffd5d6368ef04a39ac08f675bec11b
Brad Fitzpatrick [Tue, 27 Jul 2010 23:44:53 +0000 (16:44 -0700)]
Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Dan Egnor [Tue, 27 Jul 2010 23:32:17 +0000 (16:32 -0700)]
COMMENT ONLY change to clarify ContentProvider documentation.
Gets a little more specific about thread behavior, and makes
pointed comments about not doing too much work in onCreate().
Change-Id: I682f0eb7d7559babee901ed26642751a6ba0a1ea
Joe Onorato [Tue, 27 Jul 2010 16:05:05 +0000 (09:05 -0700)]
Merge "Add a method to let a properly permissioned app directly manipulate the user activity timeout. We should come up with a better API for this, but this is for a last minute power manager hack to turn off the screen sooner after a phone call ends." into froyo
Dirk Dougherty [Wed, 21 Jul 2010 01:38:53 +0000 (18:38 -0700)]
Doc change: Add docs for licensing service.
Change-Id: Ia78467b8857cb8e83ab3920f4126bc7985a9d93d
Joe Onorato [Sat, 24 Jul 2010 15:50:05 +0000 (11:50 -0400)]
Add a method to let a properly permissioned app directly
manipulate the user activity timeout. We should come up
with a better API for this, but this is for a last minute
power manager hack to turn off the screen sooner after a
phone call ends.
Change-Id: I76422f952e3e894c90b3311e7d889899c79cbbaa
Dirk Dougherty [Fri, 23 Jul 2010 20:26:24 +0000 (13:26 -0700)]
Doc change: Add nexus one to dev phones.
Change-Id: I45d0207bff857db7355da6b7736d6a6a729a878a
Dan Egnor [Wed, 21 Jul 2010 20:53:23 +0000 (13:53 -0700)]
Merge "Avoid leaking file descriptors when returning drop box events." into froyo
Dan Egnor [Tue, 20 Jul 2010 22:24:09 +0000 (15:24 -0700)]
Avoid leaking file descriptors when returning drop box events.
We can't use Parcel.writeValue() to write the ParcelFileDescriptor, otherwise
it leaks when returning the value to the caller (the flag gets lost). Change
the way DropBoxManager.Entry gets serialized so that it uses a bit of its own
flags value to track whether the data is a byte[] or a ParcelFileDescriptor.
Modify the dropbox unit test to add extensive checking of Entry serialization
and deserialization under various circumstances, and to include a regression
test to ensure that FD leaking doesn't happen.
Bug:
2847738
Change-Id: I4ccd17dd03ffab234340cd359e6f3510fdf81193
Tom Taylor [Wed, 21 Jul 2010 17:49:48 +0000 (10:49 -0700)]
Fix a merge problem with html mms
Html mms message support was added back in Jan '10. At that time, we
had moved the mms code out of the framework into the mms app. We decided
to back out that change and leave the mms code in its original place.
As a result, the changes to support html messages were lost. This
handmerged CL restores those changes. I'll cherry-pick this into master
as well. Bug
2858888
Change-Id: Icf8835edc8ac396698c167be5433a6fe1cfe6103
Dan Egnor [Tue, 20 Jul 2010 20:57:08 +0000 (13:57 -0700)]
Merge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior with Parcel.writeValue()." into froyo
Scott Main [Tue, 20 Jul 2010 16:59:35 +0000 (09:59 -0700)]
docs: add information about using color resources as drawables
Change-Id: I24d82292b700104294d268894b660bc8b7e5ddb0
Dan Egnor [Tue, 20 Jul 2010 16:03:35 +0000 (09:03 -0700)]
COMMENT ONLY change to add some warnings about ParcelFileDescriptor
behavior with Parcel.writeValue().
Change-Id: If55fcce29559379855735ff5297cf4f46d5d6be6
Bug:
2847738
Dan Egnor [Tue, 20 Jul 2010 01:14:50 +0000 (18:14 -0700)]
Merge "COMMENT-ONLY change to clarify Camera documentation." into froyo
Scott Main [Mon, 19 Jul 2010 21:42:13 +0000 (14:42 -0700)]
Merge "docs: add troubleshooting to eclipse guide about restarting adb" into froyo
Hung Dang [Fri, 16 Jul 2010 22:13:12 +0000 (15:13 -0700)]
Merge "Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test." into froyo
Scott Main [Fri, 16 Jul 2010 20:33:37 +0000 (13:33 -0700)]
docs: add troubleshooting to eclipse guide about restarting adb
Change-Id: I44bf5f488a2a322dabe86ec2e4f25169fc7091ce
Scott Main [Fri, 16 Jul 2010 21:52:03 +0000 (14:52 -0700)]
Merge "docs: editorial revisions to Search guide" into froyo
Scott Main [Wed, 26 May 2010 00:04:01 +0000 (17:04 -0700)]
docs: editorial revisions to Search guide
Change-Id: I6a2065304d1d80c46f3bb3c658ab55f1fe58b211
Yu Shan Emily Lau [Fri, 16 Jul 2010 18:55:43 +0000 (11:55 -0700)]
Add the hook which can set the device to connect to wifi and in airplane mode after reboot. This is for the power test.
Change-Id: I42527612764252d1c47bd29a2b88d5e3019cfdf9
Scott Main [Fri, 16 Jul 2010 01:14:16 +0000 (18:14 -0700)]
Merge "docs: update notepad tutorial to change EditNote activity title and update codelab zip" into froyo
Scott Main [Fri, 16 Jul 2010 00:56:59 +0000 (17:56 -0700)]
docs: dashboard update
Change-Id: I289cc30b0ae2f88429a8a01b4b7219a86b6d479c
Katie McCormick [Fri, 16 Jul 2010 00:25:10 +0000 (17:25 -0700)]
Merge "Doc change: Update AVD create instructions." into froyo
Katie McCormick [Thu, 8 Jul 2010 22:24:16 +0000 (15:24 -0700)]
Doc change: Update AVD create instructions.
Change-Id: Icb1a8200d1b8de4aedea0718a014ab57e057235d
Scott Main [Thu, 15 Jul 2010 18:16:32 +0000 (11:16 -0700)]
Merge "docs: lots of additions to the resources docs new drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo
Andrew Stadler [Thu, 15 Jul 2010 05:26:56 +0000 (22:26 -0700)]
Merge "Skip hostname verification when using insecure factory" into froyo
Dan Egnor [Mon, 12 Jul 2010 22:12:54 +0000 (15:12 -0700)]
COMMENT-ONLY change to clarify Camera documentation.
Change-Id: I6b75cfdfc34d1c16d93c02a32649022ce5505b11
Dianne Hackborn [Tue, 13 Jul 2010 02:03:26 +0000 (19:03 -0700)]
Merge "Fix issue #
2834005: Android Settings.Secure bypass" into froyo
Dianne Hackborn [Mon, 12 Jul 2010 22:54:38 +0000 (15:54 -0700)]
Fix issue #
2834005: Android Settings.Secure bypass
Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572
Dirk Dougherty [Tue, 15 Jun 2010 19:27:00 +0000 (12:27 -0700)]
Doc change: add notes for ndk r4b.
Change-Id: Idf4e4d2ac2ed9c30b3afe258546861084f3f20aa
Andrew Stadler [Mon, 12 Jul 2010 22:31:40 +0000 (15:31 -0700)]
Skip hostname verification when using insecure factory
If the factory was obtained by calling getInsecure(), calls to
createSocket() should skip hostname verification (along with all of the
other skipped safety checks.)
This change slightly relaxes the too-strict checking that was introduced
in change
7fc93c36ae235115727296780dbc35101622bbd4.
Bug:
2834174
Change-Id: Iab7ef861ad0ca727f82ee8cdb78b89b9e835740d
Robert Ly [Mon, 12 Jul 2010 21:32:22 +0000 (14:32 -0700)]
docchange: fixed typo "Pacskage" to "Package"
Change-Id: I6004dc7743dcd74315cbfc2cccc306ff8724e569
Scott Main [Thu, 8 Jul 2010 18:26:36 +0000 (11:26 -0700)]
docs: add redirect for download.html
Change-Id: Id54f1899c1933796524d6c2b5e991a652b354287
Scott Main [Thu, 8 Jul 2010 01:37:48 +0000 (18:37 -0700)]
Merge "docs: add caution about adt in eclipse 3.6" into froyo
Scott Main [Wed, 7 Jul 2010 23:47:16 +0000 (16:47 -0700)]
docs: add caution about adt in eclipse 3.6
Change-Id: I37c920f6a5290d891c4a6dea5978147a50eec807
Dirk Dougherty [Wed, 7 Jul 2010 21:29:29 +0000 (14:29 -0700)]
Merge "Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc." into froyo
Dirk Dougherty [Wed, 23 Jun 2010 22:38:39 +0000 (15:38 -0700)]
Doc change: Add revision notes for Android 2.2_r2 development platform. Fix some umappable characters in WebView class doc.
Change-Id: I5522406335fbf96164a5b812ec4891c499343d1e
Scott Main [Fri, 2 Jul 2010 18:11:34 +0000 (11:11 -0700)]
docs: fix misc broken links
Change-Id: I7294276aff0c80498215870d5d72f7a3a9b2c99a
Chih-Chung Chang [Fri, 2 Jul 2010 14:43:31 +0000 (07:43 -0700)]
Merge "Flush binder buffer after setting raw heap to avoid leaking a reference." into froyo
Scott Main [Fri, 2 Jul 2010 06:26:58 +0000 (23:26 -0700)]
Merge "docs: update device dashboard; add historical chart" into froyo
Chih-Chung Chang [Thu, 1 Jul 2010 13:06:45 +0000 (21:06 +0800)]
Flush binder buffer after setting raw heap to avoid leaking a reference.
The problem was:
1. In handleShutter(), thread A in CameraService calls
registerBuffers(IMemoryHeap) and it's received by thread B
in system_server. [transaction 1]
2. While thread A is waiting for the reply, thread B calls
back to thread A to get the id of the heap
(IMemoryHeap.getHeapID). [transaction 2]
3. Thread A replies transaction 2 and is preemptied in kernel.
Thread B gets the reply and finishes registerBuffers and send
reply for transaction 1.
4. When thread A runs again, it gets the reply for transaction 1
and returns to handleShutter().
5. At this point the transaction buffer for transaction 2 (which
holds a reference to IMemoryHeap) is not freed because the
BC_FREE_BUFFER command is kept in thread A's local command
queue and not sent to the kernel.
6. Normally when thread A makes next transaction, the
BC_FREE_BUFFER command will be sent together (piggyback) with
the commands for that transaction. But in this case thread A
is a callback thread from camera driver, so it does not make
any binder calls afterwards, and the IMemoryHeap is never freed
(until the next time handleShutter is called).
Change-Id: I435a258187509bdbbaf353339eb9ea577610cbd2
Eric Laurent [Thu, 1 Jul 2010 02:41:56 +0000 (19:41 -0700)]
Fix issue
2811538: System server crash when disconnecting BT headset after using SCO off call.
Problem:
When the bluetooth device is removed, the AudioService clears all active SCO connections
and unlinks from the client application's binder interface death.
The problem is that the unlinking is done even if no more connections are active for a given client,
which throws a runtime exception that is not catched causing the system server to crash.
The fix consists in calling unlinkToDeath() in ScoClient.clearCount() only if the number of
active SCO connections for this client is not 0. The NoSuchElementException exception is also
catched when calling unlinkToDeath()
Change-Id: I7086424301fc63a5666da61c38169349d3e078f4
Scott Main [Thu, 1 Jul 2010 18:39:08 +0000 (11:39 -0700)]
docs: update device dashboard; add historical chart
Change-Id: Iafed4ed927141d34dcdb728918320be2fa2cf151
Doug Zongker [Wed, 30 Jun 2010 18:12:19 +0000 (11:12 -0700)]
Merge "Verify hostname where possible, and clarify where not." into froyo
Dan Egnor [Wed, 30 Jun 2010 00:51:28 +0000 (17:51 -0700)]
Verify hostname where possible, and clarify where not.
Bug:
2807409
Change-Id: I6f6a6b22a48149d9f1f45ff8f53103b25706ecc0