OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Handle OPTIONS requests from SIP servers." into gingerbread
Chung-yih Wang [Thu, 23 Sep 2010 23:36:18 +0000 (16:36 -0700)]
Merge "Handle OPTIONS requests from SIP servers." into gingerbread

13 years agoFix issue #3022508: Crash during media scan
Dianne Hackborn [Thu, 23 Sep 2010 05:34:31 +0000 (22:34 -0700)]
Fix issue #3022508: Crash during media scan

Don't kill processes for excessive wake lock use, even if they
are in the background, as long as they have running services.

Also fix some problems with this, such as not noting the kill
in battery stats.

And add killing of processes for cpu usage as well, along with
some optimizations to computing CPU usage.

And fix BatteryWaster to be better behaving for testing these
cases.

Add new "monitor" command to am to watch as the activity manager
does stuff (so we can catch things at the point of ANR).

Finally some miscellaneous debug output for the stuff here, as
well as in progress debugging of an ANR.

Change-Id: Ib32f55ca50fb7486b4be4eb5e695f8f60c882cd1

13 years agoMake the logging a little more targeted for the status bar multiple icon problem.
Joe Onorato [Thu, 23 Sep 2010 22:09:18 +0000 (15:09 -0700)]
Make the logging a little more targeted for the status bar multiple icon problem.

Change-Id: I726eef29281dce2a1b900c28ad55bf82cb50449a

13 years agoMerge "Doc change: ADT 0.9.9 version notes, size/sum update." into gingerbread
Dirk Dougherty [Thu, 23 Sep 2010 21:58:41 +0000 (14:58 -0700)]
Merge "Doc change: ADT 0.9.9 version notes, size/sum update." into gingerbread

13 years agoMerge "Enforce serial ordering of MotionEvents." into gingerbread
Jeff Brown [Thu, 23 Sep 2010 21:51:52 +0000 (14:51 -0700)]
Merge "Enforce serial ordering of MotionEvents." into gingerbread

13 years agoMerge "Better errors in PackageManagerTests" into gingerbread
Kenny Root [Thu, 23 Sep 2010 21:27:00 +0000 (14:27 -0700)]
Merge "Better errors in PackageManagerTests" into gingerbread

13 years agoMerge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec...
Andreas Huber [Thu, 23 Sep 2010 21:16:48 +0000 (14:16 -0700)]
Merge "Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly." into gingerbread

13 years agoMerge "Fix a deadlock I ran into." into gingerbread
Dianne Hackborn [Thu, 23 Sep 2010 21:15:45 +0000 (14:15 -0700)]
Merge "Fix a deadlock I ran into." into gingerbread

13 years agoDepending on our preference to write 2-byte or 4-byte NALs, patch the codec specific...
Andreas Huber [Thu, 23 Sep 2010 21:08:32 +0000 (14:08 -0700)]
Depending on our preference to write 2-byte or 4-byte NALs, patch the codec specific data 'avcC' accordingly.

Change-Id: I1423923fafbcac6911218277e2bbfa068e49dcc6

13 years agoEnforce serial ordering of MotionEvents.
Jeff Brown [Thu, 23 Sep 2010 20:51:48 +0000 (13:51 -0700)]
Enforce serial ordering of MotionEvents.

This change modifies ViewRoot to wait until the MotionEvent has been
delivered before telling the input dispatcher that it is finished.
The serial ordering guarantee will be required by new features that
may need to transfer touch focus from one window to another.

Change-Id: I0a64d1f0c8bc3f08846f213d6e28ce48b1d48e58

13 years agoMerge "Add an aapt option to allow string variations for different devices." into...
Eric Fischer [Thu, 23 Sep 2010 20:47:06 +0000 (13:47 -0700)]
Merge "Add an aapt option to allow string variations for different devices." into gingerbread

13 years agofix [3028370] GL get error should return a valid error if no context is bound.
Mathias Agopian [Thu, 23 Sep 2010 18:32:52 +0000 (11:32 -0700)]
fix [3028370] GL get error should return a valid error if no context is bound.

glGetError() will now always return GL_INVALID_OPERATION if called from a thread
with no GL context bound.

Change-Id: I28ba458871db051bb4f5a26668a1fa123526869c

13 years agoHave DownloadManager pass file URIs for legacy external downloads
Steve Howard [Thu, 23 Sep 2010 01:56:29 +0000 (18:56 -0700)]
Have DownloadManager pass file URIs for legacy external downloads

