Commit Graph

12147 Commits

Author SHA1 Message Date
Nick Pelly
1a01fad3c3 Merge "Fix failure to open AVRCP input device due to EPERM." into eclair 2010-01-20 20:43:54 -08:00
Nick Pelly
c81bb207c6 Fix failure to open AVRCP input device due to EPERM.
Sleep for 100us and try to open the input device again if it fails, with a
maximum of 10 attempts.

We need the retry logic because setting permissions on a new input device is
racy. The init process watches for new input device (via uevent) and sets the
permission on them in devices.c:make_device(). However at the same time
EventHub.cpp watches for new input devices from the system_server process, and
immediately tries to open them. I can't see a simple way to avoid this race
condition.

As best as I can tell this race condition has always exisited.
There must have been some timing change that happened recently that causes us
to hit this race condition much more often. See repro notes in referenced bug.

Bug: 2375632
2010-01-20 19:56:24 -08:00
Grace Kloba
c944873565 am 8681df90: DO NOT MERGE
Merge commit '8681df902e8cc61d290808c5d78ea48920d30f3b' into eclair-plus-aosp

* commit '8681df902e8cc61d290808c5d78ea48920d30f3b':
  DO NOT MERGE
2010-01-20 19:20:57 -08:00
Mike Reed
1ac35fbecd am a66baccc: Merge "Do not merge" into eclair
Merge commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb' into eclair-plus-aosp

* commit 'a66baccc8fa9f6fa5f1630845e3c6370cb3418eb':
  Do not merge
2010-01-20 18:35:24 -08:00
Mike Reed
500f9b1400 Merge "Do not merge" into eclair 2010-01-20 18:32:32 -08:00
San Mehat
1db4b8e107 Merge "INetworkManagementService: Add support for enumerating TTYs and attaching ppp servers to them" 2010-01-20 18:15:43 -08:00
San Mehat
3b03d70640 Merge "NativeDaemonConnector: Add a convenience method for obtaining lists" 2010-01-20 18:12:54 -08:00
Xavier Ducrohet
3856f5bd06 am d1da5fa2: Revert "SDK doc change: Add doc update for NDKr3."
Merge commit 'd1da5fa2da9690be94929e391a4e66b9986573bc' into eclair-plus-aosp

* commit 'd1da5fa2da9690be94929e391a4e66b9986573bc':
  Revert "SDK doc change: Add doc update for NDKr3."
2010-01-20 17:54:12 -08:00
Grace Kloba
4f23abfcb3 am 89e3c1ab: Merge "Fix the sloppy detection in the ScaleGestureDetector." into eclair
Merge commit '89e3c1ab017717b619b27ca312d87918981004ca' into eclair-plus-aosp

* commit '89e3c1ab017717b619b27ca312d87918981004ca':
  Fix the sloppy detection in the ScaleGestureDetector.
2010-01-20 17:40:30 -08:00
Grace Kloba
eb2b50e72b Merge "Fix the sloppy detection in the ScaleGestureDetector." into eclair 2010-01-20 17:36:50 -08:00
Xavier Ducrohet
a94c829c83 am 38f7a02a: Merge "SDK doc change: Add doc update for NDKr3." into eclair
Merge commit '38f7a02a9b41f4bdc3f863b3eb33859e7c14cb8d' into eclair-plus-aosp

* commit '38f7a02a9b41f4bdc3f863b3eb33859e7c14cb8d':
  SDK doc change: Add doc update for NDKr3.
2010-01-20 17:33:49 -08:00
Xavier Ducrohet
be2fe55fe2 Merge "SDK doc change: Add doc update for NDKr3." into eclair 2010-01-20 17:30:27 -08:00
Scott Main
060e3af1bb am 2a79defa: Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Merge commit '2a79defa5a0481e4dd980938da13adc767e0b231' into eclair-plus-aosp

* commit '2a79defa5a0481e4dd980938da13adc767e0b231':
  docs: add guide to copying and installing the Dev Tools app
