10012 Commits

Author SHA1 Message Date
Xavier Ducrohet
82935938fa Move Layoutlib API library to sdk.git
Change-Id: I53f1c5d52447b6215ae7a6f2f1f82d0879e952ca
2010-01-07 08:57:32 -08:00
Jaikumar Ganesh
0b6c6f2cbc Merge "Fix media option settings for A2DP." into eclair 2010-01-06 13:38:27 -08:00
Jaikumar Ganesh
6309689e6c Fix media option settings for A2DP.
Incoming connections move the A2DP state to Connecting
before getting authorized, which messes up the priorities.

Dr No: Eastham
Bug: 2358414
2010-01-06 11:43:10 -08:00
Dianne Hackborn
cb2d50d0d6 Fix issue #2357259: aapt tool prints "uses-configuation:"
Change-Id: Id3ea3a86bd4d385441b05fcbe85b8ab62c35afff
2010-01-06 11:29:54 -08:00
Ying Wang
42c98ada11 Still use ro.monkey
http://b/issue?id=1681101
2010-01-06 09:52:57 -08:00
Tom Taylor
ac65121351 Hide unused fields
When ContactHeaderWidget.bindFromPhoneNumber is called with a number
that's not in contacts, onQueryComplete takes a path that doesn't hide
fields that don't apply to the current phone number. As a result, the
user sees the new number, but old data from the previous display (such
as the facebook status). With this change, those fields are hidden.
Fixes bug 2336977.

Change-Id: Ib6253c18dc58c3d28b463c87d5d195a84d613600
2010-01-05 16:25:53 -08:00
Scott Main
c20467f94a docs: update the device dashboard 2010-01-05 10:46:44 -08:00
Ying Wang
08fa1428ee Rename ro.monkey to monkey.running
So that Monkey can set ro.mokey before running and reset it after running.
2010-01-04 11:56:24 -08:00
Daniel Sandler
5808317af8 Immediately close the shade when the status bar is disabled. (DO NOT MERGE)
This provides a quick fix for http://b/2298803 (if the
in-call UI comes up while the user is holding the
windowshade, the shade sticks in place and the display
becomes unresponsive).

Merged from master (I92a824fe).

TODO: safely restore code to animate the shade closed rather
than simply causing it to disappear.

Change-Id: I53dc76fdfe86636f30f37a223a88d27a5766d3eb
2009-12-27 14:08:51 -05:00
Android (Google) Code Review
eb5ffc239b Merge change Id8e98194 into eclair
* changes:
  Fix issues 2333450 and 2333559:
2009-12-22 23:34:22 -08:00
Android (Google) Code Review
e344955393 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
Eric Laurent
eb14a783be Fix issues 2333450 and 2333559:
Add new config values to AudioSystem::FOR_DOCK force usage to differenciate car and desk docks.
Use a receiver for the sticky Intent.ACTION_DOCK_EVENT in AudioService to detect the type
of dock and select force usage accordingly.
2009-12-22 16:20:46 -08:00
Android (Google) Code Review
d20a55af82 Merge change Iccfa50fe into eclair
* changes:
  Fix issue 2323920: Notification & A2DP audio stutter.
2009-12-22 09:50:42 -08:00
Eric Laurent
8ac9f8d1c7 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
Jack Palevich
49c9a3a3d4 Fix bug 2325244 screen turns black for a brief period of time
The problem was a black first frame when creating a surface, or a
garbage frame when the surface was resized.

The cause was lack of synchronization between the render thread and the
UI thread. The UI thread would typically return before the render thread
had a chance to draw its first frame.

The fix was to make the UI thread wait until at least one frame had been
rendered by the rendering thread.

The waiting is done in the surfaceChanged method because we know
that surfaceChanged will be called in both the surface created
and surface changed cases.
2009-12-22 11:45:31 +08:00
Android (Google) Code Review
11b97c50e6 Merge change I551ed729 into eclair
* changes:
  Use UNDEFINED priorities when unpaired.
2009-12-21 14:17:15 -08:00
Android (Google) Code Review
87ed10d78d 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
Scott Main
90b04c5170 docs: fix some broken links 2009-12-21 12:23:47 -08:00
Scott Main
74962e56c5 upload new dev site robots.txt to disallow old tutorial and
samples directories (while old pages are still orphaned) and upload
new sitemap including new resources pages.
2009-12-21 11:32:22 -08:00
Android (Google) Code Review
e4c2a37624 Merge change I2703edac into eclair
* changes:
  docs: add new device features for the uses-feature manifest element and edit some other pieces.
2009-12-19 12:30:15 -08:00
Scott Main
2703edac00 docs: add new device features for the uses-feature
manifest element and edit some other pieces.
2009-12-19 00:55:18 -08:00
Android (Google) Code Review
77fa05a43d Merge change Iab5952e1 into eclair
* changes:
  docs: add "required" attribute to the <uses-feature> docs and add a note to the CAMERA permission stating that it enables the <uses-feature> for camera. This is an incrimental update for the 2.0.1 docs. More changes to come for the 2.1 docs to include more features
2009-12-19 00:36:48 -08:00
Scott Main
0b91635caf docs: add "required" attribute to the <uses-feature> docs
and add a note to the CAMERA permission stating that it enables
the <uses-feature> for camera.
This is an incrimental update for the 2.0.1 docs. More changes
to come for the 2.1 docs to include more features
2009-12-19 00:25:11 -08:00
Dirk Dougherty
4d5a064553 doc change: add 7 diffs report.
Bug: 2160782
Change-Id: Ic8444f43d21ffa0b6d7f679f80f86db88a95d189
2009-12-18 22:52:59 -08:00
Android (Google) Code Review
673b937889 Merge change Ie4b0d302 into eclair
* changes:
  docs: update the site homepage with 2.1 announcement