DownloadManager was set up to return file URIs for public API
downloads to external, but to return content URIs for all others.
This included browser downloads, which are on external but don't go
through the public API.  Since the new downloads UI uses
DownloadManager, it was affected by this change when the user opened a
file from the UI.  Apparently numerous things don't handle content
URIs well, including music preview (clicking on downloaded mp3) and
package installer (clicking on downloaded APK), so this change makes
it generate file URIs for legacy external downloads.

Change-Id: I5c34d8ba188cc8b0d11865262cb451208be78eae

13 years agoTweaks to download manager API based on API review feedback
Steve Howard [Wed, 22 Sep 2010 22:57:25 +0000 (15:57 -0700)]
Tweaks to download manager API based on API review feedback

* improved documentation of the default destination on the download
  cache and the concomitant consequences

* removed NETWORK_WIMAX flag for setting allowed networks

* changed request headers behavior to support multiple instances of
  the same header (as allowed in the HTTP spec), renamed
  setRequestHeader() to addRequestHeader()

* accept user-facing strings as CharSequences instead of Strings

* new convenience methods setDestinationInExternalFilesDir() and
  setDestinationInExternalPublicDir() for setting a destination in
  either shared or app-private external storage directories

* renamed setMediaType() to setMimeType()

Change-Id: I8781e2214d939c340209cab917bbbba264ab919c

13 years agoDoc change: ADT 0.9.9 version notes, size/sum update.
Dirk Dougherty [Thu, 23 Sep 2010 18:48:54 +0000 (11:48 -0700)]
Doc change: ADT 0.9.9 version notes, size/sum update.

Change-Id: I824da2911e782b0eec1e684a1982750ac308977b

13 years agoam 5b7328f2: Merge "docs: add more info about state list drawable and onclick attribu...
Scott Main [Thu, 23 Sep 2010 18:41:48 +0000 (11:41 -0700)]
am 5b7328f2: Merge "docs: add more info about state list drawable and onclick attribute to Button bug:1062898" into froyo

Merge commit '5b7328f257a76ff6b7b60872d6a106002ff1f679' into gingerbread

* commit '5b7328f257a76ff6b7b60872d6a106002ff1f679':
  docs: add more info about state list drawable and onclick attribute to Button

13 years agoam 27de3a24: (-s ours) Doc change: ADT 0.9.9 version notes, size/sum update.
Dirk Dougherty [Thu, 23 Sep 2010 18:37:33 +0000 (11:37 -0700)]
am 27de3a24: (-s ours) Doc change: ADT 0.9.9 version notes, size/sum update.

Merge commit '27de3a240fcf6e5cdd1b228fa11ffcb4fdc73866' into gingerbread

* commit '27de3a240fcf6e5cdd1b228fa11ffcb4fdc73866':
  Doc change: ADT 0.9.9 version notes, size/sum update.

13 years agoMerge "docs: add more info about state list drawable and onclick attribute to Button...
Scott Main [Thu, 23 Sep 2010 18:23:48 +0000 (11:23 -0700)]
Merge "docs: add more info about state list drawable and onclick attribute to Button bug:1062898" into froyo

13 years agoBetter errors in PackageManagerTests
Kenny Root [Tue, 21 Sep 2010 23:30:56 +0000 (16:30 -0700)]
Better errors in PackageManagerTests

PackageManagerTests was catching assertion errors and just spitting out
a generic "Hey, there was an error!" message. This eliminates that and
adds some expected outcomes in the assertions.

Change-Id: I27baa3c57c85b0cae4ea76aaf1e2a9b61b2c32b7

13 years agoMerge "Fix issue 3022800." into gingerbread
Eric Laurent [Thu, 23 Sep 2010 18:07:06 +0000 (11:07 -0700)]
Merge "Fix issue 3022800." into gingerbread

13 years agoFix issue 3022800.
Eric Laurent [Wed, 22 Sep 2010 01:18:20 +0000 (18:18 -0700)]
Fix issue 3022800.

- Created sub-package android.media.audiofx for audio effects.
- Hid AudioEffect class contructor, methods and variables not needed by
applications
- Added more javadoc comments for AudioEffect Class

Change-Id: Ibbb40d4e714bb248aa32cf82d7763d74efae96d1

13 years agoMerge "Fix for IndexOutOfBounds in setComposingRegion." into gingerbread
Amith Yamasani [Thu, 23 Sep 2010 18:03:49 +0000 (11:03 -0700)]
Merge "Fix for IndexOutOfBounds in setComposingRegion." into gingerbread

13 years agoAdd an aapt option to allow string variations for different devices.
Eric Fischer [Wed, 15 Sep 2010 22:59:21 +0000 (15:59 -0700)]
Add an aapt option to allow string variations for different devices.