2010-01-20 17:15:09 -08:00
Scott Main
3166fe7448 Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair 2010-01-20 17:10:25 -08:00
Andreas Huber
b36043d2de Merge "Fix no-copy-overhead OMXCodec implementation to actually work." 2010-01-20 16:07:23 -08:00
Vasu Nori
9bc05a6682 Merge "reduce logging noise from cache-full conditions." 2010-01-20 15:41:54 -08:00
Jim Miller
b368c4ad8c Merge "Fix 2385283: Add DevicePolicyManager calls to LockScreen." 2010-01-20 15:12:04 -08:00
Mathias Agopian
8f17896782 Merge "fix [2363362] [Sapphire] Corrupted raw picture displayed during snapshot" 2010-01-20 15:08:33 -08:00
Mathias Agopian
54b2f26d11 Merge "part of fix for [2363362] [Sapphire] Corrupted raw picture displayed during snapshot" 2010-01-20 15:08:27 -08:00
Joe Onorato
058cd973e4 am b3699b14: am 836e1666: Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair
Merge commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be'

* commit 'b3699b14be3a3db1d75ea4c38853b0a53d14b1be':
  add drawSpriteScreenspaceCropped to renderscript
2010-01-20 14:35:52 -08:00
Mathias Agopian
5fdea8d5b0 fix [2363362] [Sapphire] Corrupted raw picture displayed during snapshot
handled all cases where the scale factor of a video is out of bounds of
supported scale factors in copybit.
2010-01-20 14:31:53 -08:00
Jacek Surazski
51201cd347 Merge "Add systemApp field to ApplicationErrorReport" 2010-01-20 14:14:12 -08:00
Barry Hayes
bd2406ce98 Merge "Check the boolean value for the arg to ZygoteInit to make sure it's either true or false. Make a slightly more informative usage message. Give developers a slightly easier way to have their preloaded classes list out of sync without blowing up." 2010-01-20 14:11:26 -08:00
Mathias Agopian
ecc99c003b part of fix for [2363362] [Sapphire] Corrupted raw picture displayed during snapshot
make sure to fallback properly to software when copybit operation fails.
with this change, the preview image will at least be displayed in b&w
(since GL doesn't support the yuv format). This would also fix
2363506, but that one is now handled more cleanly.
2010-01-20 14:07:44 -08:00
Mathias Agopian
42d095aaa5 Merge "fix [2363506] [Sapphire] Video playback broken" 2010-01-20 13:44:53 -08:00
Irfan Sheriff
274c516a2a am 48ef378d: Merge "DO NOT MERGE Avoid wifi disable in a UNKNOWN state" into eclair
Merge commit '48ef378d01b3ace349cbb6ba564276b854d872c9' into eclair-plus-aosp

* commit '48ef378d01b3ace349cbb6ba564276b854d872c9':
  DO NOT MERGE Avoid wifi disable in a UNKNOWN state
2010-01-20 13:30:17 -08:00
Robert Greenwalt
c22753aac1 am 1a337547: Merge "Add bugreport info about network feature use. DO NOT MERGE" into eclair
Merge commit '1a337547d5377c57dbb10a24d4d73ad6bda829ea' into eclair-plus-aosp

* commit '1a337547d5377c57dbb10a24d4d73ad6bda829ea':
  Add bugreport info about network feature use. DO NOT MERGE
2010-01-20 13:30:11 -08:00
Irfan Sheriff
01357fd7fc Merge "DO NOT MERGE Avoid wifi disable in a UNKNOWN state" into eclair 2010-01-20 13:26:08 -08:00
Robert Greenwalt
73f2e99241 Merge "Add bugreport info about network feature use. DO NOT MERGE" into eclair 2010-01-20 13:26:04 -08:00
Mathias Agopian
1faed66086 fix [2363506] [Sapphire] Video playback broken
don't try to use copybit for incompatible buffers
2010-01-20 13:24:14 -08:00
Mike Reed
c3750f3409 am 9f954cf2: Merge "Do not merge" into eclair
Merge commit '9f954cf27e9e2bb94c836b1686c0e07500234b27' into eclair-plus-aosp

* commit '9f954cf27e9e2bb94c836b1686c0e07500234b27':
  Do not merge
2010-01-20 13:21:26 -08:00
Mike Reed
7bd707a420 Merge "Do not merge" into eclair 2010-01-20 13:17:49 -08:00
Makoto Onuki
f221217a67 Merge "DomainNameValiator: Remove workaround" 2010-01-20 12:03:24 -08:00
Andreas Huber
59314535b9 Merge "Adds support for 8-bit (unsigned) PCM wave files." 2010-01-20 11:43:25 -08:00
Andreas Huber
e1096b515e Merge "Support for 'iTunes-style' metadata in .mp4 and .3gp files." 2010-01-20 11:35:02 -08:00
Robert Greenwalt
a1b99a24b6 am 8c166512: Merge "Cleanup of process-specific DNS." into eclair
Merge commit '8c166512a7e6ffaf87e41cd3a85d55993648fe9b' into eclair-plus-aosp

* commit '8c166512a7e6ffaf87e41cd3a85d55993648fe9b':
  Cleanup of process-specific DNS.
2010-01-20 11:12:40 -08:00
Robert Greenwalt
9110cdd7b7 Merge "Cleanup of process-specific DNS." into eclair 2010-01-20 11:08:13 -08:00
Mike Lockwood
3e83c05431 am bb79e5fd: Merge "Be tolerant of GPS session and engine on status messages arriving out of order." into eclair
Merge commit 'bb79e5fdb52eb86963fc688e6a455451b6e1a867' into eclair-plus-aosp

* commit 'bb79e5fdb52eb86963fc688e6a455451b6e1a867':
  Be tolerant of GPS session and engine on status messages arriving out of order.
2010-01-20 10:04:13 -08:00
Eric Laurent
f05b4a481d Merge "Create base class for audio policy manager." 2010-01-20 10:03:36 -08:00
Mike Lockwood
7b06197d8a Merge "Be tolerant of GPS session and engine on status messages arriving out of order." into eclair 2010-01-20 10:00:55 -08:00
Makoto Onuki
eac7055b40 DomainNameValiator: Remove workaround
Remove the workaround introduced in CL 68137-p9.
Validation should fail when a certification can't be parsed.

Bug: 2369689
2010-01-20 09:58:42 -08:00
Xavier Ducrohet
a2ec9a5dc4 am b44051ee: Merge "ADT/Layoutlib: implement sweep gradient." into eclair
Merge commit 'b44051eee04450888a7dcb1cd2e6f31d0edfb678' into eclair-plus-aosp

* commit 'b44051eee04450888a7dcb1cd2e6f31d0edfb678':
  ADT/Layoutlib: implement sweep gradient.
2010-01-20 09:47:06 -08:00
Xavier Ducrohet
5820b33a50 Merge "ADT/Layoutlib: implement sweep gradient." into eclair 2010-01-20 09:43:46 -08:00
Makoto Onuki
73b2c3c505 Merge "Addign more tests for DomainNameValidator." 2010-01-20 09:22:42 -08:00
Tom O'Neill
2e419abb0f Merge "Get rid of a TODO to add documentation for now-hidden columns" 2010-01-20 09:15:14 -08:00
Scott Main
a314601e3b am 5615ca19: docs: a lot of revision and expansion of the hello view tutorials includes new screenshots for some tutorials and a new sample images zip file
Merge commit '5615ca1979caa79041bf16a2cae49f9cfadd7ee5' into eclair-plus-aosp

* commit '5615ca1979caa79041bf16a2cae49f9cfadd7ee5':
  docs: a lot of revision and expansion of the hello view tutorials
2010-01-19 19:59:24 -08:00
Adam Powell
2175e4029f am 5910cb53: Merge "Edge of screen slop detection for ScaleGestureDetector." into eclair
Merge commit '5910cb53ea7085dff4c8c6b9c1edde5a1b59fa28' into eclair-plus-aosp

* commit '5910cb53ea7085dff4c8c6b9c1edde5a1b59fa28':
  Edge of screen slop detection for ScaleGestureDetector.
2010-01-19 19:59:19 -08:00
Scott Main
2ffff1b1d2 am de54a95b: Merge "docs: add a section about debugging web pages with the Console APIs; revise and cleanup some of the other content." into eclair
Merge commit 'de54a95b98b9d80c10ca2788b83386094222cb4f' into eclair-plus-aosp

* commit 'de54a95b98b9d80c10ca2788b83386094222cb4f':
  docs: add a section about debugging web pages with the Console APIs;
2010-01-19 19:59:13 -08:00
Dianne Hackborn
f1f6ff3f1f am b1c4a2a3: Fix issue #2364506: Phone locked up while listening to music and attempting to download an update
Merge commit 'b1c4a2a3b37fccf68e6a9563cccf1685df2bf3e7' into eclair-plus-aosp

* commit 'b1c4a2a3b37fccf68e6a9563cccf1685df2bf3e7':
  Fix issue #2364506: Phone locked up while listening to music and attempting to download an update
2010-01-19 19:59:04 -08:00
Jason Sams
3b7cc73151 Merge "Fix RS mipmap generation for 8 bit alpha textures." 2010-01-19 17:54:27 -08:00