21252 Commits

Author SHA1 Message Date
Dirk Dougherty
a0711e7b39 Doc change: Add compatibility article.
Change-Id: Ie6671813eb88bc8cb92575726f8fcf69eb558d08
2010-05-13 21:22:44 -07:00
Suchi Amalapurapu
c928a11e34 Merge "Fix 2672155 Check the code path when enabling disabling packages." into froyo 2010-05-13 16:02:20 -07:00
Suchi Amalapurapu
1ace5bc070 Fix 2672155
Check the code path when enabling disabling packages.

Add unit test

Change-Id: I0f0f482a3735234eab3f63ba1f6462574b70144e
2010-05-13 15:48:39 -07:00
Mike Lockwood
098e58da93 Use SystemClock.elapsedRealtime in ShutdownThread timeout logic
This avoids problems if the time is reset while shutting down.

Change-Id: I54c7c787e55648ebf5a68e79056f92fbac0081ae
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-13 16:29:49 -04:00
Andreas Huber
3c78a1b589 Return a runtime error instead of asserting if the AACDecoder is passed an unsupported config.
Change-Id: Ie084ed4df5a5d286abd36d9149c2138f8e7ed08a
related-to-bug: 2682221
QA-impact: none
2010-05-13 09:19:35 -07:00
Costin Manolache
8ea9f130d2 Merge "Bug 2680071: Rename the Cloud to Device" into froyo 2010-05-12 19:04:27 -07:00
Costin Manolache
8d83f9e31b Bug 2680071: Rename the Cloud to Device
Change-Id: I12ab32de393e44a499e3f9e3a0b38f4682156ff5
2010-05-12 16:16:34 -07:00
Scott Main
38b523af5c Merge "docs: add missing path-permissions document" into froyo 2010-05-12 15:01:31 -07:00
Scott Main
f0e4ae5632 Merge "docs: fix broken links" into froyo 2010-05-12 14:53:35 -07:00
Scott Main
5dd0fd5c89 docs: fix broken links
Change-Id: I2720ce4fe30b1e6ff35b91f48a98ead8999ed1ab
2010-05-12 14:49:38 -07:00
Grace Kloba
336d7dcb10 The default AlertDialog allows cancel. But the default
JSConfim doesn't have a cancel listener. So when
user cancel the dialog, we do not wake up the WebCoreThread.
The same code is already done for JSPrompt dialog correctly.

Fix http://b/issue?id=2679139
2010-05-12 14:28:07 -07:00
Scott Main
5385cc20f6 docs: add missing path-permissions document
Change-Id: I926f6ead8babbb66ead386890c143e1bc3ddf229
2010-05-12 11:31:03 -07:00
Dirk Dougherty
a04202b325 Merge "Doc change: remove Google I/O 09 from carousel." into froyo 2010-05-12 11:05:03 -07:00
Dirk Dougherty
b0e243b62a Doc change: remove Google I/O 09 from carousel.
Change-Id: I5b97ceef5316930266d1b4581217afad74129372
2010-05-12 10:48:31 -07:00
Scott Main
18dc51d413 Merge "docs: fix broken anchor names" into froyo 2010-05-11 20:13:26 -07:00
Dirk Dougherty
0d1b0814be Doc change: updates for new tools, platform, adt versions. Misc other fixes updates in doc files.
Change-Id: I7abf541316f2796079cf646a3294db535fcaaa8a
2010-05-11 20:07:32 -07:00
Dirk Dougherty
4d5275e723 Merge "Doc change: update diff report 7-> 8" into froyo 2010-05-11 19:53:04 -07:00
Dirk Dougherty
a25528fc62 Doc change: update diff report 7-> 8
Change-Id: I376622ae9afff8effc1153129eb68a8f53436ad4
2010-05-11 19:35:15 -07:00
Scott Main
9280c34465 docs: fix broken anchor names
Change-Id: I9eafcddf55c56a95ac3ee631ae9216ff544759fc
2010-05-11 19:29:00 -07:00
Scott Main
827a50dda4 Merge "docs: remove the dashboard from the sidenav for the offline docs" into froyo 2010-05-11 19:25:19 -07:00
Brett Chabot
b4c9a8f664 Merge "Fix imf tests." into froyo 2010-05-11 19:17:04 -07:00
Scott Main
77ca256d95 docs: remove the dashboard from the sidenav for the offline docs
Change-Id: I65c9d8897d6eef9ee8e09daab239b20ed7551cd7
2010-05-11 19:05:04 -07:00
Brett Chabot
e9d0b2962d Fix imf tests.
- fix hard keyboard detection logic
- use FLAG_ACTIVITY_MULTIPLE_TASK to force test activities to start with IME