The --product option to aapt is a comma-separated list of characteristics
of the device being built for.  For example, --product nosdcard,grayscale
for a device with no SD card and a grayscale screen.

Strings can specify a product="characteristic" option to cause that version
of the string to be used only for that type of device.  All such strings
should also specify, at the end of the block, product="default", which
will be used if none of the variations match.  For example:

<string name="choose" product="bw">Choose black or white</string>
<string name="choose" product="grayscale">Choose a shade of gray</string>
<string name="choose" product="default">Choose a color</string>

The default characteristic will also be used when no --product option
is specified.

Change-Id: Ie6c1505599e02e15b7818e8be6ec47bc6ce71aaa

13 years agoDon't crash if we've never gotten a signal strength update.
Joe Onorato [Thu, 23 Sep 2010 16:50:04 +0000 (09:50 -0700)]
Don't crash if we've never gotten a signal strength update.

It looks like this timing bug has been there forever, and we're just starting to hit it now.

Bug: 3027952
Change-Id: I5c14ccd7f74205dc6930f4282cec0e23eeb54cab

13 years agoDoc change: ADT 0.9.9 version notes, size/sum update.
Dirk Dougherty [Thu, 23 Sep 2010 16:41:57 +0000 (09:41 -0700)]
Doc change: ADT 0.9.9 version notes, size/sum update.

Change-Id: I08ebfa95b0735964a888a89931a1f4c3bdf1862c

13 years agoIgnore errors from correction parameter query and config for M4v and H263 encoders
James Dong [Thu, 23 Sep 2010 00:37:42 +0000 (17:37 -0700)]
Ignore errors from correction parameter query and config for M4v and H263 encoders

This feature is not essential for camcorder application

Change-Id: Id560632207dcf24fe361280ebe8178ea7332f22d

13 years agoMerge "Use the advertised profile and level from M4V and H263 video encoders" into...
James Dong [Thu, 23 Sep 2010 17:11:04 +0000 (10:11 -0700)]
Merge "Use the advertised profile and level from M4V and H263 video encoders" into gingerbread

13 years agoHandle OPTIONS requests from SIP servers.
Chung-yih Wang [Thu, 23 Sep 2010 15:27:00 +0000 (23:27 +0800)]
Handle OPTIONS requests from SIP servers.

Change-Id: I849d5ea4c4c56a06d25ccdc6b959274c59c47200

13 years agoMerge "Cleanup Netd to prevent getting hung." into gingerbread
Robert Greenwalt [Thu, 23 Sep 2010 15:41:21 +0000 (08:41 -0700)]
Merge "Cleanup Netd to prevent getting hung." into gingerbread

13 years agoFix the build.
repo sync [Thu, 23 Sep 2010 06:52:24 +0000 (14:52 +0800)]
Fix the build.

Change-Id: I82210cb2d41f532583f83ea17e6f2d8d49280a30

13 years agoMerge changes I7efff4f2,I1631ee20,I14d9886a,Ic2858920,Iff588130,I37ba9d83 into ginger...
repo sync [Thu, 23 Sep 2010 06:14:15 +0000 (23:14 -0700)]
Merge changes I7efff4f2,I1631ee20,I14d9886a,Ic2858920,Iff588130,I37ba9d83 into gingerbread

* changes:
  SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.
  SDP: Add a simple class to help manipulate session descriptions.
  RTP: Add log throttle for "no data".
  RTP: Update native part to reflect the API change.
  RTP: Add two getters to retrieve the current configuration from AudioStream.
  RTP: Extend codec capability and update the APIs.

13 years agoSIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.
repo sync [Wed, 22 Sep 2010 23:12:30 +0000 (07:12 +0800)]
SIP: Make SipAudioCallImpl use SimpleSessionDescription instead of javax.sdp.

Change-Id: I7efff4f29ca84c3e7c17ef066b7186b514a777b2

13 years agoUnhide BitmapRegionDecoder.
Wei-Ta Chen [Tue, 7 Sep 2010 09:32:18 +0000 (17:32 +0800)]
Unhide BitmapRegionDecoder.

1. Rename LargeBitmap to BitmapRegionDecoder
2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory.
3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build.
4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions.

Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 .
However, that change broke the master build due to (3) and was reverted eventually.
So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one.

Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40

13 years agoFix a deadlock I ran into.
Dianne Hackborn [Thu, 23 Sep 2010 05:46:21 +0000 (22:46 -0700)]
Fix a deadlock I ran into.

