Commit Graph

3605 Commits

Author SHA1 Message Date
Mathias Agopian
cf70e3301b second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:44:13 -07:00
Mathias Agopian
5221271375 second take, hopefully this time it doesn't break one of the builds: "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything." 2009-08-11 23:32:29 -07:00
Android (Google) Code Review
40ef81c7fc Merge change 20905
* changes:
  git rid of the "x" prefixes for test
2009-08-11 22:19:14 -07:00
Android (Google) Code Review
45d0e23300 Merge change 20898
* changes:
  The triumphant return of the shell scripts, with bugreports, less code dup, and enhanced readability.
2009-08-11 22:16:20 -07:00
Android (Google) Code Review
d2a6788876 Merge change 20893
* changes:
  show that we need to glClear to be fast(er)
2009-08-11 20:51:07 -07:00
Android (Google) Code Review
8717ff585e Merge change 20892
* changes:
  Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
2009-08-11 20:50:32 -07:00
Mathias Agopian
6c06ffc6d0 show that we need to glClear to be fast(er) 2009-08-11 20:50:20 -07:00
Fred Quintana
b2fd4665e6 Revert "SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything."
This reverts commit 8b76a0ac6fbf07254629ed1ea86af014d5abe050.
2009-08-11 20:49:35 -07:00
Android (Google) Code Review
511449b5b9 Merge change 20887
* changes:
  option to use drawtexture at compile time
2009-08-11 20:12:43 -07:00
Mathias Agopian
687bea2359 option to use drawtexture at compile time 2009-08-11 20:12:18 -07:00
Android (Google) Code Review
27a0fa8746 Merge change 20700
* changes:
  add gservices setting for switching sync subscriptions to use a new routing info.
2009-08-11 20:06:53 -07:00
Android (Google) Code Review
f2c6fe29bb Merge change 20878 into donut
* changes:
  Fix issue #2048263: More debugging information
2009-08-11 19:58:36 -07:00
Android (Google) Code Review
8b578ec89d Merge change 20885
* changes:
  fix and extend the filter test a bit
2009-08-11 19:55:51 -07:00
Mathias Agopian
cba73d3210 fix and extend the filter test a bit 2009-08-11 19:55:31 -07:00
Dianne Hackborn
e868513287 Fix issue #2048263: More debugging information
We now hopefully do better about generating the anr reports, and include
information about the malloc loaded assets in meminfo.
2009-08-11 18:56:41 -07:00
Grace Kloba
01b5351858 am c8ddd37a: (-s ours) Merge change 20779 into donut
Merge commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143'

* commit 'c8ddd37aa0f16540f48b1c4170fbb23d6eb03143':
  DO NOT MERGE. This is merged from master.
2009-08-11 18:12:34 -07:00
Hung-ying Tyan
10d2991a66 am 7b98b666: Merge change 20738 into donut
Merge commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7'

* commit '7b98b666ec465259c676c90cb12f3d1b4e1c7cf7':
  Fix a bug in getSocketError() in VpnService.
2009-08-11 18:12:11 -07:00
Hung-ying Tyan
7b3be599ea am c22e0c80: Merge change 20719 into donut
Merge commit 'c22e0c8012828474e8aa2e29b441ef02728b0842'

* commit 'c22e0c8012828474e8aa2e29b441ef02728b0842':
  Fix order of setting/saving state in VpnService.
2009-08-11 18:12:07 -07:00
Wu-cheng Li
36689be94a am cb2b2378: Merge change 20729 into donut
Merge commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90'

* commit 'cb2b2378c735e687c15e2af7f908c68ffae5fe90':
  Fix the bug that EXIF attributes are always cached.
2009-08-11 18:12:00 -07:00
Karl Rosaen
b62e4afaed am abf44279: Fix NPE in SearchDialog (and thereby fix bug 2045398).
Merge commit 'abf44279add64c6f22a40592895225779b8481ea'

* commit 'abf44279add64c6f22a40592895225779b8481ea':
  Fix NPE in SearchDialog (and thereby fix bug 2045398).
2009-08-11 18:11:40 -07:00
Mike LeBeau
18e2c1c192 am 021fa3fa: Merge change 20665 into donut
Merge commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953'

* commit '021fa3fa6fe88c33ad11a3139ebcd3a5be8eb953':
  First update of SearchManager docs to reflect the new Donut Quick Search Box feature.
2009-08-11 18:11:28 -07:00
Jean-Michel Trivi
783a69a675 am 1e1b6b72: Merge change 20514 into donut
Merge commit '1e1b6b7245a0a9212aa3b0366e7919f114895306'

* commit '1e1b6b7245a0a9212aa3b0366e7919f114895306':
  Fix bug 2022435.
2009-08-11 18:11:19 -07:00
Android (Google) Code Review
19e323aa5c Merge change 20865
* changes:
  Fix the build
2009-08-11 17:49:30 -07:00
Android (Google) Code Review
afde41d163 Merge change 20858
* changes:
  Don't let bmgr leave a restore session hanging on error
