OSDN Git Service

android-x86/frameworks-native.git
14 years agoMerge change Ibd5b099c into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 01:42:19 +0000 (17:42 -0800)]
Merge change Ibd5b099c into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change I18e02606 into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 01:31:21 +0000 (17:31 -0800)]
Merge change I18e02606 into eclair

* changes:
  fix some aspects of [2258746] native crash in launcher2

14 years agoMerge change Id6c0b844 into eclair
Android (Google) Code Review [Sat, 14 Nov 2009 01:00:44 +0000 (17:00 -0800)]
Merge change Id6c0b844 into eclair

* changes:
  Unbreak setting photos as wallpaper

14 years agoMerge change I7082e366 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:42:31 +0000 (15:42 -0800)]
Merge change I7082e366 into eclair

* changes:
  Properly implement Paint.breakText for layoutlib.

14 years agofix some aspects of [2258746] native crash in launcher2
Mathias Agopian [Fri, 13 Nov 2009 23:26:29 +0000 (15:26 -0800)]
fix some aspects of [2258746] native crash in launcher2

Surface::validate() could sometimes dereference a null pointer before checking it wasn't null.
This will prevent the application to crash when given bad parameters or used incorrectly.
However, the bug above probably has another cause.

14 years agoMerge change I0e419fcf into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 23:17:59 +0000 (15:17 -0800)]
Merge change I0e419fcf into eclair

* changes:
  Add isScreenOn() to LocalPowerManager interface so we can call it from PhoneWindowManager

14 years agoMerge change I98f82b9a into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 22:51:00 +0000 (14:51 -0800)]
Merge change I98f82b9a into eclair

* changes:
  Fix the full-weekday date format strings to actually use the full weekday.

14 years agoMerge change I4898b145 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 21:39:01 +0000 (13:39 -0800)]
Merge change I4898b145 into eclair

* changes:
  Removed the fixed height in the sim unlock screen's header.

14 years agoMerge change I4c05ba1f into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 20:06:29 +0000 (12:06 -0800)]
Merge change I4c05ba1f into eclair

* changes:
  Update VCardComposer getOwnerPhoneNumberVcard() to support empty vcard for 0.vcf

14 years agoMerge change I322b6ee7 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 19:01:57 +0000 (11:01 -0800)]
Merge change I322b6ee7 into eclair

* changes:
  Add support for making a LiveWallpaper the default

14 years agoam dbc7e27e: docs: document the \'showSearchIconAsBadge" flag and "icon" attribute...
Scott Main [Fri, 13 Nov 2009 18:45:32 +0000 (10:45 -0800)]
am dbc7e27e: docs: document the \'showSearchIconAsBadge" flag and "icon" attribute as deprecated. bug 2105329

Merge commit 'dbc7e27ef10349f11ac940d59ff4f812319fce51' into eclair

* commit 'dbc7e27ef10349f11ac940d59ff4f812319fce51':
  docs: document the 'showSearchIconAsBadge" flag and

14 years agoMerge change Ifb28d340 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 18:13:42 +0000 (10:13 -0800)]
Merge change Ifb28d340 into eclair

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Iad79689a into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 06:53:28 +0000 (22:53 -0800)]
Merge change Iad79689a into eclair

* changes:
  Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes

14 years agoMerge change I923d7d72 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 06:45:50 +0000 (22:45 -0800)]
Merge change I923d7d72 into eclair

* changes:
  Fix issue 2242614: Wired headset not recognized: bogus "state" in ACTION_HEADSET_PLUG broadcast.

14 years agoMerge change Ia0a40883 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 05:29:13 +0000 (21:29 -0800)]
Merge change Ia0a40883 into eclair

* changes:
  Modify the binder to request 1M - 2 pages instead of 1M.  The backing store in the kernel requires a guard page, so 1M allocations fragment memory very badly.  Subtracting a couple of pages so that they fit in a power of two allows the kernel to make more efficient use of its virtual address space.

14 years agoMerge change I8061e6ac into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 02:51:35 +0000 (18:51 -0800)]
Merge change I8061e6ac into eclair

* changes:
  Fix 2209086: Updated assets and fixed widget dimension calculation.

