OSDN Git Service

android-x86/frameworks-base.git
13 years agoDoc change: Add notes for SDK Tools r7 and ADT 0.9.8.
Dirk Dougherty [Sat, 31 Jul 2010 02:24:17 +0000 (19:24 -0700)]
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.

Change-Id: I7cc8301e0160acd0adb3efbd20c6515ed985684f

14 years agoDisabling AccessibilityService sample from build system.
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

14 years agoChange CDMAPhone.getDeviceId to return MEID or ESN.
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

14 years agoMerge "docs: add links from widget classes to tutorials" into froyo
Scott Main [Fri, 20 Aug 2010 00:31:12 +0000 (17:31 -0700)]
Merge "docs: add links from widget classes to tutorials" into froyo

14 years agodocs: add links from widget classes to tutorials
Scott Main [Thu, 19 Aug 2010 23:57:07 +0000 (16:57 -0700)]
docs: add links from widget classes to tutorials

Change-Id: I817e885524951853182b0458df4a32dea1614243

14 years agomake android_id random seed depend on time as well as ro.serialno
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

14 years agoAmend previous ndc commit
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

14 years agoAdd more error checking for ndc
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

14 years agoPackageManagerService: always install native binaries from .apk
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

14 years agoMerge "Adding a sample accessibility service -make" into froyo
Roman Nurik [Tue, 17 Aug 2010 17:36:03 +0000 (10:36 -0700)]
Merge "Adding a sample accessibility service -make" into froyo

14 years agoAdd --max-res-version flag to aapt.
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

14 years agoMerge "Fix subscribe links for Developer Forums doc." into froyo
Trevor Johns [Thu, 12 Aug 2010 21:27:33 +0000 (14:27 -0700)]
Merge "Fix subscribe links for Developer Forums doc." into froyo

14 years agoAdding a sample accessibility service -make
Svetoslav Ganov [Wed, 11 Aug 2010 04:39:56 +0000 (21:39 -0700)]
Adding a sample accessibility service -make

Change-Id: I5bdd57e022b9907f7745046d8818801dbc3929a8

14 years agoFix subscribe links for Developer Forums doc.
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

14 years agoRemove @LargeTest annotations
Eric Rowe [Mon, 9 Aug 2010 22:34:24 +0000 (15:34 -0700)]
Remove @LargeTest annotations

Change-Id: Ib7e6f6e8b6437db5ca2ad2bcb89f079a0cbf7453

14 years agoMerge "COMMENT ONLY change to fix some formatting glitches and (more importantly...
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

14 years agoMerge "DO NOT MERGE Fix a bug that could cause flings to last too long using a Scroll...
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

14 years agoMerge "Changed SyncOperation.toKey() to not rely on the implementation of Account...
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

14 years agoChanged SyncOperation.toKey() to not rely on the implementation of
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

14 years agoDO NOT MERGE Fix a bug that could cause flings to last too long using a Scroller
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

14 years agoMerge "fix xml sample error" into froyo
Scott Main [Thu, 5 Aug 2010 22:49:08 +0000 (15:49 -0700)]
Merge "fix xml sample error" into froyo

14 years agofix xml sample error
Scott Main [Thu, 5 Aug 2010 22:44:26 +0000 (15:44 -0700)]
fix xml sample error

Change-Id: Ifd188a5866382a79c2c9de94c0682b707baffdcf

14 years agoMerge "Checkin initial bluetooth stress tests." into froyo
Eric Rowe [Thu, 5 Aug 2010 21:49:22 +0000 (14:49 -0700)]
Merge "Checkin initial bluetooth stress tests." into froyo

14 years agoCheckin initial bluetooth stress tests.
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

14 years agofix some doc errors in the resources;
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

14 years agofix doc bugs
Scott Main [Mon, 2 Aug 2010 18:50:36 +0000 (11:50 -0700)]
fix doc bugs

Change-Id: Ic0cec3818fdc7692ea7aa3152ecb444203097157

14 years agoCOMMENT ONLY change to fix some formatting glitches and
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

14 years agoupdate device dashboard
Scott Main [Tue, 3 Aug 2010 00:22:11 +0000 (17:22 -0700)]
update device dashboard

Change-Id: I79ebf6fa740e19f32d724e9b8a387f2a143fdf7a

14 years agoAdd PhoneSubInfo.getCompleteVoiceMailNumber.
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

