17765 Commits

Author SHA1 Message Date
Patrick Scott
74f6c03bb2 Set a flag that indicates a response is pending.
This will keep track of multiple calls to proceed/cancel. If an error has
occurred and the client calls proceed or cancel more than once, the loader may
be null. Set the flag during the callback and reset after a response.

Bug: 2371305
2010-01-26 08:17:18 -05:00
Valentin Kravtsov
79896bd123 Adding Recognition Service and Listener wrappers
Change-Id: Ib5068fb6d42b6752d09b0828964b6cbe92d015d3
2010-01-26 11:23:52 +00:00
Yu Shan Emily Lau
eea6ecdfce Add the new golden thumbnail image as the PV and stagefright implementations in capturing thumbnail is different. 2010-01-25 20:49:08 -08:00
Christopher Tate
80202c8cb8 Move towards a formal public API for backup and restore
This commit makes a few changes towards establishing a formal application
interface for interacting with the backup/restore mechanism:

1. Introduce public wrapper classes around the various binder interfaces; 3rd
party code will never see the binders directly.

2. Progress update callbacks during a restore sequence now occur on the main
thread, not in a binder thread [and not with system-process permissions!].

3. Rename the BackupManagerService's inner "RestoreSession" class to avoid
ambiguity with the new public "RestoreSession" class.
2010-01-25 19:41:23 -08:00
Irfan Sheriff
c30ffda0d8 resolved conflicts for merge of d0514347 to master 2010-01-25 19:10:31 -08:00
Robert Greenwalt
3e22907620 am cc4b4016: Fix the reporting of NO_CONNECTIVITY.
Merge commit 'cc4b4016e4b86db012f94bb889e5ca61ff362171' into eclair-plus-aosp

* commit 'cc4b4016e4b86db012f94bb889e5ca61ff362171':
  Fix the reporting of NO_CONNECTIVITY.
2010-01-25 18:56:32 -08:00
Mike LeBeau
199566045d Unhide RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which our voice search
(or other voice search implementations) can use to implement settings in the
system settings.
2010-01-25 21:48:08 -05:00
Grace Kloba
caf0ce3ca2 Delay resetting mPreventDrag flags so that the Plugin
will have more time to respond whether it wants to
handle the touch events. (not have to return the
value from WebViewCore before the first tap is up)

Fix a potential null pointer exception.
2010-01-25 18:36:48 -08:00
Grace Kloba
a98ae1f7d6 am e5b9beae: (-s ours) am f6aed0e0: Merge "DO NOT MERGE" into eclair
Merge commit 'e5b9beae260b451cb3d60583c800b0d223ae256f'

* commit 'e5b9beae260b451cb3d60583c800b0d223ae256f':
  DO NOT MERGE
2010-01-25 18:13:29 -08:00
Grace Kloba
f96a91abb6 am 5b745762: am d5ada83c: ScaleGestureDetector needs to query the displaymetrics for the width/height on each touch down as orientation can change.
Merge commit '5b74576218055f1c9d31d9559255e8cf504cd662'

* commit '5b74576218055f1c9d31d9559255e8cf504cd662':
  ScaleGestureDetector needs to query the displaymetrics
2010-01-25 18:13:12 -08:00
Nick Pelly
a667fda9f5 am 425324e9: am e834722f: Merge "Fix failure to open AVRCP input device due to EPERM." into eclair
Merge commit '425324e97bba75cd69bb6c81de6248529540e6fe'

* commit '425324e97bba75cd69bb6c81de6248529540e6fe':
  Fix failure to open AVRCP input device due to EPERM.
2010-01-25 18:12:47 -08:00
Grace Kloba
5dffc6bb2a am aeeb1a84: (-s ours) am 8681df90: DO NOT MERGE
Merge commit 'aeeb1a84aae2c7400b2edd90cea8306565225275'

* commit 'aeeb1a84aae2c7400b2edd90cea8306565225275':
  DO NOT MERGE
2010-01-25 18:12:31 -08:00
Mike Reed
221cb2a6ca am 6dc9232c: (-s ours) am a66baccc: Merge "Do not merge" into eclair
Merge commit '6dc9232c1c9a7ddffba24d4bd218e46894f8414d'

* commit '6dc9232c1c9a7ddffba24d4bd218e46894f8414d':
  Do not merge
2010-01-25 18:12:08 -08:00
Xavier Ducrohet
cda4d7bea2 am 48edf7c0: am d1da5fa2: Revert "SDK doc change: Add doc update for NDKr3."
Merge commit '48edf7c00201f2bc6186e07dbc614976642682e4'

* commit '48edf7c00201f2bc6186e07dbc614976642682e4':
  Revert "SDK doc change: Add doc update for NDKr3."
2010-01-25 18:11:20 -08:00
Grace Kloba
8ad96ae820 am f8c7d06f: am 89e3c1ab: Merge "Fix the sloppy detection in the ScaleGestureDetector." into eclair
Merge commit 'f8c7d06ffa67015516b822a992513ab86aad1ad5'