14 years agoMerge change I42a0f7a5 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 01:51:26 +0000 (17:51 -0800)]
Merge change I42a0f7a5 into eclair

* changes:
  PackageManager: Support secondary ABI for native code at installation time.

14 years agoModify the binder to request 1M - 2 pages instead of 1M. The backing store
Rebecca Schultz Zavin [Sat, 31 Oct 2009 01:39:55 +0000 (18:39 -0700)]
Modify the binder to request 1M - 2 pages instead of 1M.  The backing store
in the kernel requires a guard page, so 1M allocations fragment memory very
badly.  Subtracting a couple of pages so that they fit in a power of
two allows the kernel to make more efficient use of its virtual address space.

Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agoMerge change Ieb4b0318 into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 00:29:26 +0000 (16:29 -0800)]
Merge change Ieb4b0318 into eclair

* changes:
  Make default vertex program correctly track surface size.

14 years agoMerge change Idfc116fe into eclair
Android (Google) Code Review [Fri, 13 Nov 2009 00:10:10 +0000 (16:10 -0800)]
Merge change Idfc116fe into eclair

* changes:
  Return null if SIM doesn't have the MSISDN Aplha tag.

14 years agoMerge change Icf335098 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:36:27 +0000 (15:36 -0800)]
Merge change Icf335098 into eclair

* changes:
  fix [2236865] STOPSHIP: bump soft gl and egl minor version number

14 years agoMerge change I81b1421a into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:27:28 +0000 (15:27 -0800)]
Merge change I81b1421a into eclair

* changes:
  Defer EGL init until the surface changed call comes in.  Pass w,h along with surface for verification of driver state.

14 years agofix [2236865] STOPSHIP: bump soft gl and egl minor version number
Mathias Agopian [Thu, 12 Nov 2009 23:19:42 +0000 (15:19 -0800)]
fix [2236865] STOPSHIP: bump soft gl and egl minor version number

14 years agoMerge change Ie122606f into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 23:12:08 +0000 (15:12 -0800)]
Merge change Ie122606f into eclair

* changes:
  Add code to use Gservices provided values for throtting NITZ updates.

14 years agoMerge change I31c52bef into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:37:30 +0000 (13:37 -0800)]
Merge change I31c52bef into eclair

* changes:
  Revert change incorrectly submitted as part of change #32153.

14 years agoMerge change I90daccf3 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:25:36 +0000 (13:25 -0800)]
Merge change I90daccf3 into eclair

* changes:
  fix [2143798] Need to figure out how to do video on Passion w/ GPU

14 years agoMerge change Ic31c11ad into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 21:13:58 +0000 (13:13 -0800)]
Merge change Ic31c11ad into eclair

* changes:
  Fix 2209086: restore drawable states when drawables change.

14 years agoMerge change Id301a47f into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 20:54:43 +0000 (12:54 -0800)]
Merge change Id301a47f into eclair

* changes:
  Fix bug 2253204: MapView resources for hdpi devices.

14 years agoMerge change I54089080 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 18:34:32 +0000 (10:34 -0800)]
Merge change I54089080 into eclair

* changes:
  Update keyguard and pattern-lock layouts for new UX designs.

14 years agoMerge change I880541a8 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 17:53:09 +0000 (09:53 -0800)]
Merge change I880541a8 into eclair

* changes:
  Delegate the platform dependent hardware renderer implementation to a shared library provided by the vendor.

14 years agoMerge change I5ae73af7 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 17:52:10 +0000 (09:52 -0800)]
Merge change I5ae73af7 into eclair

* changes:
  Don't back up system wallpapers.

14 years agoMerge change I738ed802 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:27:03 +0000 (23:27 -0800)]
Merge change I738ed802 into eclair

* changes:
  Fix BMW and Audi auto pairing lists.

14 years agoMerge change I32371166 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:10:06 +0000 (23:10 -0800)]
Merge change I32371166 into eclair

* changes:
  Fix issue #2239203: Setting large background causes OOME and soft-reboot spiral

14 years agoMerge change I9890c2d4 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 07:04:47 +0000 (23:04 -0800)]
Merge change I9890c2d4 into eclair

* changes:
  Fix 2209086: Fix landscape layout of LockScreen on devices with a keyboard