Activity manager was calling into the backup service (and other
things) with its lock held.

Change-Id: Id55093e09cc5fe81b73b85968184816d956e0ae8

13 years agoSDP: Add a simple class to help manipulate session descriptions.
Chia-chi Yeh [Mon, 20 Sep 2010 08:34:18 +0000 (16:34 +0800)]
SDP: Add a simple class to help manipulate session descriptions.

Change-Id: I1631ee20e8b4a9ad8e2184356b5d13de66e03db1

13 years agoMerge "DO NOT MERGE Apply new styles to the status bar/notification shade" into ginge...
Adam Powell [Thu, 23 Sep 2010 04:08:10 +0000 (21:08 -0700)]
Merge "DO NOT MERGE Apply new styles to the status bar/notification shade" into gingerbread

13 years agoDO NOT MERGE Apply new styles to the status bar/notification shade
Adam Powell [Thu, 23 Sep 2010 03:17:34 +0000 (20:17 -0700)]
DO NOT MERGE Apply new styles to the status bar/notification shade

Change-Id: I5e89891852ff96f113083ac87bcfd74732c43faa

13 years agodocs: add more info about state list drawable and onclick attribute to Button
Scott Main [Thu, 23 Sep 2010 01:55:31 +0000 (18:55 -0700)]
docs: add more info about state list drawable and onclick attribute to Button
bug:1062898

Change-Id: I633c38fc20a2ebf894237f86648cc0fdc9488b1a

13 years agoDon't do single byte writes in DropBoxManagerService
Brad Fitzpatrick [Thu, 23 Sep 2010 00:49:16 +0000 (17:49 -0700)]
Don't do single byte writes in DropBoxManagerService

Bug: 3018772
Change-Id: I6990041f059aeb2a4c29e59b1a3d78d19bf9b02f

13 years agoUse the advertised profile and level from M4V and H263 video encoders
James Dong [Thu, 23 Sep 2010 00:42:09 +0000 (17:42 -0700)]
Use the advertised profile and level from M4V and H263 video encoders

This is already the case for AVC video encoder

Change-Id: I9cc97a03ab457b4bd0b21832c09f6d0aa7f5fc39

13 years agoFix for IndexOutOfBounds in setComposingRegion.
Amith Yamasani [Wed, 22 Sep 2010 23:58:13 +0000 (16:58 -0700)]
Fix for IndexOutOfBounds in setComposingRegion.

Bug: 3000457

Check upper and lower bounds of the composing region and clip them.

Change-Id: I8128a2b581ce3d8a9ff6c71cc648c3e87163b3f5

13 years agoAdd javadoc saying that wake locks are ref counted by default.
Joe Onorato [Wed, 22 Sep 2010 23:54:36 +0000 (16:54 -0700)]
Add javadoc saying that wake locks are ref counted by default.

Bug: 3012561
Change-Id: I441a42fdb12ba6d87d6f5a49463d6ddcc300acb7

13 years agoCleanup Netd to prevent getting hung.
Robert Greenwalt [Wed, 22 Sep 2010 21:32:35 +0000 (14:32 -0700)]
Cleanup Netd to prevent getting hung.

If the sending of the command fails we should note it and not wait forever
for the response.

We should also not say we're ready until we actually are.

bug:2993205
Change-Id: I380f0312ac4693ad184a526b330fdfa23f6ac558

13 years agoMerge "Fix NPE in PowerManagerService on boot, if some settings are corrupted." into...
Amith Yamasani [Wed, 22 Sep 2010 23:29:49 +0000 (16:29 -0700)]
Merge "Fix NPE in PowerManagerService on boot, if some settings are corrupted." into gingerbread

13 years agoFix NPE in PowerManagerService on boot, if some settings are corrupted.
Amith Yamasani [Wed, 22 Sep 2010 23:11:59 +0000 (16:11 -0700)]
Fix NPE in PowerManagerService on boot, if some settings are corrupted.

Bug: 2715038
Change-Id: I10c08b359ff3cde732c37eb6dff0877cdb021cd9

13 years agoMerge "Request permission for global audio effects." into gingerbread
Eric Laurent [Wed, 22 Sep 2010 23:00:59 +0000 (16:00 -0700)]
Merge "Request permission for global audio effects." into gingerbread

13 years agoRequest permission for global audio effects.
Eric Laurent [Wed, 22 Sep 2010 21:17:38 +0000 (14:17 -0700)]
Request permission for global audio effects.

Applications creating an audio effect on the output mix must
have the MODIFY_AUDIO_SETTINGS permission.

