38433 Commits

Author SHA1 Message Date
Eric Laurent
e7155e6bde Fix issue 3217707.
The problem is that when the A2DP headset is disconnected, there is a transition
period during which the A2DP sink pumps data at a very high pace.
This makes that:
1 the audio flinger mixer thread spins and starves binder threads thus delaying
the completion of the A2DP output stream shutdown
2 we read the audio http audio stream faster than normal and we reach the end of stream
for audio while video is still playing if the streamed file is small enough.

The fix consists in detecting abnormal short write intervals and sleep to restore
a normal write pace.

Change-Id: Iab127882494ab0e26266371dc0ce5c2ff6fa476e
2010-12-17 10:27:02 -08:00
Iain Merrick
c96235deb9 Deprecate CacheManager.
This class gives fairly low-level access to the HTTP cache, which
as far as we can tell was only exposed for the benefit of Gears.

BUG=3270236

Change-Id: Ibce10ecf8b524d3f472affa2a37fe4de15efd2ed
2010-12-17 16:43:01 +00:00
Kristian Monsen
1c602b3ee1 Merge "Add methods to send messages to the WebViewCore whithout having a reference" 2010-12-17 08:11:14 -08:00
Leon Scroggins
8a4fd2f8e7 Do not allow text selection if there is no ActionBar.
Bug:3276538
Change-Id: I060f14471e26e4bc1bf9773b847e0dbac9228426
2010-12-17 11:04:14 -05:00
Chet Haase
c75ec3324e Fix for TimePicker not redrawing itself.
The problem was that NumberPicker override View.draw(), but did not
call the superclass version of the method in some situations. This
resulted in the DIRTY flag for the view not getting cleared properly,
and future invalidations not propagating correctly.

The fix was to call super.draw() from NumberPicker.draw().

Change-Id: Ic17215dea86d54b77375494ada124dd6970e3ad6
2010-12-17 07:44:30 -08:00
Iain Merrick
b67529b905 Add setContentLength method to CacheResult.
This is needed to construct a cachable CacheResult object.
Currently only WebViewWorker is able to do this, by updating
the fields directly.

Bug: 3270236

Change-Id: I50148697dcee4d329e1436a2ce4c15224cb5ae30
2010-12-17 15:44:00 +00:00
satok
7fee71f66a Fix build breakage
Change-Id: I5db5bcafc61f0aea5279e2f8679094a900b6f6cc
2010-12-17 19:00:44 +09:00
satok
f7ca8f0e4f Merge "Change "more" button to call InputMethodConfigure in Settings" 2010-12-17 01:33:56 -08:00
Dianne Hackborn
540d3d2662 Fixes for when onLoaderReset() is called.
Change-Id: Iab479926f11fa579757904032ada46c41686d560
2010-12-16 22:41:30 -08:00
Dianne Hackborn
c91893511d Fix issue #3272082: Contacts: when going back from edit view,
list UI is not ready yet

This involves some reworking of Loaders.

Loaders, in particular CursorLoader, are now expected to retain
their current data after being stopped.  This allows applications
to keep that data across onStop() -> onStart(), so when the user
returns to the app it doesn't have to wait for the data to reload
and thus cause flicker.

This includes various API changes to better reflect the new
semantics, plus a new LoaderCallbacks method to tell the application
when it is actually time to stop their use of a loader's data.

Note this is somewhat half-done, to help checking in the extensive
application changes that are required without causing build breakage.

Change-Id: Ib4b3bf8185a6da46e7f06ca125521d65e2e380a1
2010-12-16 20:09:13 -08:00
Jesse Wilson
0cb0d7a2d4 Test that DefaultHttpClient responds gracefully when the server closes a socket.
http://b/2612240

Change-Id: Iafde060572f7865b72fc568b3b55578ed5dd9c94
2010-12-16 19:38:32 -08:00
Mathias Agopian
60e41fa445 Merge "fix a small bug that caused screenshot to show garbage in some cases" 2010-12-16 18:51:02 -08:00
Mathias Agopian
1c4e4fc049 fix a small bug that caused screenshot to show garbage in some cases
we were not clearing the screen entirely, which caused garbage when
the screen wasn't entirely covered by windows.

Change-Id: Ie9ab9b94eabfa6cafddf45bb14bc733bdc8d35c0
2010-12-16 18:47:29 -08:00
Jaikumar Ganesh
8f6e52abce Merge "Fix PANU - Bluetooth tethering - JNI calls." 2010-12-16 18:27:40 -08:00
Hung-ying Tyan
a936b256eb Remove SIP realm/domain check
as the realm may be different from the domain.

