18779 Commits

Author SHA1 Message Date
Kenny Root
3cbd62c3ce Store AudioTrack return value for error condition
Store AudioTrack->initCheck()'s return value so we can return it after
the AudioTrack is deleted.

Change-Id: Ie042a7d6a54d7f9afd8a5767cfd167dbeb2e5c04
2010-02-18 09:03:34 -08:00
Kenny Root
fedfea24e7 Fix enum reference
Was using argument that is set default to NULL as a shortcut to an
enum's value. Change it to reference to class directly to avoid a null
pointer dereference.

Change-Id: I16b8ee15af4f095f027113131d574b70768994b0
2010-02-18 08:54:47 -08:00
Mike Lockwood
6f760ee1c2 Merge "Catch Java exceptions in the FileObserver JNI code" 2010-02-18 07:47:53 -08:00
Mike Lockwood
4b9f74a2d3 Merge "Don't return passive location provider unless app has fine permissions." 2010-02-18 06:38:12 -08:00
Cary Clark
bf8f3a888c Merge "add support for audio/3gpp" 2010-02-18 06:28:45 -08:00
Mike Reed
35d2621b3a Merge "update dox" 2010-02-18 06:11:39 -08:00
Cary Clark
1b098a6852 add support for audio/3gpp
This parallels an entry in WebCore/platform/MIMETypeRegistry.cpp

http://b/2452889
http://code.google.com/p/android/issues/detail?id=3728
2010-02-18 09:08:42 -05:00
Bryan Mawhinney
43cc4696bf Don't return passive location provider unless app has fine permissions. 2010-02-18 13:00:16 +00:00
Joe Onorato
6371a2d31f am ee3bbefd: Merge "Don\'t crash the system process when apps give us a bad foreground service notification." into eclair
Merge commit 'ee3bbefd34fd5330ebbc59175a328197ab7526af' into eclair-plus-aosp

* commit 'ee3bbefd34fd5330ebbc59175a328197ab7526af':
  Don't crash the system process when apps give us a bad foreground service notification.
2010-02-18 04:52:46 -08:00
Joe Onorato
ee3bbefd34 Merge "Don't crash the system process when apps give us a bad foreground service notification." into eclair 2010-02-18 04:46:32 -08:00
Joe Onorato
34fcf97103 Don't crash the system process when apps give us a bad foreground service notification. 2010-02-18 07:45:17 -05:00
Mike Lockwood
59d25d00a1 Catch Java exceptions in the FileObserver JNI code
Change-Id: I8aed85baadef7a3ea80333b33df0743e0d349915
BUG: 2404428
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-18 07:09:06 -05:00
Romain Guy
ab4835ee0d am 00b17659: Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Merge commit '00b17659bb4b2774580eea523c5f23b588105ab6' into eclair-plus-aosp

* commit '00b17659bb4b2774580eea523c5f23b588105ab6':
  Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
2010-02-17 21:22:52 -08:00
Romain Guy
6f4a52a3f7 am 67e9e9df: Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
Merge commit '67e9e9df929aad9139f1dc776b15f6c5d64f424e' into eclair-plus-aosp

* commit '67e9e9df929aad9139f1dc776b15f6c5d64f424e':
  Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
2010-02-17 21:17:48 -08:00
Romain Guy
00b17659bb Manual merge of 40245 (ed5c973fc23a6733fd473ad13b4eb317e74e9bb5) DO NOT MERGE.
Prevent infinite loop in the Phone UI.
2010-02-17 21:16:36 -08:00
Romain Guy
67e9e9df92 Manual merge of 40170 (b4a107d8269d1a75b8f270e0516c1fa3b517f8f9) DO NOT MERGE
Fix the lock screen.
2010-02-17 21:12:47 -08:00
Romain Guy
6c71d476f3 am 8368ef0b: Manual merge of 40080 DO NOT MERGE Properly notifies listener when an animation is cancelled. Bug: #2428005.
Merge commit '8368ef0b670f8193f3161671b119e78b1fb659a1' into eclair-plus-aosp

* commit '8368ef0b670f8193f3161671b119e78b1fb659a1':
  Manual merge of 40080 DO NOT MERGE
