Commit Graph

5166 Commits

Author SHA1 Message Date
Dave Sparks
23c21baf27 Hold a lock while we access the preview heap.
copyFrameAndPostCopiedFrame was not holding a lock while it accessed
the preview heap. If the client process is torn down while the heap
is accessed, the memcpy could access memory that was deallocated.

This patch creates a local sp reference to the preview heap while
holding the lock, then releases the lock. This should prevent the
heap from being pulled out from underneath us.
2009-11-06 11:47:13 -08:00
Android (Google) Code Review
c47c0789be Merge change I44d4cbec into eclair
* changes:
  Fix some SMS encode issues.
2009-11-06 03:07:01 -05:00
Android (Google) Code Review
91af123791 Merge change Ic9568e39 into eclair
* changes:
  When tasks are moved to top or bottom, the app tokens are being rearranged. The window token rearrangement is defered if an animation is underway. Force a focus recomputation when the window tokens are finally rearranged so that we have a valid focused window.
2009-11-06 02:12:40 -05:00
Android (Google) Code Review
b472673929 Merge change I971f6fd3 into eclair
* changes:
  Improve GLSurfaceView to avoid deadlocks and race conditions.
2009-11-06 01:23:52 -05:00
Android (Google) Code Review
2f88725b51 Merge change Ie71d9e42 into eclair
* changes:
  Another test for StatusBar test.
2009-11-05 22:20:02 -05:00
Android (Google) Code Review
ae34e5b744 Merge change I2c6e54e4 into eclair
* changes:
  Throttle proximity sensor values so we do not process more than one change a second.
2009-11-05 20:29:54 -05:00
Android (Google) Code Review
d3fa28d41e Merge change Id0267cc0 into eclair
* changes:
  Add needsOtaServiceProvisioning and used to not allow data calls until the device is provisioned.
2009-11-05 19:25:11 -05:00
Android (Google) Code Review
cfb74fc818 Merge change I4b03c2cd into eclair
* changes:
  Add windows media support check in MediaMetadataTest.java and MediaPlayerApiTest.java
2009-11-05 19:15:56 -05:00
Android (Google) Code Review
d4f7b8bb60 Merge change I1dc2ae28 into eclair
* changes:
  Fix bug 2242585 to unhide the new audio recording sources. Unhide CAMCORDER and VOICE_RECOGNITION in android.media.MediaRecorder
2009-11-05 19:03:09 -05:00
Android (Google) Code Review
653e129a82 Merge change Idf40f3b0 into eclair
* changes:
  Prevent crash in Home when using widgets whose ids collide with Home's resources.
2009-11-05 18:42:14 -05:00
Romain Guy
471afca7fc Prevent crash in Home when using widgets whose ids collide with Home's
resources.

Bug #2228943.

Approved by mcleron, triaged by ryanpc.

Change-Id: Idf40f3b09502ae5d0d3b9a6a72c265a2de2ffca2
2009-11-05 15:40:35 -08:00
Android (Google) Code Review
b12789a828 Merge change I0e27b5ca into eclair
* changes:
  Fix texture upload bug for narrow texture of less than 32bpp.
2009-11-05 17:39:56 -05:00
Android (Google) Code Review
d0e907b258 Merge change I21d0dca3 into eclair
* changes:
  Add BMW kits made by Motorola PCS to autoblack list for Bluetooth.
2009-11-05 17:15:51 -05:00
Android (Google) Code Review
cc4a63efab Merge change Ie80e2381 into eclair
* changes:
  DO NOT MERGE: Squashed commit of the following:
2009-11-05 16:50:34 -05:00
Android (Google) Code Review
cfe0ef2427 Merge change I14fb81af into eclair
* changes:
  Fix for 2221718: Hang in BatteryStatsService.noteBluetoothOn
2009-11-05 16:08:40 -05:00
Android (Google) Code Review
6b248dfea7 Merge change Ia4eedace into eclair
* changes:
  Now that UseBuffer on this component is fixed, let's use it.
2009-11-05 16:01:50 -05:00
Android (Google) Code Review
b8f8446c46 Merge change Id1458b01 into eclair
* changes:
  New live wallpaper API to expose author and description strings.
2009-11-05 15:53:25 -05:00
Android (Google) Code Review
7919cd02fa Merge change I48cbd0bc into eclair
* changes:
  remove the SubscribedFeedsProvider since it has been moved to vendor/google
2009-11-05 14:15:54 -05:00
Android (Google) Code Review
a868f443a4 Merge change I93f500a5 into eclair
* changes:
  Fix issue 2203561: Sholes: audio playing out of earpiece.
2009-11-05 02:55:26 -05:00
Android (Google) Code Review
d9f4705d89 Merge change I09282f5b into eclair
* changes:
  Fix the build (hopefully.)
2009-11-04 21:33:27 -05:00
Android (Google) Code Review
5132bf73d4 Merge change I9490271c into eclair
* changes:
  Add BluetoothDevice to SDK AIDL list.
2009-11-04 20:32:00 -05:00
Android (Google) Code Review
d8e35f8a4c Merge change I4499ad72 into eclair
* changes:
  Fix bad merge fixes build breakage.
2009-11-04 20:27:11 -05:00
Android (Google) Code Review
e9dab9cf84 Merge change I3bbfb4f9 into eclair
* changes:
  Remove unused field and add new API to control the children drawing order.
2009-11-04 19:58:00 -05:00
Android (Google) Code Review
9eaa8e4623 Merge change I76127f6f into eclair
* changes:
  Add support for colored LED on jogball backlight.
2009-11-04 19:39:29 -05:00
Ying Wang
1d7f986a53 am e33044ea: (-s ours) Merge change Ib9cc041e into eclair-sdk
Merge commit 'e33044eadfa9969e71e50d1aff165cbc436b13f3' into eclair