Bug: 3283834
Change-Id: I64c9f0d6d626afdb397c5d378d30afa9d6a64ca9
2010-12-17 10:20:06 +08:00
Hung-ying Tyan
acf649356b Merge "Check port in create peer's SIP profile." into gingerbread 2010-12-16 18:04:54 -08:00
Jaikumar Ganesh
b7ec3e1019 Fix PANU - Bluetooth tethering - JNI calls.
Change-Id: Ia0b37a03e65be6632cc0bb8f1a98f268d42c9d87
2010-12-16 18:02:29 -08:00
Ben Komalo
6dd4b14add Merge "Fix incorrect anonymous AnimatorListenerAdapter." 2010-12-16 17:04:54 -08:00
Daniel Sandler
b8027d87d8 Improved ticker & bar animations.
The entire notification area fades out quickly before the
notification ticker appears, and fades back in when the
ticker is totally done.

This change has the side-effect of bringing back nice
animations for the notification icons when they appear by
themselves (at boot and when unlocking the device).

Bug: 3293680
Bug: 3018785
Change-Id: Id99cc20e6849f0f037fc9fba076243d362664478
2010-12-16 19:40:06 -05:00
Daniel Sandler
c51451a318 Improvements to ticker:
- Ticker view can be tapped immediately
  - Ticker views animate in/out smoothly

Bug: 3274655
Bug: 3293680
Change-Id: I504dae65d91cc26a81a2a18f7bc71d6b3271f06d
2010-12-16 19:40:06 -05:00
Nick Pelly
29f9ee973e Merge "Need to check ndef before writing ndef." into gingerbread 2010-12-16 16:35:51 -08:00
Amith Yamasani
d0a2d701f1 Merge "Fix SearchView collapse on text input." 2010-12-16 16:35:11 -08:00
Martijn Coenen
01d159aa2c Need to check ndef before writing ndef.
Regression due to all the (re)connect changes.

Change-Id: I637618f63518965e893a5a59db61002271666fa4
2010-12-16 16:34:56 -08:00
Amith Yamasani
73e00df15e Fix SearchView collapse on text input.
Bug: 3291919
Change-Id: I2e510c3f8c4fa520dd100e722896f725ef70b79e
2010-12-16 16:31:29 -08:00
Jaikumar Ganesh
4520347a83 Merge "Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode." 2010-12-16 16:25:24 -08:00
Jaikumar Ganesh
7a863b4bda Add PLAY and PAUSE keycodes and remove PLAY_PAUSE keycode.
Change-Id: I0b17bea189c90fcacff42e182e9e47ef179c28ca
2010-12-16 16:24:15 -08:00
Eric Laurent
a6695d28cc am a1608902: am 5a756fb0: Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO." into gingerbread
* commit 'a1608902f95dc8ff31a52c1f1c384829a803a701':
  Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.
2010-12-16 16:10:24 -08:00
Scott Main
d3d5d65b98 am 49cdfcf5: am 3165bbb1: cherrypick Change-Id: I7ec40d7c2908bd78b74ada8ba2b6838db4a0bac5 docs: misc fixes for the adb move
* commit '49cdfcf574996bbe37bf547bac105f9df71253ac':
  cherrypick Change-Id: I7ec40d7c2908bd78b74ada8ba2b6838db4a0bac5 docs: misc fixes for the adb move
2010-12-16 16:10:16 -08:00
Scott Main
207a5d2467 am c4172983: am 4ea442b4: Merge "cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links" into gingerbread
* commit 'c4172983fb1a5ce1eec08ae1196844bd469643e8':
  cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links
2010-12-16 16:10:09 -08:00
Martijn Coenen
25d61bb3a0 am 12e5c1a2: am c58c3f1a: Implement additional Mifare Ultralight convenience methods.
* commit '12e5c1a21ee0dad786e8e5e7f7ca18e8ffdd53e5':
  Implement additional Mifare Ultralight convenience methods.
2010-12-16 16:10:02 -08:00
Martijn Coenen
e645311047 am bf76b52f: am 0d27f999: Expose reconnect(), to allow applications to reset tag state.
* commit 'bf76b52f05384feddb073ee6aa18091f701d069b':
  Expose reconnect(), to allow applications to reset tag state.
2010-12-16 16:09:55 -08:00
Martijn Coenen
03077d04b0 am 9dce44ff: am 4049f9d0: Implement multi-tech connect, enfore tech exclusivity.
* commit '9dce44ffbb0edcc59b7f72a59099abb313167d0b':
  Implement multi-tech connect, enfore tech exclusivity.
2010-12-16 16:09:42 -08:00
Eric Laurent
a1608902f9 am 5a756fb0: Merge "Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO." into gingerbread
* commit '5a756fb0f1f3f8cd7612284c889dfc69875577a8':
  Fix issue 2712130: Sholes: problem when playing audio while recording over bluetooth SCO.
