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
Robert Greenwalt
9110cdd7b7
Merge "Cleanup of process-specific DNS." into eclair
2010-01-20 11:08:13 -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
Xavier Ducrohet
5820b33a50
Merge "ADT/Layoutlib: implement sweep gradient." into eclair
2010-01-20 09:43:46 -08:00
Adam Powell
e35804e8d7
Merge "Edge of screen slop detection for ScaleGestureDetector." into eclair
2010-01-19 16:40:17 -08:00
Scott Main
044e2017f7
Merge "docs: add a section about debugging web pages with the Console APIs; revise and cleanup some of the other content." into eclair
2010-01-19 16:18:52 -08:00
Xavier Ducrohet
299694ac75
Merge "ADT/Layoutlib: implement radial gradient." into eclair
2010-01-19 14:48:58 -08:00
Ying Wang
6580f62ee6
Merge "Add instrumentation as a source tag for proguard keep options." into eclair
2010-01-19 11:55:12 -08:00
Guang Zhu
173f7caae8
Merge "Prevent orientation change from triggering activity recreation." into eclair
2010-01-19 11:53:00 -08:00
Amith Yamasani
cf7d227365
Merge "Security fix in accessibility - don't read out password. # 2371557" into eclair
2010-01-19 11:50:39 -08:00
Scott Main
1808876147
Merge "docs: some spelling typos" into eclair
2010-01-19 11:18:39 -08:00
Grace Kloba
90f5995ffd
Merge "If ZoomButttonsController detects more than one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair
2010-01-18 15:21:38 -08:00
Grace Kloba
d0e837b13a
Merge "DO NOT MERGE" into eclair
2010-01-18 15:21:31 -08:00
Jim Miller
02e8622ef1
Merge "Fix for 2292713: Remove workaround that hides SlidingTab widget while internal state is inconsistent." into eclair
2010-01-15 17:20:29 -08:00
Xavier Ducrohet
7dfc1deefe
Merge "ADT/Layoutlib: Add dash support to stroke." into eclair
2010-01-15 14:27:34 -08:00
Xavier Ducrohet
783eade582
Merge "ADT/Layoutlib: properly handle stroke information." into eclair
2010-01-15 10:30:52 -08:00
Grace Kloba
b1796e407e
Merge "DO NOT MERGE" into eclair
2010-01-14 19:29:09 -08:00
Grace Kloba
33f00cc68c
Merge "DO NOT MERGE" into eclair
2010-01-14 19:28:55 -08:00
Xavier Ducrohet
bff9299731
Merge "ADT/Layoutlib: improved gradient drawing for perf." into eclair
2010-01-14 19:10:44 -08:00
Xavier Ducrohet
03d8ad606d
Merge "ADT/Layoutlib: always use custom gradient (java) Paint." into eclair
2010-01-14 18:36:26 -08:00
Roman Nurik
699cabccdc
Merge "Updated developer groups documentation to point to Stack Overflow, also rearranged a few things." into eclair
2010-01-14 17:18:31 -08:00
Xavier Ducrohet
e6e89de8e8
Merge "ADT/Layout: support for 3+ color in linear gradients" into eclair
2010-01-14 17:15:56 -08:00
John Wang
119d63dc7b
Merge "Add Event log for RAT switch." into eclair
2010-01-14 16:43:38 -08:00
Joe Onorato
e95e028590
Merge "add drawSpriteScreenspaceCropped to renderscript" into eclair
2010-01-14 15:53:45 -08:00
Scott Main
c3b986ed7b
Merge "docs: remove dev guide link from download confirmation content so we only link to the install guide and re-affirm the system reqs bug: 2374363,2374334" into eclair
2010-01-14 13:01:30 -08:00
Xavier Ducrohet
88fb80dfcf
Merge "ADT/Layoutlib: 2 color, linear gradient support." into eclair
2010-01-14 10:03:56 -08:00
Grace Kloba
328b26836a
Merge "DO NOT MERGE" into eclair
2010-01-14 09:29:52 -08:00
Xavier Ducrohet
cabecba7d1
Merge "ADT/Layoutlib: implement Canvas.concat(Matrix)" into eclair
2010-01-13 19:14:28 -08:00
Adam Powell
8a53faaa35
Merge "TransformGestureDetector is now ScaleGestureDetector - scope reduced. N1 screen can't reliably handle translation and scaling at the same time." into eclair
2010-01-13 18:00:35 -08:00
Ying Wang
63673439f0
Merge "Only output proguard keep for nonempty attribute name in the AndroidManifest.xml." into eclair
2010-01-12 16:31:14 -08:00
Grace Kloba
378a16f1b9
Merge "DO NOT MERGE." into eclair
2010-01-12 10:00:03 -08:00
San Mehat
7ee1a4e444
Merge "framework: storage: Ensure that filesystems are unmounted before shutdown/reboot" into eclair
2010-01-12 09:59:35 -08:00
Xavier Ducrohet
94ff01104b
Merge "LayoutLib: support for custom styles." into eclair
2010-01-11 15:25:16 -08:00
Tom Taylor
216cb739d8
Merge "Hide unused fields" into eclair
2010-01-11 14:11:46 -08:00
Trevor Johns
3fb5c80eb0
Merge "Adding BusinessCard sample to Android.mk and to the Resources TOC on developer.android.com." into eclair
2010-01-11 14:00:54 -08:00
Dirk Dougherty
8eeeeb1ba4
Merge "SDK doc change: Miscellaneous fixes." into eclair
2010-01-11 11:33:57 -08:00
Jack Palevich
8577a7d452
Merge "DO NOT MERGE A library for encoding and decoding ETC1 textures." into eclair
2010-01-09 21:51:05 -08:00
Vasu Nori
a1322cae44
Merge "add eventlog message whenever sqlite reports db corruption error" into eclair
2010-01-08 15:09:12 -08:00
Daniel Sandler
8fe921768f
Merge "Immediately close the shade when the status bar is disabled. (DO NOT MERGE)" into eclair
2010-01-08 12:31:03 -08:00
Jack Palevich
618c755192
DO NOT MERGE A library for encoding and decoding ETC1 textures.
...
The ETC1 compressed texture format is commonly
supported by OpenGL ES 2.0-capable devices.
This change adds a host-only version of the library. It is used by
the etc1tool.
2010-01-08 16:00:21 +08:00
Dirk Dougherty
8fc26bc215
Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair
2010-01-07 12:30:14 -08:00
Scott Main
e90d1b1f60
Merge "docs: fix some broken links" into eclair
2010-01-07 10:18:45 -08:00
Xavier Ducrohet
421b581977
Merge "Move Layoutlib API library to sdk.git" into eclair
2010-01-07 09:08:06 -08:00
Jaikumar Ganesh
d83e098bf9
Merge "Fix media option settings for A2DP." into eclair
2010-01-06 13:38:27 -08:00
Android (Google) Code Review
3b42b7e746
Merge change Id8e98194 into eclair
...
* changes:
Fix issues 2333450 and 2333559:
2009-12-22 23:34:22 -08:00
Android (Google) Code Review
0f0cdb40ab
Merge change I49c9a3a3 into eclair
...
* changes:
Fix bug 2325244 screen turns black for a brief period of time
2009-12-22 18:29:29 -08:00
Android (Google) Code Review
b1af3771c1
Merge change Iccfa50fe into eclair
...
* changes:
Fix issue 2323920: Notification & A2DP audio stutter.
2009-12-22 09:50:42 -08:00
Eric Laurent
7e2aad1e27
Fix issue 2323920: Notification & A2DP audio stutter.
...
Modified AudioFlinger duplicating output thread so that audio tracks are not mixed until both outputs (A2DP and hardware) have exited standby mode. This avoids to have one output far ahead of the other and audio frames dropped because the compensation mechanism cannot keep up.
Also calculate the maximum wait time in OutputTrack::write() based the on smallest frame count of all output threads instead of the frame count of the thread the OutputTrack is connected to. This avoids starving the thread with the smallest frame count by waiting too long on the other thread.
Since the frame count was reduced on hardware output to reduce latency the difference between A2DP and hardware outputs frame counts had become problematic.
Also increased the number of overflow buffers to cope with bigger timing differences among outputs.
2009-12-22 09:06:46 -08:00
Android (Google) Code Review
fb4fa224ae
Merge change I551ed729 into eclair
...
* changes:
Use UNDEFINED priorities when unpaired.
2009-12-21 14:17:15 -08:00
Android (Google) Code Review
87793027d4
Merge change I577dd1f3 into eclair
...
* changes:
Accept incoming connections if no other sink is in NonDisconnecting state.
2009-12-21 14:16:44 -08:00