Change-Id: I57d88533f91ad0d33680107d79abcec28f7263b5

13 years agoMerge "Decrease sensitivity of orientation changes a bit." into gingerbread
Steve Howard [Wed, 22 Sep 2010 22:57:12 +0000 (15:57 -0700)]
Merge "Decrease sensitivity of orientation changes a bit." into gingerbread

13 years agoMerge "Fix more audio effects auto tests" into gingerbread
Eric Laurent [Wed, 22 Sep 2010 22:53:49 +0000 (15:53 -0700)]
Merge "Fix more audio effects auto tests" into gingerbread

13 years agoMerge "Raise the amount of memory set aside for omx buffer allocations in the test...
Andreas Huber [Wed, 22 Sep 2010 22:34:00 +0000 (15:34 -0700)]
Merge "Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs." into gingerbread

13 years agoRaise the amount of memory set aside for omx buffer allocations in the test harness...
Andreas Huber [Wed, 22 Sep 2010 17:12:14 +0000 (10:12 -0700)]
Raise the amount of memory set aside for omx buffer allocations in the test harness to accomodate the new requirements of some codecs.

Change-Id: I73974a336852974e2fb95a9626c1a96f296449eb

13 years agoMerge "Flesh out StrictMode docs." into gingerbread
Brad Fitzpatrick [Wed, 22 Sep 2010 22:25:26 +0000 (15:25 -0700)]
Merge "Flesh out StrictMode docs." into gingerbread

13 years agoFlesh out StrictMode docs.
Brad Fitzpatrick [Wed, 22 Sep 2010 20:53:57 +0000 (13:53 -0700)]
Flesh out StrictMode docs.

Bug: 3001474
Change-Id: If64209a312d45f7d96d8317d1e63e6c773a01441

13 years agoRTP: Add log throttle for "no data".
repo sync [Wed, 22 Sep 2010 21:46:01 +0000 (05:46 +0800)]
RTP: Add log throttle for "no data".

Change-Id: I14d9886a40fa780514cbc6c5bac6fb2a670f55f4

13 years agoMerge "fix small bug in EGL error management" into gingerbread
Mathias Agopian [Wed, 22 Sep 2010 21:15:23 +0000 (14:15 -0700)]
Merge "fix small bug in EGL error management" into gingerbread

13 years agoFix more audio effects auto tests
Eric Laurent [Wed, 22 Sep 2010 20:49:52 +0000 (13:49 -0700)]
Fix more audio effects auto tests

commit 672c0dc3a04cb149691603342c319994e21235cb broke the energy probe
used by auto tests to verify that an effect is actually enabled.
The probe is based on the Visualizer which now scales the capture to maximise
the signal level: this prevents from detecting level changes between subsequent captures.
Playing sound at a lower volume moves the signal level out of the range where
scalling occurs and makes comparison possible again.

Change-Id: Ib56dec6e619c6d778dcc3ca6453091bf6136f290

13 years agoRTP: Update native part to reflect the API change.
Chia-chi Yeh [Thu, 16 Sep 2010 10:36:45 +0000 (18:36 +0800)]
RTP: Update native part to reflect the API change.

Change-Id: Ic2858920ad77d7312f2429f89ca509a481363431

13 years agoRTP: Add two getters to retrieve the current configuration from AudioStream.
Chia-chi Yeh [Tue, 21 Sep 2010 07:27:28 +0000 (15:27 +0800)]
RTP: Add two getters to retrieve the current configuration from AudioStream.

Change-Id: Iff588130653242f6ddd6a6b663df775ecb276768

13 years agoRTP: Extend codec capability and update the APIs.
Chia-chi Yeh [Thu, 16 Sep 2010 01:56:38 +0000 (09:56 +0800)]
RTP: Extend codec capability and update the APIs.

Change-Id: I37ba9d83c2de3c5dae2bfc1b7513df7f6fee3c5c

13 years agoMerge "Make sure we drain the avc software decoder's output queue once we run out...
Andreas Huber [Wed, 22 Sep 2010 19:20:54 +0000 (12:20 -0700)]
Merge "Make sure we drain the avc software decoder's output queue once we run out of input data." into gingerbread

13 years agoMerge "DO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963" into gingerbread
Vasu Nori [Wed, 22 Sep 2010 19:10:37 +0000 (12:10 -0700)]
Merge "DO NOT MERGE - redo  Ib5e519fb40d3191ecac06c03a844872df19f3963" into gingerbread