14 years agoMerge change I143ea844 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 06:46:49 +0000 (22:46 -0800)]
Merge change I143ea844 into eclair

* changes:
  Add BMW and Audi to Auto Pairing black list.

14 years agoMerge change I580de484 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:18:44 +0000 (20:18 -0800)]
Merge change I580de484 into eclair

* changes:
  Fix issue #2256270: Package manager sends bad broadcasts when components change

14 years agoMerge change I3656f7a3 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:11:25 +0000 (20:11 -0800)]
Merge change I3656f7a3 into eclair

* changes:
  Honor the mInitialScale set on WebView. This was lost when we fixed restoring the scale for a new page.

14 years agoMerge change Idc34a3f7 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 04:11:13 +0000 (20:11 -0800)]
Merge change Idc34a3f7 into eclair

* changes:
  Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states. Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.

14 years agoMerge change I80022375 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 03:09:56 +0000 (19:09 -0800)]
Merge change I80022375 into eclair

* changes:
  Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast

14 years agoMerge change Icccbd889 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:52:07 +0000 (18:52 -0800)]
Merge change Icccbd889 into eclair

* changes:
  Fix broken handling of the BACK key in PopupWindow. Needed by Launcher2.

14 years agoMerge change Ifcf20541 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:49:55 +0000 (18:49 -0800)]
Merge change Ifcf20541 into eclair

* changes:
  New Javadoc for ContactsContract.

14 years agoMerge change I775e1ec0 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:16:05 +0000 (18:16 -0800)]
Merge change I775e1ec0 into eclair

* changes:
  Debugging for issue #2250075: Desk dock clock app sometimes doesn't

14 years agoMerge change I7fb3bc59 into eclair
Android (Google) Code Review [Thu, 12 Nov 2009 02:05:12 +0000 (18:05 -0800)]
Merge change I7fb3bc59 into eclair

* changes:
  Add new date formats for the lock screen.

14 years agofix [2143798] Need to figure out how to do video on Passion w/ GPU
Mathias Agopian [Fri, 6 Nov 2009 07:08:00 +0000 (23:08 -0800)]
fix [2143798] Need to figure out how to do video on Passion w/ GPU

This builds on the EGLImage solution. We simply use copybit to convert from the
YUV frame into an EGLImage created for that purpose and proceed with the
regular EGLImage code.
We need to do this because "regular" GL doesn't support YUV textures.

We could improve upon this by detecting exacly what the GL supports and bypass
this extra step if not required, but we'll do this later if needed.

14 years agoMerge change I5975651f into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:37:37 +0000 (15:37 -0800)]
Merge change I5975651f into eclair

* changes:
  Don't feed the timezone to RenderScript time functions, let the library figure it out.

14 years agoMerge change I7b8b6cfb into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:36:18 +0000 (15:36 -0800)]
Merge change I7b8b6cfb into eclair

* changes:
  Do not force screen on when undocking from the desk dock.

14 years agoMerge change Icc48b1e7 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 23:15:55 +0000 (15:15 -0800)]
Merge change Icc48b1e7 into eclair

* changes:
  don't request a sync when temp providers are created

14 years agoMerge change Ibb245ea7 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 22:34:05 +0000 (14:34 -0800)]
Merge change Ibb245ea7 into eclair

* changes:
  Return an empty PluginList instead of null for the deprecated getPluginList() api.

14 years agoMerge change Ia895aa7d into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 22:02:00 +0000 (14:02 -0800)]
Merge change Ia895aa7d into eclair

* changes:
  Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.

14 years agoMerge change I326c1f7e into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 20:46:22 +0000 (12:46 -0800)]
Merge change I326c1f7e into eclair

* changes:
  Throttle nitz updates as the are too numerous on cdma.

14 years agoImprovements for issue 2197683: English IME key-press latency is noticeably higher...
Eric Laurent [Tue, 10 Nov 2009 07:32:22 +0000 (23:32 -0800)]
Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes

This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.

14 years agoMerge change Ia629e0f8 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 19:53:06 +0000 (11:53 -0800)]
Merge change Ia629e0f8 into eclair

* changes:
  Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 : all the parts should have the same encoding.