Bugs 2677320, 2677355

Change-Id: I1b943ee17fddcae5087faefa9fa5603dd3f18ec1
2010-05-11 18:51:16 -07:00
Scott Main
bb129dc57b docs: make Notifying the User an expandable list
Change-Id: I287a7e15a4461defa96903c7e922b8640c0bb257
2010-05-11 18:00:44 -07:00
Scott Main
a225e3b1cd docs: add quickview box with "see also" links for some articles
Change-Id: I2d5e83e691e61731b30b4741d02e096d5ef76fc2
2010-05-11 17:47:40 -07:00
Scott Main
6bc3304b74 Merge "docs: remove allowBackup attribute from documentation" into froyo 2010-05-11 15:25:38 -07:00
Xavier Ducrohet
b1235a57a0 Merge "Hide two audio focus methods." into froyo 2010-05-11 14:48:48 -07:00
Marco Nelissen
836b2d75ef Merge "Don't clear the _data column in the audio_meta table, since it isn't needed, and causes a sqlite constraint exception. Bug 2671792." into froyo 2010-05-11 14:36:16 -07:00
Xavier Ducrohet
5f53f0883a Hide two audio focus methods.
Change-Id: I53ddf736892cde8edfaffa7d69dd9c234df52efa
2010-05-11 14:28:38 -07:00
Dianne Hackborn
037cd3413a Merge "Fix issue #2676378: Activity Manager Crash on FRF40" into froyo 2010-05-11 14:26:43 -07:00
Scott Main
5cdf5fdcba docs: add document about app install location
Change-Id: Ife7d79ce8374f3435f4850cbf97d163e69bf8d26
2010-05-11 14:21:53 -07:00
Dianne Hackborn
6f86c0e64b Fix issue #2676378: Activity Manager Crash on FRF40
D'oh!

Change-Id: If1b43ff5f230f9bf0de0887deb1b25dcf6aa6e66
2010-05-11 14:20:52 -07:00
Dirk Dougherty
8acb68e9aa Merge "Doc Change: Docs for NDK r4." into froyo 2010-05-11 14:20:24 -07:00
Scott Main
c80b95a85a Merge "docs: announce froyo and update IO message" into froyo 2010-05-11 14:04:49 -07:00
Dirk Dougherty
d6a04186b6 Doc Change: Docs for NDK r4.
Change-Id: Ib535324eb884d4be2c7bbba2d74cc9043acc3475
2010-05-11 13:29:58 -07:00
Mike Lockwood
e1d7dca608 Merge "LocationManagerService: Call updateNetworkState on providers that are disabled." into froyo 2010-05-11 13:26:25 -07:00
Marco Nelissen
33f49c8377 Don't clear the _data column in the audio_meta table, since it isn't
needed, and causes a sqlite constraint exception.
Bug 2671792.

Change-Id: Ie6e5d0369c3750739fa155e651be4d87c016a41f
2010-05-11 13:09:06 -07:00
Mike Lockwood
f19a785e15 LocationManagerService: Call updateNetworkState on providers that are disabled.
Fixes a problem with Network Location not working after SetupWizard until the
network state changes.