13 years agoDO NOT MERGE - redo Ib5e519fb40d3191ecac06c03a844872df19f3963
Vasu Nori [Wed, 22 Sep 2010 18:52:53 +0000 (11:52 -0700)]
DO NOT MERGE - redo  Ib5e519fb40d3191ecac06c03a844872df19f3963

the prev  checkin somehow screwed up master..redoing it

Change-Id: Ib9e3652d1569ab26fb62ff08c1efeaee7f2de563

13 years agoMake sure we drain the avc software decoder's output queue once we run out of input...
Andreas Huber [Wed, 22 Sep 2010 18:47:00 +0000 (11:47 -0700)]
Make sure we drain the avc software decoder's output queue once we run out of input data.

Change-Id: I3d92ebae4951b618a6dfcf42936cc4c63d4de539

13 years agoMerge "Fix problem where Base64InputStream single-byte reads were unsigned." into...
Jesse Wilson [Wed, 22 Sep 2010 18:38:43 +0000 (11:38 -0700)]
Merge "Fix problem where Base64InputStream single-byte reads were unsigned." into gingerbread

13 years agoFix problem where Base64InputStream single-byte reads were unsigned.
Jesse Wilson [Wed, 22 Sep 2010 17:28:27 +0000 (10:28 -0700)]
Fix problem where Base64InputStream single-byte reads were unsigned.

Change-Id: Ibdfb77a283300baa61738fe98aa1c9f29eaf976f
http://b/3026478

13 years agoMerge "GpsLocationProvider: Fix race condition while bringing up APN for SUPL." into...
Mike Lockwood [Wed, 22 Sep 2010 16:54:53 +0000 (09:54 -0700)]
Merge "GpsLocationProvider: Fix race condition while bringing up APN for SUPL." into gingerbread

13 years agoMerge "SipService: fix thread/socket leak" into gingerbread
Hung-ying Tyan [Wed, 22 Sep 2010 16:35:35 +0000 (09:35 -0700)]
Merge "SipService: fix thread/socket leak" into gingerbread

13 years agoMerge "Fix broken insert reverb auto tests." into gingerbread
Eric Laurent [Wed, 22 Sep 2010 16:34:00 +0000 (09:34 -0700)]
Merge "Fix broken insert reverb auto tests." into gingerbread

13 years agoGpsLocationProvider: Fix race condition while bringing up APN for SUPL.
Mike Lockwood [Wed, 22 Sep 2010 16:13:39 +0000 (12:13 -0400)]
GpsLocationProvider: Fix race condition while bringing up APN for SUPL.

If handleUpdateNetworkState() is called before
ConnectivityManager.startUsingNetworkFeature() returns, then we will not
call native_agps_data_conn_open() to inform the GPS that the APN is up.
So we now set mAGpsDataConnectionState to AGPS_DATA_CONNECTION_OPENING
before calling ConnectivityManager.startUsingNetworkFeature() to avoid
this problem.

Change-Id: I5e1597d6494dc8ab68e608911c546a7a04f2ea07
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoSipService: fix thread/socket leak
Hung-ying Tyan [Wed, 22 Sep 2010 15:51:57 +0000 (23:51 +0800)]
SipService: fix thread/socket leak

Should call SipSessionGroup.close() instead of closeNotToReceiveCalls() to stop
the SIP stack (which will stop the MessageProcessor thread and close its socket).

Might be related to ANR's reported by:
http://b/issue?id=3021924
http://b/issue?id=3021927

Change-Id: I4ead1d81fc9abac983f5753b825d20bc1cc79866

13 years agoFix broken insert reverb auto tests.
Eric Laurent [Wed, 22 Sep 2010 15:59:27 +0000 (08:59 -0700)]
Fix broken insert reverb auto tests.

commit 27a2fdfb8ad1606bdb686c35e30ae894dd037588 changed the
insert reverb behavior when it is attached to a track in that
the reverb tail is silenced immediately when the track is paused.
The tests have been modified to test the insert reverb on session 0.

Change-Id: I90c6fec40167966853acfeaa4dec2b96f9e7839f

13 years agoMerge "Do not merge: clear text selection on rotate" into gingerbread
Cary Clark [Wed, 22 Sep 2010 15:29:12 +0000 (08:29 -0700)]
Merge "Do not merge: clear text selection on rotate" into gingerbread

13 years agoDo not merge: clear text selection on rotate
Cary Clark [Wed, 22 Sep 2010 14:49:33 +0000 (10:49 -0400)]
Do not merge: clear text selection on rotate

Change-Id: Ic7cb33d830779a75dc6e71db064ceac3c1f90298
http://b/3025142