2009-12-18 17:13:53 -08:00
Android (Google) Code Review
a25032a08d Merge change Ic31c0f62 into eclair
* changes:
  docs: update the Bluetooth guide with links to the sample app, scrub the sibling files, and revise the Bluetooth package summary to point to the BT dev guide.
2009-12-18 17:12:36 -08:00
Dianne Hackborn
558947c989 Issue #2335763: Cant dial emergency number on my device
This may fix the issue, but we have no repro steps so no way to
make sure.

What appeared to be going on was that the emergency dialer was
created, but still had the starting preview window above it.  We
were stuck in this state because the preview window didn't have
the "hide lock screen" flag set, so the lock screen would never
be removed, and thus we would never take care of finishing the
show of the emergency dialer (because it was not visible) and
thus not remove the starting window.

The solution here is to simply propagate the lock flags up to the
starting window.

Change-Id: I6da9f6494537f0661d9d230664ebf745c293ea7d
2009-12-18 16:05:57 -08:00
Dirk Dougherty
5da76ddd57 doc change: Add ?details query to doc about Android Market.
Bug: 2160782
Change-Id: I86d1339e5bc5a36dbd033a7938764818a27b4d81
2009-12-17 17:13:04 -08:00
Jaikumar Ganesh
577dd1f3e2 Accept incoming connections if no other sink is in NonDisconnecting state.
Bluez sends SINK_STATE_CHANGE before onAgentAuthorize, so
we may be already in CONNECTING state. This will happen with
some A2DP kits which don't like us connecting and thus we will
never be able to connect to them.

Bug:2335345
Dr No: Hiroshi
2009-12-17 15:08:48 -08:00
Android (Google) Code Review
24780ea60f Merge change I75bb4c98 into eclair
* changes:
  doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.
2009-12-17 10:31:19 -08:00
Android (Google) Code Review
82e037a4ed Merge change I3f67758f into eclair
* changes:
  doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.
2009-12-17 10:28:06 -08:00
Dirk Dougherty
9b5ea48871 doc change: Move commit 4075b4ced from guide/appendix/faq to resources/faq.
Bug: 2315781
Change-Id: I75bb4c98fa48af47c935787a5ab30ca7c1a8091d
2009-12-17 10:15:23 -08:00
Dirk Dougherty
51ae620ce2 doc change: remove existing (unchanged since sdk) samples from zip. This now contains only new samples.
Bug:2160782
Change-Id: I3f67758f207df0fdde8a46d40ba8d5873097e460
2009-12-17 10:07:46 -08:00
Scott Main
f0cdfa9955 add -since flag to droiddoc options for 7.xml,
to apply api filtering to the reference
2009-12-16 21:41:10 -08:00
Scott Main
1362bbcf76 docs: update the Bluetooth guide with links to the sample
app, scrub the sibling files, and revise the Bluetooth package
summary to point to the BT dev guide.
2009-12-16 18:48:02 -08:00
Android (Google) Code Review
26099cd9ce Merge change I7d67e1b3 into eclair
* changes:
  docs: small edits
2009-12-16 18:20:05 -08:00
Scott Main
7d67e1b365 docs: small edits 2009-12-16 18:14:37 -08:00
Android (Google) Code Review
b2aab5042b Merge change I354261e2 into eclair
* changes:
  docs: small edit to live wallpaper sentence
2009-12-16 15:30:02 -08:00
Scott Main
354261e25a docs: small edit to live wallpaper sentence 2009-12-16 15:25:35 -08:00
Trevor Johns
5ff60dff18 Updating frameworks/base/docs/html/shareables/latest_samples.zip to reflect current state of sample code as of 1d151678. 2009-12-16 15:14:43 -08:00
Scott Main
e4b0d3026a docs: update the site homepage with 2.1 announcement 2009-12-16 12:25:22 -08:00
Android (Google) Code Review
e6547423e3 Merge change I10073d50 into eclair
* changes:
  Add Annotation for optional features.
2009-12-16 12:14:11 -08:00
Android (Google) Code Review
8bda0fb0ca Merge change Iccb92649 into eclair
* changes:
  docs: fix typo
2009-12-16 11:14:40 -08:00
Scott Main
ccb926498f docs: fix typo 2009-12-16 11:13:40 -08:00
Android (Google) Code Review
d92cc9a4ba Merge change I33eb64c0 into eclair
* changes:
  docs: add 2.1 platform notes, win usb driver notes  and fix some javadocs for PhonestateListener
2009-12-16 11:11:02 -08:00
Scott Main
4c4a47f421 docs: add developer dashboard page and add topic link
to it from the homepage (replacing the video topic)
2009-12-16 10:08:32 -08:00
Android (Google) Code Review
218c0763d5 Merge change Ib43ec8f6 into eclair
* changes:
  docs: fix some typos in the manifest docs samples and remove the "one or more of" phrase from the syntax snippet because it interferes with the syntax coloring.
2009-12-16 10:05:10 -08:00
Android (Google) Code Review
9d2252db2c Merge change Ia36d8e74 into eclair
* changes:
  Updates to SDK troubleshooting doc, per bug 2315781.
2009-12-16 09:59:12 -08:00
Scott Main
b149ee8835 docs: add 2.1 platform notes, win usb driver notes
and fix some javadocs for PhonestateListener
2009-12-16 09:50:53 -08:00
Android (Google) Code Review
6ccc515c7f Merge change I8385f59d into eclair
* changes:
  sdk doc change for esr: Cleanup for resources tab content.
2009-12-15 21:24:15 -08:00