14 years agoMerge change Idf7fafd3 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 18:54:58 +0000 (10:54 -0800)]
Merge change Idf7fafd3 into eclair

* changes:
  Fix issue #2248951: Need to turn off touch filtering outside of sholes

14 years agoMerge change I5d30aa18 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 07:03:57 +0000 (23:03 -0800)]
Merge change I5d30aa18 into eclair

* changes:
  Make vCard parser invalid lines in vCard file which look like some comment. Do not merge.

14 years agoMerge change I05fd0df0 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 06:29:59 +0000 (22:29 -0800)]
Merge change I05fd0df0 into eclair

* changes:
  Fix potential deadlock in stopPreview/stopRecord.

14 years agoMerge change I4db11d50 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 06:03:20 +0000 (22:03 -0800)]
Merge change I4db11d50 into eclair

* changes:
  Backport the change I30b141a2 from MR2 to MR1. Do not merge.

14 years agoFix potential deadlock in stopPreview/stopRecord.
Dave Sparks [Wed, 11 Nov 2009 01:08:08 +0000 (17:08 -0800)]
Fix potential deadlock in stopPreview/stopRecord.

Some camera HALs spin up a preview thread and need to wait for
the thread to exit. This can create a potential deadlock. In
stopPreview, we take the main lock. If a preview callback occurs
while the lock is held, the preview thread will block. If the
camera HAL is waiting for the preview thread to exit, this will
cause a deadlock.

This patch breaks out the preview buffer heap into a separate
mutex. This mutex is never held when the main lock is held, thus
preventing the deadlock from occuring.

14 years agoMerge change I50986dd4 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 00:53:43 +0000 (16:53 -0800)]
Merge change I50986dd4 into eclair

* changes:
  Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image.

14 years agoMerge change I65208317 into eclair
Android (Google) Code Review [Wed, 11 Nov 2009 00:36:40 +0000 (16:36 -0800)]
Merge change I65208317 into eclair

* changes:
  Update OBEX to fix missing several contact entries issue.

14 years agoMerge change I0de7979b into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 23:27:36 +0000 (15:27 -0800)]
Merge change I0de7979b into eclair

* changes:
  Fix issue #2170897: wallpaper touch-up event not seen when exiting lock screen

14 years agoMerge change Ie806ae6f into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 23:21:28 +0000 (15:21 -0800)]
Merge change Ie806ae6f into eclair

* changes:
  Fix multi-lock ordering issues in GLSurfaceView

14 years agoMerge change I96c4d4b3 into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 20:27:53 +0000 (12:27 -0800)]
Merge change I96c4d4b3 into eclair

* changes:
  Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it.

14 years agoMerge change I83ba96fe into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 18:27:05 +0000 (10:27 -0800)]
Merge change I83ba96fe into eclair

* changes:
  Fix issue #2246723: Only one Application object gets onCreate called

14 years agoMerge change Ic060d86f into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 18:04:40 +0000 (10:04 -0800)]
Merge change Ic060d86f into eclair

* changes:
  Check whether test server is up before running tests which use streaming files.

14 years agoam 88427cff: Merge change Ibcfb7d10 into eclair-sdk
Scott Main [Tue, 10 Nov 2009 17:26:24 +0000 (09:26 -0800)]
am 88427cff: Merge change Ibcfb7d10 into eclair-sdk

Merge commit '88427cff609e668185010af2244500be5823595e' into eclair

* commit '88427cff609e668185010af2244500be5823595e':
  docs: add more documentation for the bluetooth apis.

14 years agoMerge change Ibcfb7d10 into eclair-sdk
Android (Google) Code Review [Tue, 10 Nov 2009 17:21:00 +0000 (09:21 -0800)]
Merge change Ibcfb7d10 into eclair-sdk

* changes:
  docs: add more documentation for the bluetooth apis.

14 years agoam 3a103a87: Merge change I15536f3c into eclair-sdk
Dirk Dougherty [Tue, 10 Nov 2009 17:20:55 +0000 (09:20 -0800)]
am 3a103a87: Merge change I15536f3c into eclair-sdk

Merge commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad' into eclair

* commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad':
  doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.