2010-02-17 21:10:34 -08:00
Romain Guy
8368ef0b67 Manual merge of 40080 DO NOT MERGE
Properly notifies listener when an animation is cancelled.
Bug: #2428005.
2010-02-17 20:49:10 -08:00
Mathias Agopian
eba3bb06a8 Merge "Remove a dependency of Region (libui) on Parcel (libbinder)." 2010-02-17 20:27:45 -08:00
Mathias Agopian
e59a54c0ed Remove a dependency of Region (libui) on Parcel (libbinder). 2010-02-17 20:26:47 -08:00
Svetoslav Ganov
714cff0693 Fixing bug 2451615 - Accessibility services are started upon system reboot while accessibility is disabled 2010-02-17 19:36:28 -08:00
Eric Rowe
6f4f619369 Fix formatting of ANRs.
Fix for cases where an extra newline would be added and/or a newline at the end of a line would be ommited.
2010-02-17 18:29:04 -08:00
Jaikumar Ganesh
cf5f652740 Set error condition correctly when device is already created.
When device is already created, and we call CreateDevice, we
need to report the error correctly. Only then the SDP query
will be done from java land.
2010-02-17 17:19:26 -08:00
Dan Egnor
8a2e011195 Add some useful methods to OperationScheduler to inquire into
the history, in case you want to second-guess its scheduling.
2010-02-17 17:07:01 -08:00
Svetoslav Ganov
9b31779eab Fix for bug 2448479 2010-02-17 16:46:42 -08:00
Andreas Huber
fc081668c3 Merge "We are cancelling this event during reset, but the event may have already been dispatched at the time, blocking on the mutex. While it's blocking, reset() cancels the event, we're then unblocked and bad things(tm) happen." 2010-02-17 16:10:29 -08:00
Andreas Huber
c0178f1097 We are cancelling this event during reset, but the event may have already been dispatched at the time, blocking on the mutex. While it's blocking, reset() cancels the event, we're then unblocked and bad things(tm) happen.
related-to-bug: 2451174
2010-02-17 16:01:01 -08:00
Mike Lockwood
5453da0132 Merge "Add passive location provider." 2010-02-17 15:52:05 -08:00
Jason Sams
c948cc8c8a Merge "Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one." 2010-02-17 15:39:46 -08:00
Jason Sams
e4c487a752 Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one. 2010-02-17 15:38:10 -08:00
Kenny Root
9a686b5c42 Merge "Prevent possible NPE in android.gesture.Learner" 2010-02-17 15:37:24 -08:00
Mike Lockwood
a4903f254b Add passive location provider.
The passive location provider allows receiving location updates without
actually triggering them.  This allows an application to receive location
updates that are being generated due to other clients of the location manager.

Change-Id: Ibf7a96b089c56875d4f62d3210252ae8d9f32768
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-17 18:36:40 -05:00
Adam Powell
c6a0a9cb67 Merge "Don't move the fast scroll thumb with a list on overscroll." 2010-02-17 15:16:08 -08:00
Andreas Huber
0a026cff9e Merge "Disable the TI AMR hardware decoder for audio decoding until its issues are resolved." 2010-02-17 15:06:51 -08:00
Andreas Huber
1f13ceb6d2 Merge "Better diagnostics for the stagefright tool and codec performance." 2010-02-17 15:06:44 -08:00
Andreas Huber
4727040c5c Disable the TI AMR hardware decoder for audio decoding until its issues are resolved.
related-to-bug: 2450938
2010-02-17 15:04:18 -08:00
Jeff Sharkey
2b95c24138 Added more @RemotableViewMethod methods, mutate ImageView.
Catch some View methods missed during the first pass of
marking with @RemotableViewMethod annotation.  Also adds new
ImageView.setColorFilter(int) to match the android:tint XML
attribute.

When ImageView touches ColorFilter or alpha, mutate the
underlying Drawable. Fix NPE in StateListDrawable.mutate().
2010-02-17 15:03:32 -08:00
Andreas Huber
6c9bf1c1de Better diagnostics for the stagefright tool and codec performance.
related-to-bug: 2450938
2010-02-17 14:58:07 -08:00
Adam Powell
7fd28847f1 Don't move the fast scroll thumb with a list on overscroll. 2010-02-17 14:34:21 -08:00
Dan Egnor
6a70d7d1e2 Don't overwrite ANR traces.txt if it can't be renamed (usually
due to lack of permissions, usually due to an old adb running
"dumpstate" directly rather than via bugreport).
2010-02-17 14:25:03 -08:00
Christopher Tate
1168baae84 Tone down a non-error log message about lack of ancestral dataset tracking
Change-Id: I2e5e48c9b695d6225016365907fe8edc73ab2c8e
2010-02-17 14:16:51 -08:00
Kenny Root
7951eaa92a Change Javadocs to fix SDK build
Remove some hidden reference and update links to other classes and
methods.

Change-Id: I4b6561f1bac07329d75da13f72496aa7d5b20a62
2010-02-17 14:00:55 -08:00
Dave Sparks
5bc5407318 Merge "Unhide new SoundPool API's. Bug 2415373." 2010-02-17 13:37:55 -08:00
Fred Quintana
fb6a5359e4 remove check for obsolete property ro.config.sync 2010-02-17 13:35:49 -08:00
Dave Sparks
0551311980 Unhide new SoundPool API's. Bug 2415373. 2010-02-17 13:29:08 -08:00
Brett Chabot
5df3a9017e Merge "Add a host based test for package manager installs." 2010-02-17 13:26:33 -08:00
Brett Chabot
cb2003afee Add a host based test for package manager installs.
Bug 2430400
2010-02-17 13:25:41 -08:00
Kenny Root
7b1c067b90 Merge "Correct use of logical AND" 2010-02-17 13:24:59 -08:00
Kenny Root
574ecc8ed9 Merge "Add better index checks for AndroidCharacter.mirror" 2010-02-17 13:24:37 -08:00
Amith Yamasani
479ae0a280 Cleanup of global search references in SearchDialog and SearchManager. 2010-02-17 13:19:27 -08:00