13 years agoDo not merge: cherry-pick a fix for a npe.
Patrick Scott [Wed, 16 Jun 2010 16:27:06 +0000 (12:27 -0400)]
Do not merge: cherry-pick a fix for a npe.

Fix a monkey crash when the new WebView is destroyed.

Grab the WebViewCore immediately so that if the Tab is destroyed, we have the
old WebViewCore object and can return the BrowserFrame.

Bug: 2733004
Change-Id: I8cddf9c9d635fc8b50983e4813eadda26cf23348

13 years agoDO NOT MERGE. MOTOYA Japanese fonts
Shin-ichiro Fukuda [Mon, 13 Sep 2010 06:54:50 +0000 (15:54 +0900)]
DO NOT MERGE. MOTOYA Japanese fonts

These fonts were contributed by MOTOYA.
Cherry pick from Change-Id: I97879b4e163f6b547305da732c8604d1ac759df4

Change-Id: I97879b4e163f6b547305da732c8604d1ac759df4

13 years agoMerge "Fix race reading input configuration during system startup." into gingerbread
Jeff Brown [Wed, 22 Sep 2010 01:33:12 +0000 (18:33 -0700)]
Merge "Fix race reading input configuration during system startup." into gingerbread

13 years agoFix race reading input configuration during system startup.
Jeff Brown [Wed, 22 Sep 2010 01:22:55 +0000 (18:22 -0700)]
Fix race reading input configuration during system startup.

Change-Id: I9360c4ec5c29937fce06b44ffc71fca58c8b3d5f

13 years agoText selection anchors changed to use windows
Adam Powell [Mon, 20 Sep 2010 18:23:56 +0000 (11:23 -0700)]
Text selection anchors changed to use windows

Change-Id: I14f138039f5e3175a8c07f21985715b8447708e5

13 years agoMerge "Adding new feature definitions for new sensors (barometer and gyroscope.)...
Dan Morrill [Tue, 21 Sep 2010 23:59:29 +0000 (16:59 -0700)]
Merge "Adding new feature definitions for new sensors (barometer and gyroscope.)" into gingerbread

13 years agoMerge "Fix issue 2913071." into gingerbread
Eric Laurent [Tue, 21 Sep 2010 22:55:17 +0000 (15:55 -0700)]
Merge "Fix issue 2913071." into gingerbread

13 years agofix small bug in EGL error management
Mathias Agopian [Tue, 21 Sep 2010 22:43:59 +0000 (15:43 -0700)]
fix small bug in EGL error management

make sure to clear our EGL implementation's error when returning
an error from an underlying implementation

Change-Id: Ibce4726cef1f900e4c7f16002345d7a07f8cdf41

13 years agoSimplify and optimize MessageQueue loop.
Jeff Brown [Tue, 21 Sep 2010 22:14:14 +0000 (15:14 -0700)]
Simplify and optimize MessageQueue loop.

Avoids allocating new idle handler arrays on each iteration since
we only need one to copy into.
Coalesced the synchronized blocks.
Hoisted the call to Binder.flushPendingCommands() outside of the
synchronized block.

Change-Id: Iabb6b633627954564bdd5d09e696663223407f47

13 years agoMerge "Looper: use pthread_once for TLS key initialization." into gingerbread
Jeff Brown [Tue, 21 Sep 2010 22:36:06 +0000 (15:36 -0700)]
Merge "Looper: use pthread_once for TLS key initialization." into gingerbread

13 years agoAdding new feature definitions for new sensors (barometer and gyroscope.)
Dan Morrill [Thu, 2 Sep 2010 02:18:57 +0000 (19:18 -0700)]
Adding new feature definitions for new sensors (barometer and gyroscope.)

Change-Id: Ic3a35c7b277921eaa5b05e3285b6aed5ed75bea6

13 years agoLooper: use pthread_once for TLS key initialization.
Jeff Brown [Tue, 21 Sep 2010 22:11:18 +0000 (15:11 -0700)]
Looper: use pthread_once for TLS key initialization.

Also fix a Valgrind complaint by zeroing out the entire epoll event
struct since otherwise the data field union would be partly
uninitialized (but not in a harmful way).

Change-Id: I2091ce517e87fcad7c9caf90e2c5e4854a7ca465

13 years agoMerge "This log message is codec specific." into gingerbread
Andreas Huber [Tue, 21 Sep 2010 22:17:04 +0000 (15:17 -0700)]
Merge "This log message is codec specific." into gingerbread