14 years agoMerge change I15536f3c into eclair-sdk
Android (Google) Code Review [Tue, 10 Nov 2009 17:13:29 +0000 (09:13 -0800)]
Merge change I15536f3c into eclair-sdk

* changes:
  doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.

14 years agoMerge change Idcd98310 into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 12:34:48 +0000 (04:34 -0800)]
Merge change Idcd98310 into eclair

* changes:
  PowerManagerService: enable logging for when mPowerState changes.

14 years agoMerge change Id09376d1 into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 03:32:47 +0000 (19:32 -0800)]
Merge change Id09376d1 into eclair

* changes:
  fix [2071412] work around mdp 32-bits fade limitation

14 years agoMerge change Ie211adae into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 03:31:02 +0000 (19:31 -0800)]
Merge change Ie211adae into eclair

* changes:
  Add a way for wallpapers to know the delta between virtual screens.

14 years agoMerge change I2a4b120c into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 03:02:17 +0000 (19:02 -0800)]
Merge change I2a4b120c into eclair

* changes:
  Add more ringtones. Bug 2219950.

14 years agofix [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Tue, 10 Nov 2009 01:55:59 +0000 (17:55 -0800)]
fix [2071412] work around mdp 32-bits fade limitation

make sure to always specify blits *inside* the source bitmap.

14 years agoMerge change Ib12bcb7f into eclair
Android (Google) Code Review [Tue, 10 Nov 2009 00:52:54 +0000 (16:52 -0800)]
Merge change Ib12bcb7f into eclair

* changes:
  Support for fallback fonts in layoutlib.

14 years agoMerge change I47aa76bf into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 21:46:17 +0000 (13:46 -0800)]
Merge change I47aa76bf into eclair

* changes:
  Add new notifications and ringtones.

14 years agoMerge change I70e1f7a6 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 20:37:22 +0000 (12:37 -0800)]
Merge change I70e1f7a6 into eclair

* changes:
  Fix the selection of locale from SIM mcc.

14 years agoMerge change I73b60354 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 16:53:11 +0000 (08:53 -0800)]
Merge change I73b60354 into eclair

* changes:
  AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.

14 years agoMerge change Icaf932d0 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 16:09:35 +0000 (08:09 -0800)]
Merge change Icaf932d0 into eclair

* changes:
  Fix code example in Parcelable javadoc

14 years agoAudioFlinger: delete Track object when createTrack() fails due to lack of tracks...
Eric Laurent [Mon, 9 Nov 2009 12:45:39 +0000 (04:45 -0800)]
AudioFlinger: delete Track object when createTrack() fails due to lack of tracks in AudioMixer.

This problem was encountered as a side effect of issue 2245298.

14 years agoMerge change Ifb9d6df3 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 06:58:34 +0000 (22:58 -0800)]
Merge change Ifb9d6df3 into eclair

* changes:
  More log for issue 2242381.

14 years agoMerge change Ic42763b1 into eclair
Android (Google) Code Review [Mon, 9 Nov 2009 02:07:14 +0000 (18:07 -0800)]
Merge change Ic42763b1 into eclair

* changes:
  Fix issue #2242440: Window screen brightness attribute is broken

14 years agoMerge change I1bc566a1 into eclair
Android (Google) Code Review [Sun, 8 Nov 2009 23:51:02 +0000 (15:51 -0800)]
Merge change I1bc566a1 into eclair

* changes:
  Ignore the light sensor if the screen is turning off.

14 years agoReset binder service threads' cgroup/priority after command completion
Christopher Tate [Sun, 8 Nov 2009 22:29:02 +0000 (14:29 -0800)]
Reset binder service threads' cgroup/priority after command completion

To prevent buggy command implementations from poisoning binder threads'
scheduling class & priority for future command execution, we now reset the
cgroup and thread priority to foreground/normal when a binder service thread
finishes executing the designated command.

Change-Id: Ibc0ab2485751453f6dc96fdb4eb877fd02796e3f

14 years agoMerge change I32d41651 into eclair
Android (Google) Code Review [Sun, 8 Nov 2009 18:19:59 +0000 (10:19 -0800)]
Merge change I32d41651 into eclair

* changes:
  Allow a GLThread to release and reacquire the EGL Surface as needed.

