62364 Commits

Author SHA1 Message Date
Eric Laurent
10c3fc89a4 audioflinger: fix issue with camcorder and A2DP
Some audio HALs do not support well a device selection of 0 (no device)
received on an input stream.

This can happen because of a problem in the audioflinger code that handles
the forwarding of the output device selection to the record thread for use by
the pre processing modules that need it. If the output device is 0 (meaning
no op, which happens when stopping playback over A2DP) audioflinger could not
detect it was an output device selection and would forward it to the input
stream (see AudioFlinger::setParameters() and RecordThread::checkForNewParameters_l().

Issue 6179641.

Change-Id: Idae534521866538e0d12ba259a2834f402a922e2
2012-03-16 20:37:59 -07:00
Joe Fernandez
dad557e0cf docs: Android SDK r17 (RC6) Release Notes
Change-Id: I1e58b3827e4fe70310d2154e0f85b16b79d6a0d2
2012-03-16 17:45:20 -07:00
Eric Laurent
2a0d685ed6 Merge "MediaPlayerService: fix AudioSink latency" into ics-mr1 2012-03-16 14:58:21 -07:00
Eric Laurent
3fe7ee651d Merge "AudioTrack: relax check on minimum buffer size" into ics-mr1 2012-03-16 14:58:07 -07:00
Amith Yamasani
90e3bcae67 Increase line limit for summary text
Doing this to accomodate some really long warning text in a
checkbox widget. Needs 5 lines for English. Probably a lot
more for German, etc., so increasing it to 10 lines.

Please don't abuse that. 4 lines is still a reasonable max.

Change-Id: Ife5858f2165cb2bc046ce606f29d31010d26ecc2
2012-03-16 13:13:50 -07:00
Eric Laurent
dc63f3fe40 MediaPlayerService: fix AudioSink latency
The AudioSink latency is currently cached when the associated AudioTrack
is created. However, the AudioTrack latency can change if the AudioTrack is moved
from one output stream to another.
The AudioPlayer must also periodically update its view of the latency
as it is needed to compensate the real audio time used for A/V sync.

This fixes an A/V sync problem seen when switching A2DP on and off while
playing a video.

Change-Id: I28b24049ca114e1af3e24791dcc900f463536ba4

Conflicts:

	media/libmediaplayerservice/MediaPlayerService.cpp
2012-03-16 12:25:31 -07:00
Eric Laurent
0df689495a AudioTrack: relax check on minimum buffer size
Current AudioTrack implementation enforces that the requested audio
buffer size is at least corresponding the audio latency.
This requirement is too strong and leads to problems with current
stagefright and AudioSink implementations when playing over output
streams with long latency.

Ultimately, the AudioSink design should be changed to specify a minimum
buffer size in time or frames units but not in buffer count units.

Change-Id: I8ba603956f92ac49143a8249572665aa548f2f0f

Conflicts:

	media/libmedia/AudioTrack.cpp
2012-03-16 12:22:07 -07:00
Katie McCormick
2b056c6e67 Merge "Doc update: DDMS Network Traffic tool." into ics-mr1 2012-03-16 12:09:59 -07:00
Katie McCormick
4099e17228 Doc update: DDMS Network Traffic tool.
Change-Id: I9aa0d94e9bdc20681ec7be3f98233223c0e742d8
2012-03-16 11:55:55 -07:00
Dianne Hackborn
ce06c000b4 Merge "Debugging code for #6169553: Make Phone launch faster" into ics-mr1 2012-03-16 11:53:53 -07:00
Joe Fernandez
1f60afc5cb docs: Emulator Hardware Acceleration docs for SDK r17
Change-Id: I0714891d14db598f6c4acd29773975bd7754a912
2012-03-16 10:21:32 -07:00
Scott Main
eb1d42e4fa Merge "docs: Fix a bunch of misc doc issues from external tracker" into ics-mr1 2012-03-15 15:52:56 -07:00
Dianne Hackborn
2a29b3ad13 Debugging code for #6169553: Make Phone launch faster
The activity manager now has a tick when launching an app every
500ms, where it collects the current stack traces of the app if
it hasn't finished launching.  These traces are included as part
of dumpstate.

This is only done on non-user builds.

Change-Id: I7f09ea00aab821ac81795f48c9d68fcca65f89fe
2012-03-15 15:48:38 -07:00
Dianne Hackborn
33ace979a4 Merge "Remove fade animations from framework drawables." into ics-mr1 2012-03-15 11:27:43 -07:00
Scott Main
f32ab91414 Merge "docs: update various SDK and AVD Manager screenshots and remove one from the licensing doc that's not necessary" into ics-mr1 2012-03-15 10:21:00 -07:00
Dianne Hackborn
6fdab076b7 Remove fade animations from framework drawables.
Change-Id: Ic4115ba779e88a405b5d2cd927db99c43def3704
2012-03-14 16:46:59 -07:00
Robert Ly
957f716cf1 docs: fix toc in search au class
Change-Id: I7c678a9091a5d2c7bdfcf5e104597d9c1986d5f0
2012-03-14 16:24:25 -07:00
Scott Main
1657080a0c docs: update various SDK and AVD Manager screenshots
and remove one from the licensing doc that's not necessary

Change-Id: I4b07446a8fd57449dfd9b605019143f543be5e14
2012-03-14 16:16:18 -07:00
Robert Ly
b285125d4b Merge "docs: android u search class" into ics-mr1 2012-03-14 15:41:02 -07:00
Scott Main
7f94977867 Merge "docs: remove link from GP logo" into ics-mr1 2012-03-13 23:09:09 -07:00
Robert Ly
055e3f25ba docs: android u search class
Change-Id: I433cb5b82426c942af8f357180aeb7c947f2d9e1
2012-03-13 18:14:02 -07:00
Daniel Lehmann
0e87370077 Remove the country detector logging
Bug:6156714
Change-Id: Id0ff60b0530142e2bce055ee8cf8dde94e974aa5
2012-03-12 17:04:17 -07:00
Wink Saville
f4ae6aabbc Allow CDMA on LTE devices to get data connections even if otasp is needed.
Bearer Independent Protocol (BIP) connections as defined in
ETSI TS 102 223 "Smart Cards; Card Application Toolkit (CAT) (Release 11)"
need to be able to establish data connections even when not provisioned.
This can occur when trying to provision on via and EVDO network.

Bug: 6110632
Change-Id: I85722e0ba2e2606ffcf2516b8f00be6ff5271adf
2012-03-10 13:23:35 -08:00
Scott Main
161a8dec91 docs: remove link from GP logo
Change-Id: I6dff28e84b341054874995e78d20945e70d24cae
2012-03-09 19:12:53 -08:00
Scott Main
8edad6f16f docs: Fix a bunch of misc doc issues from external tracker
Change-Id: I03cae5bdb7b806e81cc6c983a014de212cb80c73
2012-03-09 12:30:40 -08:00
Megha Joshi
33372b217e Merge "A few updates for TVs." into ics-mr1 2012-03-08 12:22:49 -08:00
Megha Joshi
84099f3d78 Merge "Adding TV related updates." into ics-mr1 2012-03-08 12:20:21 -08:00
Megha Joshi
500cc4be2f A few updates for TVs.
Change-Id: I2465cbfdfd3a5b9e22f94bd1c678aec33ab216d9
2012-03-08 12:18:00 -08:00
Megha Joshi
87e32816c4 Adding TV related updates.
Change-Id: I631af8bec0c3178d2d03f9725afea548576cad77
2012-03-07 17:19:44 -08:00
Scott Main
99e790de9e docs: add troido adk link
Change-Id: Ib7cb1dd821dc17ffc8acd02843218e6d21e15295
2012-03-06 16:17:08 -08:00
Roman Nurik
96c757e557 Merge "docs: move Android Design from static HTML to JD" into ics-mr1 2012-03-06 14:39:54 -08:00
Scott Main
66895ad5f7 Merge "Fix badge generator URLs and images, and update script to generate different alt text for the different button styles. Also change homepage announce link for blog post." into ics-mr1 2012-03-06 14:23:23 -08:00
Roman Nurik
b99ae73cc5 docs: move Android Design from static HTML to JD
Change-Id: I6e451599998cb8b69489cada482ab5db9d71d6f8
2012-03-06 12:26:15 -08:00
Scott Main
97b94e784c docs: a few more Market -> Play strings
Change-Id: Icd09ec82362ff9aac511260f0fa295ddbc7e1369
2012-03-06 12:10:17 -08:00
Scott Main
19fa8fee25 Fix badge generator URLs and images, and update
script to generate different alt text for the different button styles.
Also change homepage announce link for blog post.

Change-Id: Ibbdc2e8abad3c218d030299eb60ba5bee75db232
2012-03-06 11:46:30 -08:00
Dirk Dougherty
9ad3d0ee5b Update build-a-button to use new assets.
Change-Id: I2218af60519fa3adbe574aaedb1a72270ea3c1da
2012-03-06 09:28:17 -08:00
Pin Ting
25c66c3a4a Merge "Fix document." into ics-mr1 2012-03-06 00:55:49 -08:00
Pin Ting
6f5b5ee321 Fix document.
Change-Id: I661b259c8438f9290d57fae29a828cf4495ce335
2012-03-06 16:34:21 +08:00
Scott Main
1c24730422 docs: update homepage announcement for GP
Still needs an update with proper blog link
(will probably do by hand for launch push)

Change-Id: I660082780ffd27cf591351e6b65be61a109a6d5d
2012-03-05 23:36:26 -08:00
Dirk Dougherty
4d7bc65538 Doc change: String changes for Android Market
Change-Id: I823812a4fd24021bec906ad856479c92a8d2a759
2012-03-05 22:02:35 -08:00
Scott Main
e606cb4602 docs: fix api dashboard
Change-Id: Ifbd596860f3368811e31494176682571be919459
2012-03-05 20:15:38 -08:00
Scott Main
290684ac2e docs: fix expansion library package name
Change-Id: I38303b5650fd924ac25281baf4a7da51aa939394
2012-03-05 17:35:36 -08:00
Scott Main
a47d88a7d2 docs: dashboard update for march 5
Change-Id: Ic71a478ad8afd818dfe9c0a2341e1d1937be5444
2012-03-05 14:32:15 -08:00
Scott Main
2df6ecc508 docs: add note about declaring file sizes with sample app's code
Change-Id: I7858956916c0db5a585228a890a20fb004155b8c
2012-03-05 13:22:56 -08:00
Scott Main
6f63d6fc04 Merge "docs: updates to OBB guide for naming; plus other edits" into ics-mr1 2012-03-05 11:51:03 -08:00
Scott Main
837a5d83f5 docs: updates to OBB guide for naming; plus other edits
Change-Id: I0a3afa0388f89d7464471917fec7d767748a870e
2012-03-05 11:49:12 -08:00
Scott Main
93dc642eaf docs: fix misc bugs from external tracker
Change-Id: I2be617be23d0ac50baabac561d510633fa9f162a
2012-03-02 16:55:41 -08:00
Scott Main
4143781cde docs: add docs for market OBB
includes splitting the Licensing dev guide into multiple pages;
Turned original licensing doc into a redirect to the new
files that are under guide/market/licensing/;
Fix all links pointing to app licensing

Change-Id: Ic49493f0e560db225dd7a382ffabc904a2fa1228
2012-03-02 16:29:33 -08:00
Robert Ly
e5e11fd666 Merge "docs: fixing bug 5942573" into ics-mr1 2012-03-02 09:04:16 -08:00
Dianne Hackborn
0dd9ec144b Merge "Make ResolverActivity update dynamically." into ics-mr1 2012-03-02 08:30:36 -08:00