2010-12-16 16:05:16 -08:00
Scott Main
49cdfcf574 am 3165bbb1: cherrypick Change-Id: I7ec40d7c2908bd78b74ada8ba2b6838db4a0bac5 docs: misc fixes for the adb move
* commit '3165bbb15560ed9facdfb906da55a9b24eb5989a':
  cherrypick Change-Id: I7ec40d7c2908bd78b74ada8ba2b6838db4a0bac5 docs: misc fixes for the adb move
2010-12-16 16:05:00 -08:00
Scott Main
c4172983fb am 4ea442b4: Merge "cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links" into gingerbread
* commit '4ea442b49c2f44c180346fe780a2b8c9766b587b':
  cherrypick Change-Id: I07634c137e515068911c61c04bf3e9400c3fe0d4 docs: misc changes; add path to adb tool in sdk; fix broken link to ninepatch docs; fix and add some other links
2010-12-16 16:04:54 -08:00
Martijn Coenen
12e5c1a21e am c58c3f1a: Implement additional Mifare Ultralight convenience methods.
* commit 'c58c3f1ae27c0c7f560bd381180397d7f6a2ebed':
  Implement additional Mifare Ultralight convenience methods.
2010-12-16 16:04:47 -08:00
Martijn Coenen
bf76b52f05 am 0d27f999: Expose reconnect(), to allow applications to reset tag state.
* commit '0d27f999f4b1ad51da11946800b40d2978fc6326':
  Expose reconnect(), to allow applications to reset tag state.
2010-12-16 16:04:41 -08:00
Martijn Coenen
9dce44ffbb am 4049f9d0: Implement multi-tech connect, enfore tech exclusivity.
* commit '4049f9d00a86f848d42d2429068496b31a6795ad':
  Implement multi-tech connect, enfore tech exclusivity.
2010-12-16 16:04:28 -08:00
Ben Komalo
cbda9104d0 Fix incorrect anonymous AnimatorListenerAdapter.
Change-Id: I0384a437089d11dda03d0657235404ea96e8b19d
2010-12-16 15:59:22 -08:00
Scott Main
0d1e38ef99 cherrypick Change-Id: I58e21f636e15d4b1522b66b16ffd48f1eb31308c
docs: misc fixes to the drawable reference

Change-Id: I8b867234250ca18d5b6ee78a22b6150e1ba3e588
2010-12-16 15:48:36 -08:00
Mike Lockwood
076e05b488 MediaScanner: Add support for scanning empty directories
Currently the media scanner does not create database entries for directories
unless they contain a file that is scanned.
Fixing this so we provide a consistent view of the world to MTP.

Change-Id: Ia776acfeae23192183e7192d63cdc34d830ea889
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-16 15:35:36 -08:00
Chet Haase
27c1d4debb Fix minor animation and doc issues
Change-Id: I0ea077d9434ac3e22e8600f22ca4a24a6a46965c
2010-12-16 15:25:52 -08:00
Fred Quintana
b19e62add0 fix the TooManyDeletes to show up again
It was moved so it was no longer in the location that
SyncManager expected. I fixed it by (a) moving it to the
SyncManager directory and by (b) changing the SyncManager to
refer to it by class rather than by class name, which means
it will now check for it at compile time, not run time.
Bug: 3289922

Change-Id: I24f8bac371a16c62c2a38ed1024702c6d0913b93
2010-12-16 15:19:37 -08:00
Irfan Sheriff
d3040307ab Merge "Fix ssid storage regression" 2010-12-16 14:46:32 -08:00
Daniel Sandler
7ef29b5a06 Update flyover if notification changes.
Bug: 3292466
Change-Id: I11407b7a0eedc3d8474d34e45e4b472a2dc61d27
2010-12-16 17:29:50 -05:00
Joe Onorato
cf321c1abe Merge "Fix the SettingsView so it shows again." 2010-12-16 13:55:50 -08:00
Joe Onorato
244e415905 Fix the SettingsView so it shows again.
Change-Id: Ie041fd12412ee1de9d1f90604b777db2fd00f550
2010-12-16 13:29:38 -08:00
Dianne Hackborn
88b03bd2e1 Hm somehow my log didn't make it in the last patch.
Change-Id: If7b3b041e478e1f05998323c02deb665f65073cb
2010-12-16 13:29:27 -08:00
Dianne Hackborn
64b591de33 Merge "Fix issue #3291975: Google services frame work crash..." 2010-12-16 13:07:28 -08:00
Mike Lockwood
060f217546 Merge "Add Process.MEDIA_RW_GID constant" 2010-12-16 12:59:07 -08:00