14 years agoMerge "Doc change: Add nexus one to dev phones." into froyo
Scott Main [Mon, 2 Aug 2010 16:16:30 +0000 (09:16 -0700)]
Merge "Doc change: Add nexus one to dev phones." into froyo

14 years agoDoc change: Cleanup for licensing doc.
Dirk Dougherty [Thu, 29 Jul 2010 02:37:01 +0000 (19:37 -0700)]
Doc change: Cleanup for licensing doc.

Change-Id: Iff046768d70adf0489f5241212061045cef2572f

14 years agoMerge "Add a missing break; to restore old functionality and not turn off the screen...
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

14 years agoMerge branch 'froyo' of git://android.git.kernel.org/platform/frameworks/base into...
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

14 years agofix inaccurate copyrights
Jean-Baptiste Queru [Fri, 30 Jul 2010 00:35:37 +0000 (17:35 -0700)]
fix inaccurate copyrights

Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd

14 years agoMerge "Fixes regarding densities in "Providing Resources" documentation page." into...
Gilles Debunne [Fri, 30 Jul 2010 00:39:32 +0000 (17:39 -0700)]
Merge "Fixes regarding densities in "Providing Resources" documentation page." into froyo

14 years agoMerge "Fixed doc typos in HeterogeneousExpandableList.java." into froyo
Gilles Debunne [Fri, 30 Jul 2010 00:39:18 +0000 (17:39 -0700)]
Merge "Fixed doc typos in HeterogeneousExpandableList.java." into froyo

14 years agoFixed doc typos in HeterogeneousExpandableList.java.
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

14 years agoFixes regarding densities in "Providing Resources" documentation page.
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

14 years agoMerge from open-source froyo
The Android Open Source Project [Thu, 29 Jul 2010 22:38:41 +0000 (15:38 -0700)]
Merge from open-source froyo

Change-Id: Ifa75fce9bd362b06ecb622219ef501e61e89fd76

