OSDN Git Service
Swan_Wang [Thu, 12 Nov 2009 06:14:24 +0000 (14:14 +0800)]
add surport for the key between SHIFT_LEFT and KEY_Z in some keyboards
Kelly.Blue [Thu, 12 Nov 2009 06:07:02 +0000 (14:07 +0800)]
enable keyboard layout selection
Yi Sun [Wed, 11 Nov 2009 09:01:59 +0000 (01:01 -0800)]
add support for ctrl and cap keys
Swan_Wang [Tue, 10 Nov 2009 06:01:52 +0000 (14:01 +0800)]
TouchFeature: Add the touch features to do Home/Menu/Back functions
The changes add the following touch features to the status bar. Touch
the right corner of the status bar to enable or disable the functions.
* Home: Touch the status bar.
* Menu: Touch the status bar from left to right.
* Back: Touch the status bar from right to left.
Yi Sun [Thu, 5 Nov 2009 17:54:13 +0000 (09:54 -0800)]
add Eee PC hot keys support for mute, sleep and wifi
Kelly2.Blue [Mon, 19 Oct 2009 18:45:22 +0000 (11:45 -0700)]
add an option to enable/disable software keyboard
Wallace Wang [Fri, 16 Oct 2009 22:38:46 +0000 (15:38 -0700)]
fix the airplan mode by adding the command simulator
Yi Sun [Thu, 24 Sep 2009 23:36:41 +0000 (16:36 -0700)]
add reboot item to power button dialog
Chih-Wei Huang [Fri, 28 Aug 2009 03:08:48 +0000 (11:08 +0800)]
disable compatibility mode (#issue 31)
Chih-Wei Huang [Fri, 14 Aug 2009 10:25:18 +0000 (18:25 +0800)]
add navigation hot keys for browser (like firefox & IE)
PageUp / PageDown
Alt-Left/Right - go back/forward a page
Chih-Wei Huang [Fri, 14 Aug 2009 10:24:34 +0000 (18:24 +0800)]
add keycodes for PageUp and PageDown
Yi Sun [Thu, 6 Aug 2009 01:42:52 +0000 (18:42 -0700)]
fixed a possible crash on WifiStateTracker
Yi Sun [Fri, 24 Jul 2009 23:51:43 +0000 (16:51 -0700)]
add wifi support for x86
Chih-Wei Huang [Fri, 10 Jul 2009 11:09:59 +0000 (19:09 +0800)]
add Eee Top touchscreen support
Chih-Wei Huang [Wed, 30 Jun 2010 10:56:01 +0000 (18:56 +0800)]
merge the v4l2 camera works from android-m912 project by Niels Keeman
Scott Main [Mon, 20 Sep 2010 21:11:18 +0000 (14:11 -0700)]
provide link to backup guide above the fold
Change-Id: I84ad3fbd4c3c7793fbf330d6a2be5cab611a9b26
Leon Scroggins III [Tue, 14 Sep 2010 17:21:25 +0000 (10:21 -0700)]
Merge "Add an option to hide the Voice Search icon." into froyo
Dirk Dougherty [Mon, 13 Sep 2010 18:24:06 +0000 (11:24 -0700)]
Doc change: update ADT 0.9.8 checksum and size.
Change-Id: I610985683cd4608b075a22e8d8089de7896eb312
Leon Scroggins III [Tue, 14 Sep 2010 14:56:25 +0000 (10:56 -0400)]
Add an option to hide the Voice Search icon.
Some search engines do not support voice search, so provide a flag
to disable showing the icon in the SearchDialog.
Change-Id: I7ef4ad5d382edb86c08014260defa4af6d5eca0a
Scott Main [Fri, 10 Sep 2010 15:47:41 +0000 (08:47 -0700)]
docs: update platform dashboard
Change-Id: Id4acf3ca425b278e534f83511fb10dfdbdceb03b
Dirk Dougherty [Fri, 10 Sep 2010 01:40:13 +0000 (18:40 -0700)]
Doc change: Fixes for toggle image and adt release date.
Change-Id: I2e76a42650c3ab54e597340cd96e4f7b23fe5116
Dirk Dougherty [Thu, 9 Sep 2010 00:52:45 +0000 (17:52 -0700)]
Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
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
Scott Main [Fri, 3 Sep 2010 18:03:42 +0000 (11:03 -0700)]
fix code snippet error
Change-Id: Ida2f5ac2bc0bfb9b13b142f6422dd4b815603ab5
Scott Main [Fri, 3 Sep 2010 00:53:14 +0000 (17:53 -0700)]
Merge "clarify dp dimension description" into froyo
Eric Rowe [Tue, 31 Aug 2010 22:06:58 +0000 (15:06 -0700)]
Add BT test instrumentation for reboot tests.
Change-Id: If8134a1c11f3982086b7299e5c8bd3ef8eaa5959
Eric Rowe [Mon, 30 Aug 2010 23:14:08 +0000 (16:14 -0700)]
DO NOT MERGE Separate utility methods into utility class.
Methods in BluetoothTestUtils remain the same as they were in
BluetoothStressTest except for the constructor and close(). The constructor
is derived from setUp() and close() from tearDown().
Change-Id: I09f9637d3969c98e46cbde1d61bc6c3223aec7c1
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
Scott Main [Wed, 11 Aug 2010 22:34:54 +0000 (15:34 -0700)]
clarify dp dimension description
Change-Id: I85152f8ab668984ca9db3a4f56c4f8a5ab6ebacd
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