13 years agoMerge "Remove stagefright foundation's incompatible logging interface and update...
Andreas Huber [Tue, 21 Sep 2010 22:14:43 +0000 (15:14 -0700)]
Merge "Remove stagefright foundation's incompatible logging interface and update callsites." into gingerbread

13 years agoDecrease sensitivity of orientation changes a bit.
Steve Howard [Tue, 21 Sep 2010 22:13:39 +0000 (15:13 -0700)]
Decrease sensitivity of orientation changes a bit.

I've noticed over the past couple weeks that my phone was flipping to
landscape when I placed it down too often, more like it did in Eclair.
I think my previous changes to make orientation changes quicker were a
bit too aggressive, so I'm backing off a couple of the time constants.

Change-Id: Ifffd45ac934984cc9091da56958bc2b6bcaa280a

13 years agoRemove stagefright foundation's incompatible logging interface and update callsites.
Andreas Huber [Tue, 21 Sep 2010 20:13:15 +0000 (13:13 -0700)]
Remove stagefright foundation's incompatible logging interface and update callsites.

Change-Id: I45fba7d60530ea0f233ac3695a97306b6dc1795c

13 years agoFix issue 2913071.
Eric Laurent [Tue, 21 Sep 2010 21:52:01 +0000 (14:52 -0700)]
Fix issue 2913071.

Scale audio signal during capture according to peak level so that
returned values on 8 bits contain enough information even for weak
signals.

Also do not reject requests to enable/disable the visualizer if we are
already in the requested state.

Change-Id: I07a705619764350834e61f82d161761eab688747

13 years agoThis log message is codec specific.
Andreas Huber [Tue, 21 Sep 2010 22:08:52 +0000 (15:08 -0700)]
This log message is codec specific.

Change-Id: I603ae7bd13b186a6df0a26ea9abe073e89276caf

13 years agoMerge "Add image creator helper script for OBBs" into gingerbread
Kenny Root [Tue, 21 Sep 2010 22:00:30 +0000 (15:00 -0700)]
Merge "Add image creator helper script for OBBs" into gingerbread

13 years agoMerge "Un-@hide ability to download without a running notification." into gingerbread
Steve Howard [Tue, 21 Sep 2010 21:58:05 +0000 (14:58 -0700)]
Merge "Un-@hide ability to download without a running notification." into gingerbread

13 years agoUn-@hide ability to download without a running notification.
Steve Howard [Tue, 21 Sep 2010 21:18:19 +0000 (14:18 -0700)]
Un-@hide ability to download without a running notification.

Change-Id: Iaf4d86f05e1f98a894a480d7e2e0ecabb42116c4

13 years agoMerge "Add mdpi text select anchor asset" into gingerbread
Adam Powell [Tue, 21 Sep 2010 21:04:13 +0000 (14:04 -0700)]
Merge "Add mdpi text select anchor asset" into gingerbread

13 years agoMerge "DO NOT MERGE Tweaked EdgeGlow to better match user expectations." into gingerbread
Mindy Pereira [Tue, 21 Sep 2010 21:04:00 +0000 (14:04 -0700)]
Merge "DO NOT MERGE Tweaked EdgeGlow to better match user expectations." into gingerbread

13 years agoMerge "do not merge" into gingerbread
Chet Haase [Tue, 21 Sep 2010 20:42:56 +0000 (13:42 -0700)]
Merge "do not merge" into gingerbread

13 years agoDO NOT MERGE Tweaked EdgeGlow to better match user expectations.
Mindy Pereira [Mon, 20 Sep 2010 16:12:41 +0000 (09:12 -0700)]
DO NOT MERGE Tweaked EdgeGlow to better match user expectations.

Change-Id: I7864dd4d3e15a9dc11429d5d3268f9b078f3eaad
Constants updated to match user testing.
Recede no longer flashes out but degrades all the way to zero.
Growth of the absorb flash is now quadratic as this better
matches the "physics" of the user flicking the list.
Size of the pull and absorb graphics changed to give the user
a more dramatic indication of what has happened.

13 years agodo not merge
Chet Haase [Tue, 21 Sep 2010 17:55:42 +0000 (10:55 -0700)]
do not merge

updated assets: pull-my-thumb/unlock (partially complete), 3g status, expander_ic_min/max changes

Change-Id: I1cb4601ec7eb2da7689fa58cb56c294f786ea4e6

13 years agoMerge "Support for download manager "queue for wifi" dialogs" into gingerbread
Steve Howard [Tue, 21 Sep 2010 19:49:36 +0000 (12:49 -0700)]
Merge "Support for download manager "queue for wifi" dialogs" into gingerbread