* commit 'e33044eadfa9969e71e50d1aff165cbc436b13f3':
  Explicitly specify that online-sdk depends on framework-res. (do not merge)
2009-11-04 16:18:04 -08:00
Android (Google) Code Review
6cf97a3181 Merge change Ib9cc041e into eclair-sdk
* changes:
  Explicitly specify that online-sdk depends on framework-res. (do not merge)
2009-11-04 19:08:59 -05:00
Android (Google) Code Review
cb9b6328dc Merge change I561011bc into eclair
* changes:
  Fix #2176803 - restores from userdebug to user builds not working
2009-11-04 18:52:27 -05:00
Android (Google) Code Review
a099bb7b0d Merge change I2867746d into eclair
* changes:
  When a thread is about to be put back onto the thread pool ensure that it is in the foreground cgroup.
2009-11-04 17:54:00 -05:00
Mathias Agopian
8b6b95abae part of fix [2186418] switch passion to 24-bits framebuffer
add support for RGBX_8888 EGLConfigs in the software renderer
(since that's what we're using in the MDP case)
2009-11-04 14:51:18 -08:00
Jason Parks
b5c4135333 When a thread is about to be put back onto the thread pool ensure that it is in the foreground cgroup. 2009-11-04 14:25:26 -08:00
Dirk Dougherty
08fdbc5e9c am 00e44ef2: Merge change I54545dfd into eclair-sdk
Merge commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4' into eclair

* commit '00e44ef21777f32b67a8d51ee375cd290a3fb2d4':
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
2009-11-04 14:12:29 -08:00
Android (Google) Code Review
59ddfd5c91 Merge change I54545dfd into eclair-sdk
* changes:
  doc change: fix broken R.styleable formatting (caused by missing periods). Adjust table markup.
2009-11-04 17:04:41 -05:00
Android (Google) Code Review
d5bee93431 Merge change Ibbf945f3 into eclair
* changes:
  fix [2236832] software OpenGL ES driver doesn't work on sholes
2009-11-04 15:45:39 -05:00
Android (Google) Code Review
495560eab9 Merge change Iefd4a388 into eclair
* changes:
  Suppress flaky test AppCacheTest#testFreeApplicationCacheSomeFiles
2009-11-04 14:56:14 -05:00
Android (Google) Code Review
a605297897 Merge change I6869df3a into eclair
* changes:
  Add new audio sources to support the A1026 recording configurations.
2009-11-04 11:49:25 -05:00
Mathias Agopian
bc4929117d fix [2236832] software OpenGL ES driver doesn't work on sholes
make sure to not pass our fake handles to the real gralloc
2009-11-03 21:08:06 -08:00
Android (Google) Code Review
009248d978 Merge change I7a824efc into eclair
* changes:
  Support applications changing the surface attached to the RS.
2009-11-03 18:56:03 -05:00
Android (Google) Code Review
2b8a4149c3 Merge changes Idcdd2978,Ied564b31,I6179126d into eclair
* changes:
  Fix 2233444 (No IME).
  Revert "Revert "Fix notification bar performance.""
  Revert "Revert "fix 2233092 - Notification shade gets stuck half-open""
2009-11-03 18:20:25 -05:00
Android (Google) Code Review
33e18e4ec7 Merge change I56981989 into eclair
* changes:
  fix [2231527] Compatibility with SpaceJunk game (OpenGL)
2009-11-03 18:04:49 -05:00
Android (Google) Code Review
3746610622 Merge change I9d5e03db into eclair
* changes:
  Fix RS bugs.  We were holding a pointer to the script text from the java vm. Move freeing of objects to before context teardown to allow allocations to clean up their data.
2009-11-03 16:56:31 -05:00
Android (Google) Code Review
f19995856d Merge change If2fdad3b into eclair
* changes:
  Add a warning when we leave threads in the binder thread pool in the background scheduling group.
2009-11-03 16:29:22 -05:00
Jason Parks
dcd3958c50 Add a warning when we leave threads in the binder thread pool in the background scheduling group. 2009-11-03 13:10:15 -08:00
Android (Google) Code Review
767d73d9f2 Merge change I96444af2 into eclair
* changes:
  Unhide View.isOpaque().
2009-11-03 15:10:21 -05:00
Android (Google) Code Review
4ab2e192d1 Merge change Id2906ad8 into eclair
* changes:
  Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.
2009-11-03 14:53:02 -05:00
Android (Google) Code Review
4330612eb6 Merge change Ia86f2849 into eclair
* changes:
  Fix layoutlib tests so they pas when run from Eclipse workbench.
2009-11-03 14:29:39 -05:00
Android (Google) Code Review
37d05664f1 Merge change I0fae86b8 into eclair
* changes:
  Make QuickContact styles public.
2009-11-03 13:58:03 -05:00
Android (Google) Code Review
9ff80058a6 Merge change I60bed5d3 into eclair
* changes:
  Log for issue 2203561.
2009-11-03 13:23:55 -05:00
Eric Laurent
7f698b4c5c Log for issue 2203561.
Implemented AudioPolicyService dump().
Added detailed dump for AudioPolicyManageriGeneric when AudioPolicyService is dumped.
2009-11-03 09:33:35 -08:00
Android (Google) Code Review
f29a0aa698 Merge changes I116424c4,Ibd0ef67f into eclair
* changes:
  Remove obsolete hardware auto-brightness support.
  Add documentation for proximity and light sensors.
2009-11-03 12:32:04 -05:00
Mathias Agopian
b44efdc6ba fix [2231527] Compatibility with SpaceJunk game (OpenGL)
we treated all lights as local lights when transforming their
position back to object space.
2009-11-02 18:33:08 -08:00