14 years agoFix a bug where we cleaned an apps external data when upgrading it. :(
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

14 years agoSquashed commit of the following:
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

14 years agoAdd a missing break; to restore old functionality and not turn off the screen after...
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

14 years agoMerge "fix markup error bug:2871538" into froyo
Scott Main [Wed, 28 Jul 2010 21:20:18 +0000 (14:20 -0700)]
Merge "fix markup error bug:2871538" into froyo

14 years agofix markup error
Scott Main [Wed, 28 Jul 2010 21:14:40 +0000 (14:14 -0700)]
fix markup error
bug:2871538

Change-Id: I7ab4a9bb722ee8b3e5d740f79143776be8b56a6f

14 years agoMinor changes to ContentProvider javadoc to improve consistency.
Dan Egnor [Wed, 28 Jul 2010 19:28:04 +0000 (12:28 -0700)]
Minor changes to ContentProvider javadoc to improve consistency.

Change-Id: I710f618c94ffd5d6368ef04a39ac08f675bec11b

14 years agoMerge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo
Brad Fitzpatrick [Tue, 27 Jul 2010 23:44:53 +0000 (16:44 -0700)]
Merge "COMMENT ONLY change to clarify ContentProvider documentation." into froyo

14 years agoCOMMENT ONLY change to clarify ContentProvider documentation.
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

14 years agoMerge "Add a method to let a properly permissioned app directly manipulate the user...
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

14 years agoDoc change: Add docs for licensing service.
Dirk Dougherty [Wed, 21 Jul 2010 01:38:53 +0000 (18:38 -0700)]
Doc change: Add docs for licensing service.

Change-Id: Ia78467b8857cb8e83ab3920f4126bc7985a9d93d

14 years agoAdd a method to let a properly permissioned app directly
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

14 years agoDoc change: Add nexus one to dev phones.
Dirk Dougherty [Fri, 23 Jul 2010 20:26:24 +0000 (13:26 -0700)]
Doc change: Add nexus one to dev phones.

Change-Id: I45d0207bff857db7355da6b7736d6a6a729a878a

14 years agoMerge "Avoid leaking file descriptors when returning drop box events." into froyo
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

14 years agoAvoid leaking file descriptors when returning drop box events.
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

14 years agoFix a merge problem with html mms
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

14 years agoMerge "COMMENT ONLY change to add some warnings about ParcelFileDescriptor behavior...
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

14 years agodocs: add information about using color resources as drawables
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

14 years agoCOMMENT ONLY change to add some warnings about ParcelFileDescriptor
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

14 years agoMerge "COMMENT-ONLY change to clarify Camera documentation." into froyo
Dan Egnor [Tue, 20 Jul 2010 01:14:50 +0000 (18:14 -0700)]
Merge "COMMENT-ONLY change to clarify Camera documentation." into froyo

14 years agoMerge "docs: add troubleshooting to eclipse guide about restarting adb" 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

14 years agoMerge "Add the hook which can set the device to connect to wifi and in airplane mode...
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

14 years agodocs: add troubleshooting to eclipse guide about restarting adb
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

14 years agoMerge "docs: editorial revisions to Search guide" into froyo
Scott Main [Fri, 16 Jul 2010 21:52:03 +0000 (14:52 -0700)]
Merge "docs: editorial revisions to Search guide" into froyo

14 years agodocs: editorial revisions to Search guide
Scott Main [Wed, 26 May 2010 00:04:01 +0000 (17:04 -0700)]
docs: editorial revisions to Search guide

Change-Id: I6a2065304d1d80c46f3bb3c658ab55f1fe58b211

14 years agoAdd the hook which can set the device to connect to wifi and in airplane mode after...
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

14 years agoMerge "docs: update notepad tutorial to change EditNote activity title and update...
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

14 years agodocs: dashboard update
Scott Main [Fri, 16 Jul 2010 00:56:59 +0000 (17:56 -0700)]
docs: dashboard update

Change-Id: I289cc30b0ae2f88429a8a01b4b7219a86b6d479c

14 years agoMerge "Doc change: Update AVD create instructions." into froyo
Katie McCormick [Fri, 16 Jul 2010 00:25:10 +0000 (17:25 -0700)]
Merge "Doc change: Update AVD create instructions." into froyo

14 years agoDoc change: Update AVD create instructions.
Katie McCormick [Thu, 8 Jul 2010 22:24:16 +0000 (15:24 -0700)]
Doc change: Update AVD create instructions.

Change-Id: Icb1a8200d1b8de4aedea0718a014ab57e057235d

14 years agoMerge "docs: lots of additions to the resources docs new drawable resources add ...
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

14 years agoMerge "Skip hostname verification when using insecure factory" 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

14 years agoCOMMENT-ONLY change to clarify Camera documentation.
Dan Egnor [Mon, 12 Jul 2010 22:12:54 +0000 (15:12 -0700)]
COMMENT-ONLY change to clarify Camera documentation.

Change-Id: I6b75cfdfc34d1c16d93c02a32649022ce5505b11

14 years agoMerge "Fix issue #2834005: Android Settings.Secure bypass" into froyo
Dianne Hackborn [Tue, 13 Jul 2010 02:03:26 +0000 (19:03 -0700)]
Merge "Fix issue #2834005: Android Settings.Secure bypass" into froyo

14 years agoFix issue #2834005: Android Settings.Secure bypass
Dianne Hackborn [Mon, 12 Jul 2010 22:54:38 +0000 (15:54 -0700)]
Fix issue #2834005: Android Settings.Secure bypass

Change-Id: Ic4f14e2ff5c2b4f623405d30389863a9e3e82572

14 years agoDoc change: add notes for ndk r4b.
Dirk Dougherty [Tue, 15 Jun 2010 19:27:00 +0000 (12:27 -0700)]
Doc change: add notes for ndk r4b.

Change-Id: Idf4e4d2ac2ed9c30b3afe258546861084f3f20aa

14 years agoSkip hostname verification when using insecure factory
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

14 years agodocchange: fixed typo "Pacskage" to "Package"
Robert Ly [Mon, 12 Jul 2010 21:32:22 +0000 (14:32 -0700)]
docchange: fixed typo "Pacskage" to "Package"

Change-Id: I6004dc7743dcd74315cbfc2cccc306ff8724e569

14 years agodocs: add redirect for download.html
Scott Main [Thu, 8 Jul 2010 18:26:36 +0000 (11:26 -0700)]
docs: add redirect for download.html

Change-Id: Id54f1899c1933796524d6c2b5e991a652b354287

14 years agoMerge "docs: add caution about adt in eclipse 3.6" into froyo
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

14 years agodocs: add caution about adt in eclipse 3.6
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

14 years agoMerge "Doc change: Add revision notes for Android 2.2_r2 development platform. Fix...
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

14 years agoDoc change: Add revision notes for Android 2.2_r2 development platform. Fix some...
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

14 years agodocs: fix misc broken links
Scott Main [Fri, 2 Jul 2010 18:11:34 +0000 (11:11 -0700)]
docs: fix misc broken links

Change-Id: I7294276aff0c80498215870d5d72f7a3a9b2c99a

14 years agoMerge "Flush binder buffer after setting raw heap to avoid leaking a reference."...
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

14 years agoMerge "docs: update device dashboard; add historical chart" 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

14 years agoFlush binder buffer after setting raw heap to avoid leaking a reference.
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

14 years agoFix issue 2811538: System server crash when disconnecting BT headset after using...
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

14 years agodocs: update device dashboard; add historical chart
Scott Main [Thu, 1 Jul 2010 18:39:08 +0000 (11:39 -0700)]
docs: update device dashboard; add historical chart

Change-Id: Iafed4ed927141d34dcdb728918320be2fa2cf151

14 years agoMerge "Verify hostname where possible, and clarify where not." into froyo
Doug Zongker [Wed, 30 Jun 2010 18:12:19 +0000 (11:12 -0700)]
Merge "Verify hostname where possible, and clarify where not." into froyo

14 years agoVerify hostname where possible, and clarify where not.
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

14 years agodocs: revise menu guide to focus more on using menu resources
Scott Main [Wed, 7 Apr 2010 17:50:20 +0000 (10:50 -0700)]
docs: revise menu guide to focus more on using menu resources
instead of defining menus in code.
And revise some style.

Change-Id: I0a5a19a51062d72cdb9045c9607cab04b69f554c

14 years agodocs: fix typo
Scott Main [Tue, 29 Jun 2010 22:22:03 +0000 (15:22 -0700)]
docs: fix typo

Change-Id: I39849068bb1b35a766df93ab3440829730efabaa

14 years agodocs: update backup guide and bmgr tool
Scott Main [Fri, 25 Jun 2010 22:55:57 +0000 (15:55 -0700)]
docs: update backup guide and bmgr tool
elaborate the guide to testing a backup agent and add links between the docs

Change-Id: I35f815d1848c6bd7c6bfaee214f333e35a6cb23c

14 years agoMerge "docs: Remove the TOS from download flow and remove TOS entirely because it...
Scott Main [Fri, 25 Jun 2010 01:10:41 +0000 (18:10 -0700)]
Merge "docs: Remove the TOS from download flow and remove TOS entirely because it's no longer relevant to the SDK download package" into froyo

14 years agodocs: Remove the TOS from download flow and remove TOS entirely because
Scott Main [Thu, 24 Jun 2010 23:18:56 +0000 (16:18 -0700)]
docs: Remove the TOS from download flow and remove TOS entirely because
it's no longer relevant to the SDK download package

Change-Id: I5f0b2b6258db1f09f300567fc0d22b5e3effd324

14 years agoMerge "Properly note the current active restore set's token" into froyo
Dianne Hackborn [Thu, 24 Jun 2010 23:00:06 +0000 (16:00 -0700)]
Merge "Properly note the current active restore set's token" into froyo

14 years agoProperly note the current active restore set's token
Christopher Tate [Thu, 24 Jun 2010 22:58:01 +0000 (15:58 -0700)]
Properly note the current active restore set's token

Bug: 2796780
Change-Id: Iad601ed96ae73cf34910a276350712e6af19bb4e

14 years agoMerge "Do not log AT command traffic by default." into froyo
Nick Pelly [Thu, 24 Jun 2010 18:52:39 +0000 (11:52 -0700)]
Merge "Do not log AT command traffic by default." into froyo

14 years agoDo not log AT command traffic by default.
Nick Pelly [Thu, 24 Jun 2010 16:38:27 +0000 (09:38 -0700)]
Do not log AT command traffic by default.

Bug: 2792732
Change-Id: I0ef25f38f38685291af6680cf653046eb391da5a

14 years agoMerge "docs: update backup dev guide with Android Backup Service registration info...
Scott Main [Wed, 23 Jun 2010 16:57:46 +0000 (09:57 -0700)]
Merge "docs: update backup dev guide with Android Backup Service registration info" into froyo

14 years agodocs: update backup dev guide with Android Backup Service registration info
Scott Main [Tue, 22 Jun 2010 05:05:12 +0000 (22:05 -0700)]
docs: update backup dev guide with Android Backup Service registration info

Change-Id: I16696abbd517a5a740ff641ca0b17ffafbcf4993