* commit 'f8c7d06ffa67015516b822a992513ab86aad1ad5':
  Fix the sloppy detection in the ScaleGestureDetector.
2010-01-25 18:11:02 -08:00
Xavier Ducrohet
0481170a85 am a0ecd4fb: am 38f7a02a: Merge "SDK doc change: Add doc update for NDKr3." into eclair
Merge commit 'a0ecd4fbe65ffb00afb3043584a3d08ee41b0870'

* commit 'a0ecd4fbe65ffb00afb3043584a3d08ee41b0870':
  SDK doc change: Add doc update for NDKr3.
2010-01-25 18:10:42 -08:00
Scott Main
1ce80a4d7a am bfb86068: am 2a79defa: Merge "docs: add guide to copying and installing the Dev Tools app from the emulator to a device." into eclair
Merge commit 'bfb8606831d5a5776301733cde3650d237870453'

* commit 'bfb8606831d5a5776301733cde3650d237870453':
  docs: add guide to copying and installing the Dev Tools app
2010-01-25 18:10:13 -08:00
Yang Li
a54bec599a Added comments for GestureUtilities. 2010-01-25 17:59:15 -08:00
Robert Greenwalt
cc4b4016e4 Fix the reporting of NO_CONNECTIVITY.
A refactoring of handleDisconnect instroduced a bug - we were reporting
NO_CONNECTIVITY after any non-primary network (supl, mms, hipri) was lost.

bug:2395006

Change-Id: Ifa9e008872ec646981a35f2c316120cb9685a6a4
2010-01-25 17:54:29 -08:00
Eric Laurent
473bd77675 Merge "Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active." 2010-01-25 17:16:05 -08:00
Robert Greenwalt
6d626d41e9 am 5381e4ef: Merge "Refine fix I53e91db7 to apply only to wifi network" into eclair
Merge commit '5381e4ef4ef1a05b25fa39ff942f4a95e0ae4750' into eclair-plus-aosp

* commit '5381e4ef4ef1a05b25fa39ff942f4a95e0ae4750':
  Refine fix I53e91db7 to apply only to wifi network
2010-01-25 16:54:28 -08:00
Scott Main
9985fecaa0 am d243bc71: Merge "docs: reference the history JS file with docRoot in order to make offline doc searches work. (I think this was a regression due to a missed merge.) Bug: 1909300" into eclair
Merge commit 'd243bc710c92e56974f52449d24e2c6b8dd0ef9e' into eclair-plus-aosp

* commit 'd243bc710c92e56974f52449d24e2c6b8dd0ef9e':
  docs: reference the history JS file with docRoot in order to
2010-01-25 16:54:20 -08:00
Robert Greenwalt
5381e4ef4e Merge "Refine fix I53e91db7 to apply only to wifi network" into eclair 2010-01-25 16:50:10 -08:00
Fred Quintana
307da1a46b enhance the sync manager backoff logic and add support for retry-after
moved SyncQueue and SyncOperation into their own top-level classes
to ease maintainability and testing6

removed some dead code
2010-01-25 16:41:58 -08:00
Romain Guy
e0560e484b Merge "Made GestureUtilities's several methods public; Changed GestureStroke's smoothening threshold." 2010-01-25 16:30:37 -08:00
Robert Greenwalt
6e6dec2843 Refine fix I53e91db7 to apply only to wifi network
The original fix eliminated duplicate wifi connectivity changes stemming from
location provder scan's for APs.  These would generate two DISCONNECTED broadcasts every
two minutes and many apps mis-interpreted them.

The fix was to ignore notifications where the major state was the same as the previous one
for each network.  Unfortunately the state of per-apn notifications on cellular is hacky
and so the wifi fix was breaking mms (mms when you're on cellular with a common default+mms apn does
not generate a disconnect notification (apn still connected) so subsequent connect notifications
get dropped as duplicates).

This change refines the previous change so that it only applies to wifi networks.

bug:2392061
Change-Id: I05d8a46a4b55f8d28df8af12e05284e5e68bfc02
drno: ryanpc
2010-01-25 16:23:56 -08:00
Andreas Huber
e2b3886326 Merge "Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright." 2010-01-25 16:18:58 -08:00
Andreas Huber
07bf09da4a Initial checkin of AudioSource and AMRWriter, a pair of classes supporting pure-audio recording in stagefright.
related-to-bug: 2295449
2010-01-25 16:17:40 -08:00
Scott Main
d243bc710c Merge "docs: reference the history JS file with docRoot in order to make offline doc searches work. (I think this was a regression due to a missed merge.) Bug: 1909300" into eclair 2010-01-25 15:39:46 -08:00
Yang Li
c7f930f5a9 Made GestureUtilities's several methods public; Changed GestureStroke's smoothening threshold. 2010-01-25 15:15:55 -08:00
Scott Main
d644edb6d8 docs: reference the history JS file with docRoot in order to
make offline doc searches work. (I think this was a regression
due to a missed merge.)
Bug: 1909300
2010-01-25 14:47:46 -08:00
Eric Laurent
23f25cda0c Fix issue 2378022: AudioService should direct volume control to STREAM_VOICE_CALL stream when STREAM_VOICE_CALL stream is active.
Modified AudioService.getActiveStreamType() so that STREAM_VOICE_CALL is selected when a track using this stream
type is playing.