14 years agoMerge change I62704736 into eclair
Android (Google) Code Review [Sun, 8 Nov 2009 02:11:06 +0000 (18:11 -0800)]
Merge change I62704736 into eclair

* changes:
  Do not apply light sensor debounce logic while the light sensor is still warming up.

14 years agoMore log for issue 2242381.
Eric Laurent [Sat, 7 Nov 2009 08:01:32 +0000 (00:01 -0800)]
More log for issue 2242381.

Added more log in system dump for AudioFlinger and AudioPolicyService to help debug issue 2242381 and other issues where the audio driver hangs.

14 years agoMerge change I47ef4266 into eclair
Android (Google) Code Review [Sat, 7 Nov 2009 06:05:34 +0000 (01:05 -0500)]
Merge change I47ef4266 into eclair

* changes:
  Expose WallpaperSettingsActivity in the public API.

14 years agoMerge change I32ce8591 into eclair
Android (Google) Code Review [Sat, 7 Nov 2009 02:29:56 +0000 (21:29 -0500)]
Merge change I32ce8591 into eclair

* changes:
  Stop scrolling ListView when tapping a clickable item.

14 years agoMerge change I9f3020db into eclair
Android (Google) Code Review [Sat, 7 Nov 2009 01:08:35 +0000 (20:08 -0500)]
Merge change I9f3020db into eclair

* changes:
  fix [2243164] live wallpaper screen artifacts at end of boot

14 years agoMerge change Ia4424950 into eclair
Android (Google) Code Review [Sat, 7 Nov 2009 00:00:54 +0000 (19:00 -0500)]
Merge change Ia4424950 into eclair

* changes:
  Fix stupid bug in GLThreadManager implementation.

14 years agoam 0e08055a: Merge change I14a9acd3 into eclair-sdk
Scott Main [Fri, 6 Nov 2009 23:41:28 +0000 (15:41 -0800)]
am 0e08055a: Merge change I14a9acd3 into eclair-sdk

Merge commit '0e08055aa31c752732005fc48b09ee470a2c4822' into eclair

* commit '0e08055aa31c752732005fc48b09ee470a2c4822':
  docs: add new document for the win usb driver;

14 years agoMerge change Ic8093c11 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 22:03:52 +0000 (17:03 -0500)]
Merge change Ic8093c11 into eclair

* changes:
  Hold a lock while we access the preview heap.

14 years agoMerge change I14a9acd3 into eclair-sdk
Android (Google) Code Review [Fri, 6 Nov 2009 21:57:12 +0000 (16:57 -0500)]
Merge change I14a9acd3 into eclair-sdk

* changes:
  docs: add new document for the win usb driver; remove usb guide from the device document.

14 years agoMerge change Idc1396c8 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 21:56:51 +0000 (16:56 -0500)]
Merge change Idc1396c8 into eclair

* changes:
  Only use FLAG_ACTIVITY_CLEAR_TOP on the search intent when from global search.

14 years agoMerge change Icdd2864e into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 21:23:42 +0000 (16:23 -0500)]
Merge change Icdd2864e into eclair

* changes:
  b/2234854 Fixed Bluetooth API return codes for requesting permission to enable bluetooth

14 years agoMerge change Ie994c0e8 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 20:58:20 +0000 (15:58 -0500)]
Merge change Ie994c0e8 into eclair

* changes:
  Update CdmaSmsTest unit test.

14 years agoMerge change I3f0ded49 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 20:55:52 +0000 (15:55 -0500)]
Merge change I3f0ded49 into eclair

* changes:
  Increase light sensor delay from one to two seconds.

14 years agoMerge change Ibf6e51b7 into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 20:00:31 +0000 (15:00 -0500)]
Merge change Ibf6e51b7 into eclair

* changes:
  Set argv[0] from the main thread of an app, not a random binder thread

14 years agoMerge change I97b30e2f into eclair
Android (Google) Code Review [Fri, 6 Nov 2009 19:49:39 +0000 (14:49 -0500)]
Merge change I97b30e2f into eclair

* changes:
  Revert jparks code from IPCThreadState.

14 years agoHold a lock while we access the preview heap.
Dave Sparks [Fri, 6 Nov 2009 19:47:13 +0000 (11:47 -0800)]
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.