Change-Id: Ief81b76beb5cc90b2ca7d8aa2d4c99221898f01d
BUG: 2671347

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-05-11 15:35:09 -04:00
Andreas Huber
e0dc80f878 Merge "Support for customizable socket-read timeouts through the HTTP response." into froyo 2010-05-11 12:21:14 -07:00
Andreas Huber
d6ad7c85fa Merge "Better seek handling and proper reset of the vorbis decoder after a discontinuity (seek)" into froyo 2010-05-11 12:20:55 -07:00
Costin Manolache
e2055fe425 Merge "Bug 2673557: rename datamessaging" into froyo 2010-05-11 11:42:58 -07:00
Jean-Michel Trivi
3e90c76c12 Merge "Update javadoc in android.media.AudioManager to not hide the registerAudioFocusListener() methods." into froyo 2010-05-11 11:40:21 -07:00
Dirk Dougherty
fe08933450 Merge "Doc Change: cherry-pick from master. ->Testing Procedures documents testing_eclipse.html, testing_otheride." into froyo 2010-05-11 11:33:13 -07:00
Joe Malin
5e17347a27 Doc Change: cherry-pick from master. ->Testing Procedures documents testing_eclipse.html, testing_otheride.
Change-Id: I0da7ebb8040013611ba9269bc303e4b8197033aa
2010-05-11 11:25:23 -07:00
Jean-Michel Trivi
46b3a1808a Update javadoc in android.media.AudioManager to not hide the
registerAudioFocusListener() methods.

Change-Id: I8df37bd89df6f492aeb70fa636200552140578f9
2010-05-11 11:22:54 -07:00
Andreas Huber
e67c1607cc Support for customizable socket-read timeouts through the HTTP response.
Specify a response header of "X-SocketTimeout: 15" to override the default timeout
of 5 secs with a timeout of 15 seconds. Specify a negative value to disable the
timeout altogether.

Change-Id: I545adf3d8b3f7efe5f8d081a641c6404440a77db
related-to-bug: 2675721
2010-05-11 11:10:21 -07:00
Scott Main
0d3401d81b docs: announce froyo and update IO message
Change-Id: I07a071c99eaf0a03e7dd9d4e0c5969b47e86ab08
2010-05-11 10:49:59 -07:00
Andreas Huber
34c70709a6 Better seek handling and proper reset of the vorbis decoder after a discontinuity (seek)
Change-Id: I3c76d35da48e0964f7a0fa2816f8573b5e1a9436
related-to-bug: 2674036
QA-impact: low, only affects ogg-vorbis playback through http
2010-05-11 10:11:55 -07:00
Jean-Michel Trivi
aaa01b181c Merge " Fix bug 2670395 and 2599698 When the user selects a "Silent" notification sound, the Uri encoded path is an empty string. Setting this Uri as the data source of the MediaPlayer used to play notifications caused the completion listener to not be called, which with the AudioFocus logic causes the Music app to pause and never resume. The NotificationPlayer modifications cause the MediaPlayer for the notification to only request audio focus when the data source is not empty. The audio focus code in AudioService is defensively synchronized against a unique lock, and the exception observed in bug 2670395 is explicitely caught in case another edge case wasn't caught by this fix. The AudioFocus handling in AudioManager is modified so only the requestAudioFocus and abandonAudioFocus methods are meant to be used, as registerAudioFocusListener and unregisterAudioFocusListener provided no additional functionality over the request/abandon methods. abandonAudioFocus() also removes the listener from the map in AudioManager since after abandonning focus, the listener would no longer be called." into froyo 2010-05-11 09:42:41 -07:00
Jean-Michel Trivi
392a2bbb52 Fix bug 2670395 and 2599698
When the user selects a "Silent" notification sound, the Uri encoded
    path is an empty string. Setting this Uri as the data source of the
    MediaPlayer used to play notifications caused the completion listener
    to not be called, which with the AudioFocus logic causes the Music
    app to pause and never resume. The NotificationPlayer modifications
    cause the MediaPlayer for the notification to only request audio
    focus when the data source is not empty.
    The audio focus code in AudioService is defensively synchronized
    against a unique lock, and the exception observed in bug 2670395
    is explicitely caught in case another edge case wasn't caught by
    this fix.
    The AudioFocus handling in AudioManager is modified so only the
    requestAudioFocus and abandonAudioFocus methods are meant to be
    used, as registerAudioFocusListener and unregisterAudioFocusListener
    provided no additional functionality over the request/abandon
    methods. abandonAudioFocus() also removes the listener from the
    map in AudioManager since after abandonning focus, the listener
    would no longer be called.

Change-Id: I3b553ee8a8163c25e01117d7e5479dd5fdfa7c6b
2010-05-11 09:20:49 -07:00