Chanded isMusicActive() for a more generic isStreamActive(stream) method in AudioSystem, IAudioFlinger and AudioFlinger.
2010-01-25 14:00:10 -08:00
Eric Laurent
bb04b631b6 Merge "Fix issue 2349345: Media sound output stuck on earpiece rather than speaker." 2010-01-25 13:56:42 -08:00
Mathias Agopian
8ca8b1cc7e Merge "fix [2341222] AGL version of glDrawTexxOES doesn't handle "Z" value correctly" 2010-01-25 13:50:17 -08:00
Owen Lin
d6cc0343c9 Revert I3fdda2588a7c612d7c9cfb4f25d9aedd1d609162 which open two functions
in preference manager.

Change-Id: I910ccd3794771da9ec1eb4809b3d1a2a6633f4b1
2010-01-25 13:45:52 -08:00
Jason Sams
df48b57114 Cleanup seperation of Legacy and user attribs. All user programs now use the new names. Legacy vertex attribs are given default names. 2010-01-25 12:41:19 -08:00
Mike LeBeau
882652bf0d Merge "Add RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which we'll trigger from system settings. For now it'll just be triggered from within the voice search app if you choose the settings menu item." 2010-01-25 12:06:48 -08:00
Mike LeBeau
9c58935c1b Add RecognizerIntent.ACTION_VOICE_SEARCH_SETTINGS, which we'll trigger
from system settings. For now it'll just be triggered from within the
voice search app if you choose the settings menu item.

Need to unhide this before we can be fully unbundled for voice search.
2010-01-25 15:04:57 -05:00
Mathias Agopian
ac00ad1b88 fix [2341222] AGL version of glDrawTexxOES doesn't handle "Z" value correctly 2010-01-25 11:49:52 -08:00
Eric Laurent
b1cbc3525f Merge "Fix issue 2363154: Speech synthesis fails to start over A2DP after media server process crash." 2010-01-25 11:46:43 -08:00
Mathias Agopian
7bac72d8ed Merge "fix [2303866] eglMakeCurrent doesn't return all error messages described in the spec" 2010-01-25 11:37:54 -08:00
Chris Tate
da77d0a6e7 Merge "Make sure to downgrade to app permissions when invoking callbacks" 2010-01-25 11:35:08 -08:00
Mathias Agopian
7552dcf936 fix [2303866] eglMakeCurrent doesn't return all error messages described in the spec 2010-01-25 11:30:11 -08:00
David 'Digit' Turner
1edab2b551 Make PackageManager unpack gdbserver binaries at installation time.
Native-debuggable packages contain a lib/<abi>/gdbserver executable.
This patch ensures that the package manager will copy it to the
proper location (/data/data/<appname>/lib) at installation time.

Note that such packages are marked with a new ApplicationInfo flag
named FLAG_NATIVE_DEBUGGABLE, to be used later by the Activity
Manager.
2010-01-25 11:27:08 -08:00
Andreas Huber
f1c934f272 Merge "The qcom OMX video decoders do not allocate output buffer memory at the time OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr." 2010-01-25 11:25:17 -08:00
Andreas Huber
52733b83a7 The qcom OMX video decoders do not allocate output buffer memory at the time OMX_AllocateBuffer is called, wait until we received the first FILL_BUFFER_DONE notification until we rely on the buffer data ptr. 2010-01-25 11:24:26 -08:00
Ken Shirriff
1790c13ed6 Change calendar authority to com.android.calendar.
bug 2388178
2010-01-25 10:53:43 -08:00
Ken Shirriff
8fdd45e1aa Merge "Add SyncState class for calendar provider." 2010-01-25 10:50:47 -08:00
Eric Laurent
787aa597d4 Fix issue 2363154: Speech synthesis fails to start over A2DP after media server process crash.
The problem is that after a media_server crash, the value of the A2DP output handle can change.
As this value is cached in AudioSystem for all client processes there can be a mismatch between the cached
and actual value after a media_server restart.

The fix consists in clearing the cached output handles and output to stream map values cached
in AudioSystem in AudioFlingerClient::binderDied() which is called when the media_server crashes.
2010-01-25 10:27:15 -08:00
Grace Kloba
96949efc54 We were blocking updating display tree during drag.
Now we only lower the WebViewCore thread priority.
So rename the functions to reflect the new meaning.
2010-01-25 09:53:01 -08:00