2009-08-11 17:28:49 -07:00
Mathias Agopian
df37b62c62 SurfaceFlinger will now allocate buffers based on the usage specified by the clients. This allows to allocate the right kind of buffer automatically, without having the user to specify anything.
This change makes SurfaceHolder.setType(GPU) obsolete (it's now ignored).
Added an API to android_native_window_t to allow extending the functionality without ever breaking binary compatibility. This is used to implement the new set_usage() API. This API needs to be called by software renderers because the default is to use usage flags suitable for h/w.
2009-08-11 16:12:56 -07:00
Android (Google) Code Review
012bb4d4e5 Merge change 20673 into donut
* changes:
  Fix bug 2043140. A race condition is encountered when an application invokes shutdown() on its TextToSpeech object while is has speak() requests still running. Since the TTS service destructor releases the synthesizer resources and sets the corresponding synth reference to null, an NPE was observed. The fix consists in catching NPEs whenever the sNativeSynth object is accessed, and return the matching error for the call. This change is a "low risk" version of the fix for bug 2025765i (same issue) which was reverted because it was higher risk than this CL: it affected the logic of each call to sNativeSynth. This CL only sets an error code when an NPE is fired because sNativeSynth is null.
2009-08-11 15:18:29 -07:00
Android (Google) Code Review
90a23aa50a Merge change 20806 into donut
* changes:
  Remove flaky auto complete tests from continuous.
2009-08-11 14:45:08 -07:00
Android (Google) Code Review
d779f052b4 Merge change 20812
* changes:
  Fix possible exception in default live wallpaper
2009-08-11 14:43:02 -07:00
Android (Google) Code Review
5057318ead Merge change 20788
* changes:
  make private inner classes static
2009-08-11 14:04:32 -07:00
Android (Google) Code Review
52655f6322 Merge change 20775
* changes:
  Fixes #2021442. Prevent app widgets from clobbering Home's view ids.
2009-08-11 14:01:18 -07:00
Android (Google) Code Review
7e78445103 Merge change 20768 into donut
* changes:
  Docs only change: finish documentation of Android Quick Search Box related information in SearchManager.
2009-08-11 13:58:59 -07:00
Jean-Baptiste Queru
4328f07b84 Merge snapshot version of donut back into main tree 2009-08-11 13:32:28 -07:00
Android (Google) Code Review
1b3288b726 Merge change 20781
* changes:
  replace 'new String()' with ""
2009-08-11 13:14:16 -07:00
Jean-Baptiste Queru
64814e5c25 donut snapshot 2009-08-11 13:12:34 -07:00
Android (Google) Code Review
b57ee9e0f0 Merge change 20713 into donut
* changes:
  Updated preloaded-classes file.
2009-08-11 12:48:36 -07:00
Android (Google) Code Review
328357bf69 Merge change 20779 into donut
* changes:
  DO NOT MERGE. This is merged from master. Fix couple of bugs in the meminfo report.  . added the new "/data/dalvik-cache/" to dalvik heap  . shortened the starting line's length from 40 to 30 to handle the case where there is no name  . fixed the pri/shared for others. It was swapped.
2009-08-11 12:47:36 -07:00
Android (Google) Code Review
15d4c4ecd4 Merge change 20683
* changes:
  Add operator name in network selection.
2009-08-11 12:07:16 -07:00
Android (Google) Code Review
6da2503c44 Merge change 8575
* changes:
  Support INSTALL_DRM permission
2009-08-11 11:31:34 -07:00
Android (Google) Code Review
6a361723ad Merge change 20750
* changes:
  remove unused locals
2009-08-11 10:55:24 -07:00
Android (Google) Code Review
107aeb448b Merge change 20739
* changes:
  Fix issue 2045983 ToneGenerator: fix void statement.
2009-08-11 10:18:07 -07:00
Android (Google) Code Review
d30f8b3392 Merge change 20663
* changes:
  Update getNumberFromIntent() to read from both providers.
2009-08-11 10:11:31 -07:00
Android (Google) Code Review
e045928086 Merge change 20738 into donut
* changes:
  Fix a bug in getSocketError() in VpnService.
2009-08-11 10:01:18 -07:00
Android (Google) Code Review
4c1fc64a3e Merge change 20719 into donut
* changes:
  Fix order of setting/saving state in VpnService.
2009-08-11 09:44:26 -07:00
Eric Laurent
f5aba82cb7 Fix issue 2046140: master: media_server crash when powering down A2DP headset while a ringtone is playing.
This is because the AudioFlinger duplicating thread is closed while the output tracks are still active. This cause the output tracks objects to be destroyed at a time where they can be in use by the destination output mixer.

The fix consists in adding the OutputTrack to the track list (mTracks) of its destination thread so that a strong reference is help during the mixer processed and the track is detroyed only when safe by destination thread.

Also added detection of problems when creating the output track (e.g. no more tracks in mixer). In this case the output track is not added to output track list of duplicating thread.
2009-08-11 09:43:09 -07:00
Eric Laurent
9e7b81943b Fix issue 2043314: Recorded audio is choppy.
Fixed cut/paste error causing constant reset of current frame index in input buffer.
2009-08-11 09:07:44 -07:00
Android (Google) Code Review
b61bc0c19e Merge change 20729 into donut
* changes:
  Fix the bug that EXIF attributes are always cached.
2009-08-11 08:54:10 -07:00
Android (Google) Code Review
0ecc6d9232 Merge change 20632
* changes:
  call super.finalize() from WebView
2009-08-11 08:17:43 -07:00
Eric Laurent
454409cb1b resolved conflicts for merge of 8af63bc9 to master 2009-08-11 00:01:01 -07:00
Android (Google) Code Review
544542bbb9 Merge change 20699
* changes:
  enable HW acceleration for the Dim Surface on 8k devices
2009-08-10 21:22:00 -07:00
Mathias Agopian
af0b0f09bb enable HW acceleration for the Dim Surface on 8k devices 2009-08-10 21:13:06 -07:00