OSDN Git Service

android-x86/frameworks-base.git
14 years agoRevert "Fix notification bar performance."
Android Git Automerger [Tue, 3 Nov 2009 20:26:15 +0000 (12:26 -0800)]
Revert "Fix notification bar performance."

As per Dr. No; revert commit 0d7dc3b800d0489c43ad9071615b2b4ebec80443.

14 years agoMerge change I96444af2 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 20:10:21 +0000 (15:10 -0500)]
Merge change I96444af2 into eclair

* changes:
  Unhide View.isOpaque().

14 years agoUnhide View.isOpaque().
Romain Guy [Tue, 3 Nov 2009 19:57:22 +0000 (11:57 -0800)]
Unhide View.isOpaque().

Change-Id: I96444af2a7e66a330a2c4b3fa0a173ec5ab4ed40

14 years agoMerge change Id2906ad8 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 19:53:02 +0000 (14:53 -0500)]
Merge change Id2906ad8 into eclair

* changes:
  Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.

14 years agoMerge change Ia86f2849 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 19:29:39 +0000 (14:29 -0500)]
Merge change Ia86f2849 into eclair

* changes:
  Fix layoutlib tests so they pas when run from Eclipse workbench.

14 years agoMerge change I0fae86b8 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 18:58:03 +0000 (13:58 -0500)]
Merge change I0fae86b8 into eclair

* changes:
  Make QuickContact styles public.

14 years agoFix layoutlib tests so they pas when run from Eclipse workbench.
Brett Chabot [Tue, 3 Nov 2009 18:31:31 +0000 (10:31 -0800)]
Fix layoutlib tests so they pas when run from Eclipse workbench.

Bug 2222616

14 years agoFix video flickering by propagating the NO_CACHING flag from the master to MemoryHeap...
Andreas Huber [Tue, 3 Nov 2009 18:26:34 +0000 (10:26 -0800)]
Fix video flickering by propagating the NO_CACHING flag from the master to MemoryHeapPMem.

14 years agoMerge change I60bed5d3 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 18:23:55 +0000 (13:23 -0500)]
Merge change I60bed5d3 into eclair

* changes:
  Log for issue 2203561.

14 years agoMake QuickContact styles public.
Evan Millar [Tue, 3 Nov 2009 17:49:43 +0000 (09:49 -0800)]
Make QuickContact styles public.

This should have been done for the 2.0 sdk, but fell through the cracks.
Fortunately this will make it into the 2.1 sdk.

14 years agoLog for issue 2203561.
Eric Laurent [Mon, 2 Nov 2009 18:29:02 +0000 (10:29 -0800)]
Log for issue 2203561.

Implemented AudioPolicyService dump().
Added detailed dump for AudioPolicyManageriGeneric when AudioPolicyService is dumped.

14 years agoMerge changes I116424c4,Ibd0ef67f into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 17:32:04 +0000 (12:32 -0500)]
Merge changes I116424c4,Ibd0ef67f into eclair

* changes:
  Remove obsolete hardware auto-brightness support.
  Add documentation for proximity and light sensors.

14 years agofix 2233092 - Notification shade gets stuck half-open
Joe Onorato [Tue, 3 Nov 2009 17:22:33 +0000 (12:22 -0500)]
fix 2233092 - Notification shade gets stuck half-open

Follow up to bug 2195678.  This was one of the reprocussions that
I was worried about with respect to that bug, so I'm counting
Dr. No on that change as the one for this one.

14 years agoRemove obsolete hardware auto-brightness support.
Mike Lockwood [Tue, 3 Nov 2009 16:41:27 +0000 (11:41 -0500)]
Remove obsolete hardware auto-brightness support.

Change-Id: Ibd0ef67f887254f26ce19faf0627f8b246ec0a18
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd documentation for proximity and light sensors.
Mike Lockwood [Tue, 3 Nov 2009 15:35:43 +0000 (10:35 -0500)]
Add documentation for proximity and light sensors.

Change-Id: I116424c468d1d3afe89e0e17be773ee8b80ada92
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I36d0184e into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 02:26:54 +0000 (21:26 -0500)]
Merge change I36d0184e into eclair

* changes:
  fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video

14 years agoam 671c61d6: Merge change Iaf5d2cc2 into eclair-sdk
Dirk Dougherty [Tue, 3 Nov 2009 02:17:26 +0000 (18:17 -0800)]
am 671c61d6: Merge change Iaf5d2cc2 into eclair-sdk

Merge commit '671c61d66f8d556f206d167d0f3c3bbe037ed86b' into eclair

* commit '671c61d66f8d556f206d167d0f3c3bbe037ed86b':
  doc change: misc doc fixes.

14 years agoMerge change Iaf5d2cc2 into eclair-sdk
Android (Google) Code Review [Tue, 3 Nov 2009 02:05:30 +0000 (21:05 -0500)]
Merge change Iaf5d2cc2 into eclair-sdk

* changes:
  doc change: misc doc fixes.

14 years agofix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when...
Mathias Agopian [Tue, 3 Nov 2009 01:48:33 +0000 (17:48 -0800)]
fix[2228133] pixelflinger ignores the "vertical stride" leading to artifacts when playing back video

we lost the concept of vertical stride when moving video playback to EGLImage.
Here we bring it back in a somewhat hacky-way that will work only for the
softgl/mdp backend.

14 years agoMerge change Ib0036762 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 01:13:20 +0000 (20:13 -0500)]
Merge change Ib0036762 into eclair

* changes:
  Add windows media support check in MediaMetadataRetrieverTest bug 2232274

14 years agoMerge change I43a335c3 into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 01:08:16 +0000 (20:08 -0500)]
Merge change I43a335c3 into eclair

* changes:
  Suppress takePicture test from continuous DO NOT MERGE.

14 years agoMerge change Ic8c7ca7b into eclair
Android (Google) Code Review [Tue, 3 Nov 2009 01:07:11 +0000 (20:07 -0500)]
Merge change Ic8c7ca7b into eclair

* changes:
  Remove testCheckMediaPlaybackHandlesApplicationItunes from continuous.

14 years agolibbinder: MemoryHeapPmem: honor the NO_CACHING flag when creating a client heap
Dima Zavin [Tue, 3 Nov 2009 00:02:43 +0000 (16:02 -0800)]
libbinder: MemoryHeapPmem: honor the NO_CACHING flag when creating a client heap

Change-Id: Ia7beb800f5a24beaa4b7f3032b486d4ed1991b23
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoMerge change I73d6c0f8 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 23:46:04 +0000 (18:46 -0500)]
Merge change I73d6c0f8 into eclair

* changes:
  Add ability to disable sending Photos using Vcard. Do Not Merge

14 years agoMerge change Ic4918c30 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 23:05:55 +0000 (18:05 -0500)]
Merge change Ic4918c30 into eclair

* changes:
  Fix a build break.  Too many branches to keep track of.

14 years agoFix a build break. Too many branches to keep track of.
Jason Sams [Mon, 2 Nov 2009 23:05:04 +0000 (15:05 -0800)]
Fix a build break.  Too many branches to keep track of.

14 years agoMerge change Ibaef6141 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 22:55:43 +0000 (17:55 -0500)]
Merge change Ibaef6141 into eclair

* changes:
  libbinder: add a NO_CACHING flag to MemoryHeapBase

14 years agoMerge change Id095e180 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 22:36:52 +0000 (17:36 -0500)]
Merge change Id095e180 into eclair

* changes:
  Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.

14 years agoMerge change Ib7a6c434 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 22:31:15 +0000 (17:31 -0500)]
Merge change Ib7a6c434 into eclair

* changes:
  Fix some leaks.  This fixes the major malloc memory leak in allApps.  Still tracking some much more minor issues.

14 years agoFix some leaks. This fixes the major malloc memory leak in allApps. Still tracking...
Jason Sams [Mon, 2 Nov 2009 22:25:10 +0000 (14:25 -0800)]
Fix some leaks.  This fixes the major malloc memory leak in allApps.  Still tracking some much more minor issues.

14 years agoMerge change Icbb3aa0a into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 21:58:26 +0000 (16:58 -0500)]
Merge change Icbb3aa0a into eclair

* changes:
  Use setRepeating() rather than setInexactRepeating() for backup scheduling, and add some random fuzz to the scheduling times, to make sure we aren't creating hour-aligned server load spikes.

14 years agoMake sure the visualization stops immediately when sound stops, instead of continuing...
Marco Nelissen [Mon, 2 Nov 2009 21:52:11 +0000 (13:52 -0800)]
Make sure the visualization stops immediately when sound stops, instead of continuing for a fraction of a second.

14 years agoMerge change I0d7dc3b8 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 21:29:31 +0000 (16:29 -0500)]
Merge change I0d7dc3b8 into eclair

* changes:
  Fix notification bar performance.

14 years agoFix notification bar performance.
Joe Onorato [Mon, 2 Nov 2009 21:20:44 +0000 (16:20 -0500)]
Fix notification bar performance.

Bug 2195678

We had all this stuff there to keep the notification view
around so it doesn't need to be reconstructed each time,
and we weren't using it.  This fixes that, and it looks
much better now.

14 years agoMerge change I73680cd9 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 20:34:28 +0000 (15:34 -0500)]
Merge change I73680cd9 into eclair

* changes:
  Fix 2194140: [Passion] Support Audience chip.

14 years agoAdd windows media support check in MediaMetadataRetrieverTest
James Dong [Mon, 2 Nov 2009 20:11:57 +0000 (12:11 -0800)]
Add windows media support check in MediaMetadataRetrieverTest
bug 2232274

14 years agoMerge change Ieca126e6 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 19:42:25 +0000 (14:42 -0500)]
Merge change Ieca126e6 into eclair

* changes:
  Fix problem with proximity sensor not reawaking screen if the values change too quickly.

14 years agoFix problem with proximity sensor not reawaking screen if the values change too quickly.
Mike Lockwood [Mon, 2 Nov 2009 19:17:57 +0000 (14:17 -0500)]
Fix problem with proximity sensor not reawaking screen if the values change too quickly.

The logic that disables user activity while turning off the screen should not affect proximity sensor.

Fixes bug b/2228734 (in-call, prox sensor gets confused)

Change-Id: Ieca126e6f79bf7baa5741981aea72d306ba03edc
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I60413727 into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 18:43:52 +0000 (13:43 -0500)]
Merge change I60413727 into eclair

* changes:
  Fix issue #2226370: Resource versions match with equality

14 years agoFix 2194140: [Passion] Support Audience chip.
Eric Laurent [Mon, 2 Nov 2009 13:31:33 +0000 (05:31 -0800)]
Fix 2194140: [Passion] Support Audience chip.

Added new input device DEVICE_IN_BACK_MIC.
Added new audio source AUDIO_SOURCE_CAMCORDER.

14 years agoMerge change I29bc113c into eclair
Android (Google) Code Review [Mon, 2 Nov 2009 18:05:08 +0000 (13:05 -0500)]
Merge change I29bc113c into eclair

* changes:
  Fix issue 197683: English IME key-press latency is noticeably higher on passion than sholes. Part 2.

14 years agoDo not advance mLastEventTime when enabling or disabling user activity.
Mike Lockwood [Mon, 2 Nov 2009 16:56:04 +0000 (11:56 -0500)]
Do not advance mLastEventTime when enabling or disabling user activity.

Fixes a race condition between the keyguard and power key that sometimes resulted
in the power key failing to turn off the screen.

Fixes bug b/2212852 (Power button does not put phone to sleep)

Change-Id: I92498c5fddf2bfc32b105ea1a7ea14a06d83888e
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix issue 197683: English IME key-press latency is noticeably higher on passion than...
Eric Laurent [Fri, 30 Oct 2009 18:09:39 +0000 (11:09 -0700)]
Fix issue 197683: English IME key-press latency is noticeably higher on passion than sholes. Part 2.

Reduce sleep time in AudioFlinger mixer thread when no data has been written to output to speed up startup time when  exiting standby.

The rest of the modifications for this issues is in kernel driver:
 commit 0dbb0ee136ed8de757df1ae26d84556c1751deae for buffer size modification from 8192 to 4800 bytes.
Another kernel improvement that is not submitted yes will reduce delay when audio output is exiting standby.

14 years agoFix issue #2226370: Resource versions match with equality
Dianne Hackborn [Mon, 2 Nov 2009 05:16:59 +0000 (21:16 -0800)]
Fix issue #2226370: Resource versions match with equality

Also fixed turned-around increment of version number for resources. :(

Change-Id: I604137272da984bcd69cee4f174e6b7f2c786e46

14 years agoAdd warning that hardware auto-brightness is deprecated and will be removed in the...
Mike Lockwood [Sun, 1 Nov 2009 15:05:50 +0000 (10:05 -0500)]
Add warning that hardware auto-brightness is deprecated and will be removed in the next release.

Change-Id: I90eae78f71f377f6479d0aaf7ced38a7b988a7ee
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoManage button and keyboard backlights with light sensor in both manual and automatic...
Mike Lockwood [Sun, 1 Nov 2009 13:16:33 +0000 (08:16 -0500)]
Manage button and keyboard backlights with light sensor in both manual and automatic mode.

Now the manual brightness mode only applies to the LCD backlight and
button and keyboard backlights are always managed automatically.

Fixes bug b/2195798 (Passion capacitive key backlights don't always come on)

This change only affects the framework based auto-brightness implementation.
Hardware auto-brightness is not affected.

Change-Id: Ib88310d642d498591e8879c8269d630ff3f7c8af
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoDon't turn on keyboard backlights when keyboard is closed in auto brightness mode.
Mike Lockwood [Fri, 30 Oct 2009 01:29:15 +0000 (21:29 -0400)]
Don't turn on keyboard backlights when keyboard is closed in auto brightness mode.

For framework light sensor support (does not affect hardware based approach).

Change-Id: I6896a7c5b3fd3ed136c4f25c63a0e5813c349f68
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoUse separate flags for enabling hardware and software auto-brightness.
Mike Lockwood [Sat, 31 Oct 2009 20:31:27 +0000 (16:31 -0400)]
Use separate flags for enabling hardware and software auto-brightness.

This cleans up the code in preparation for some other auto-brightness changes
and fixes support for devices without light sensors.

Change-Id: I3d4802cf860a865ffd86a8bb57cd57b46359433d
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodoc change: misc doc fixes.
Dirk Dougherty [Sat, 31 Oct 2009 02:05:53 +0000 (19:05 -0700)]
doc change: misc doc fixes.

Bug:2160782
Change-Id: Iaf5d2cc2e3c657700469e8b7394a95bc03fc26f3

14 years agolibbinder: add a NO_CACHING flag to MemoryHeapBase
Iliyan Malchev [Fri, 30 Oct 2009 05:55:00 +0000 (22:55 -0700)]
libbinder: add a NO_CACHING flag to MemoryHeapBase

The NO_CACHING flag translates to opening a memory region with O_SYNC.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoMerge change I8c0eb9a6 into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 01:29:56 +0000 (21:29 -0400)]
Merge change I8c0eb9a6 into eclair

* changes:
  libagl: silence a LOGD

14 years agolibagl: silence a LOGD
Iliyan Malchev [Sat, 31 Oct 2009 01:29:08 +0000 (18:29 -0700)]
libagl: silence a LOGD

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoUse setRepeating() rather than setInexactRepeating() for backup scheduling,
Dan Egnor [Sat, 31 Oct 2009 00:35:39 +0000 (17:35 -0700)]
Use setRepeating() rather than setInexactRepeating() for backup scheduling,
and add some random fuzz to the scheduling times, to make sure we aren't
creating hour-aligned server load spikes.

See bug 2226553 for details & Dr. No information.

14 years agoMerge change I7df84618 into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 01:12:00 +0000 (21:12 -0400)]
Merge change I7df84618 into eclair

* changes:
  Add a privateImeOption to represent that the IME should not show the voice input microphone, if it otherwise would, whenever the search dialog is planning on showing a voice search button (as specified by the current searchable).

14 years agoSuppress takePicture test from continuous DO NOT MERGE.
Brett Chabot [Sat, 31 Oct 2009 00:07:03 +0000 (17:07 -0700)]
Suppress takePicture test from continuous DO NOT MERGE.

Bug 2141755

14 years agoMerge change I92cdc5ed into eclair
Android (Google) Code Review [Sat, 31 Oct 2009 00:02:13 +0000 (20:02 -0400)]
Merge change I92cdc5ed into eclair

* changes:
  PerformanceCollector: Collect & report perf measurements in key/value form

14 years agoRemove testCheckMediaPlaybackHandlesApplicationItunes from continuous.
Brett Chabot [Fri, 30 Oct 2009 23:48:09 +0000 (16:48 -0700)]
Remove testCheckMediaPlaybackHandlesApplicationItunes from continuous.

This test causes the whole suite to hang.

14 years agoMerge change Ie3e80456 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 23:40:09 +0000 (19:40 -0400)]
Merge change Ie3e80456 into eclair

* changes:
  Turns out the SGX driver is correct and the bug was in this test.

14 years agoTurns out the SGX driver is correct and the bug was in this test.
Mathias Agopian [Fri, 30 Oct 2009 23:32:52 +0000 (16:32 -0700)]
Turns out the SGX driver is correct and the bug was in this test.

make sure the 565 1-texel wide texture is specified with an alignment of 4
which is the OpenGL ES default.

14 years agoAdd a privateImeOption to represent that the IME should not show
Mike LeBeau [Fri, 30 Oct 2009 23:11:40 +0000 (16:11 -0700)]
Add a privateImeOption to represent that the IME should not show
the voice input microphone, if it otherwise would, whenever the
search dialog is planning on showing a voice search button (as
specified by the current searchable).

The IME will respect this shortly.

http://b/2228562

14 years agoAdd ability to disable sending Photos using Vcard. Do Not Merge
Jaikumar Ganesh [Fri, 30 Oct 2009 20:56:32 +0000 (13:56 -0700)]
Add ability to disable sending Photos using Vcard. Do Not Merge

This to fix PBAP support for some car kits which are unable
to handle contacts with photos.
Original Change by: Yue Lixin

Bug: 2183320
Dr No: Eastham

14 years agoMerge change Id8b28e4f into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:16 +0000 (17:54 -0400)]
Merge change Id8b28e4f into eclair

* changes:
  fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp

14 years agoMerge change I56779290 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:10 +0000 (17:54 -0400)]
Merge change I56779290 into eclair

* changes:
  fix[2222341] Soft reset while going back from camcorder settings

14 years agoMerge change If007a2fa into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:54:03 +0000 (17:54 -0400)]
Merge change If007a2fa into eclair

* changes:
  return proper error code from eglCreateImageKHR

14 years agofix[2222341] Soft reset while going back from camcorder settings
Mathias Agopian [Fri, 30 Oct 2009 01:29:30 +0000 (18:29 -0700)]
fix[2222341] Soft reset while going back from camcorder settings

add a way to convert a mapped "pushbuffer" buffer to a gralloc handle
which then can be safely used by surfaceflinger, without including
gralloc_priv.h

14 years agoMerge change Iae849da2 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 21:03:18 +0000 (17:03 -0400)]
Merge change Iae849da2 into eclair

* changes:
  add table maskfilter

14 years agoMerge change I08c19bee into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 17:53:32 +0000 (13:53 -0400)]
Merge change I08c19bee into eclair

* changes:
  DO NOT MERGE: Another gcc 4.0.3 workaround.

14 years agoDO NOT MERGE: Another gcc 4.0.3 workaround.
Andy McFadden [Thu, 29 Oct 2009 17:19:34 +0000 (10:19 -0700)]
DO NOT MERGE: Another gcc 4.0.3 workaround.

Temporarily make a function public that doesn't need to be.  When
host gcc-4.0.3 is gone from the build servers we can undo this.

(Cherry-picked from eclair-mr2.)

14 years agoMerge change I4b3db907 into eclair
Android (Google) Code Review [Fri, 30 Oct 2009 17:23:43 +0000 (13:23 -0400)]
Merge change I4b3db907 into eclair

* changes:
  Revert the channge where channels were not selected randomly.

14 years agoRevert the channge where channels were not selected randomly.
Jaikumar Ganesh [Fri, 30 Oct 2009 16:37:25 +0000 (09:37 -0700)]
Revert the channge where channels were not selected randomly.

The Bluez SDP bug has been fixed.
Reverting parts of the commit: 16fb88a673c41b93c5d57ccb28c2697e7d87701a

Bug: 2173752
Dr No: Eastham

14 years agoadd table maskfilter
Mike Reed [Thu, 29 Oct 2009 21:20:49 +0000 (17:20 -0400)]
add table maskfilter

hidden for now, since it need only be seen by Launcher2

http://b/issue?id=2210685

14 years agofix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp
Mathias Agopian [Fri, 30 Oct 2009 03:24:44 +0000 (20:24 -0700)]
fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp

crash was due to an unintialized variable, which caused the wrong bluring
format to be used and caused a memory overrrun.

14 years agoAvoid NPE when callers send null selection args.
Jeff Sharkey [Thu, 29 Oct 2009 23:39:36 +0000 (16:39 -0700)]
Avoid NPE when callers send null selection args.

Fixes http://b/2226007

14 years agoreturn proper error code from eglCreateImageKHR
Mathias Agopian [Thu, 29 Oct 2009 04:00:29 +0000 (21:00 -0700)]
return proper error code from eglCreateImageKHR

14 years agoMerge change Iee0486e2 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 23:01:23 +0000 (19:01 -0400)]
Merge change Iee0486e2 into eclair

* changes:
  Dump media recorder PID in dumpsys media.player, and fix minor bugs.

14 years agoMerge change I4e036287 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 22:48:10 +0000 (18:48 -0400)]
Merge change I4e036287 into eclair

* changes:
  update line test to expose some bug on SGX530 ed4

14 years agoupdate line test to expose some bug on SGX530 ed4
Mathias Agopian [Thu, 29 Oct 2009 22:47:12 +0000 (15:47 -0700)]
update line test to expose some bug on SGX530 ed4

14 years agoDump media recorder PID in dumpsys media.player, and fix minor bugs.
Gloria Wang [Thu, 29 Oct 2009 22:46:37 +0000 (15:46 -0700)]
Dump media recorder PID in dumpsys media.player, and fix minor bugs.

14 years agoMerge change I9efe265f into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 21:47:52 +0000 (17:47 -0400)]
Merge change I9efe265f into eclair

* changes:
  unhide AccountManagerResponse

14 years agoMerge change Id6f158b3 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 21:08:34 +0000 (17:08 -0400)]
Merge change Id6f158b3 into eclair

* changes:
  Removed javadoc link to hidden class (temporary fix for build)

14 years agoprocess: Disable debugging
San Mehat [Thu, 29 Oct 2009 20:56:49 +0000 (13:56 -0700)]
process: Disable debugging

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge change I26a2d829 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 20:40:32 +0000 (16:40 -0400)]
Merge change I26a2d829 into eclair

* changes:
  Add -P flag to ps in dumpstate

14 years agoMerge change Idc4c7714 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 20:18:35 +0000 (16:18 -0400)]
Merge change Idc4c7714 into eclair

* changes:
  Revert the changes that introduced new exception that wouldn't have occured before, applications don't seem to be able to handle them and we get crashes.

14 years agoRevert the changes that introduced new exception that wouldn't have occured before...
Costin Manolache [Thu, 29 Oct 2009 18:30:11 +0000 (11:30 -0700)]
Revert the changes that introduced new exception that wouldn't have occured before, applications don't seem to be able to handle them and we get crashes.

14 years agoAdd -P flag to ps in dumpstate
Evan Millar [Thu, 29 Oct 2009 19:41:39 +0000 (12:41 -0700)]
Add -P flag to ps in dumpstate

14 years agoMerge change Ieab4c75b into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:48:51 +0000 (15:48 -0400)]
Merge change Ieab4c75b into eclair

* changes:
  Fix type in Java enums.  Not currently used, easier to fix now than when apps are using it.

14 years agoMerge change I3b7d5cbe into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:11:40 +0000 (15:11 -0400)]
Merge change I3b7d5cbe into eclair

* changes:
  Copy the selection args when creating a CPO since callers often reuse the passed in array.

14 years agoMerge change Ia5109a87 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 19:02:53 +0000 (15:02 -0400)]
Merge change Ia5109a87 into eclair

* changes:
  process: Add debug code to log process group transitions

14 years agoprocess: Add debug code to log process group transitions
San Mehat [Thu, 29 Oct 2009 18:48:50 +0000 (11:48 -0700)]
process: Add debug code to log process group transitions

Signed-off-by: San Mehat <san@google.com>
14 years agoRemoved javadoc link to hidden class (temporary fix for build)
Ed Heyl [Thu, 29 Oct 2009 17:18:45 +0000 (10:18 -0700)]
Removed javadoc link to hidden class (temporary fix for build)

14 years agoMerge change I4a943184 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 17:02:53 +0000 (13:02 -0400)]
Merge change I4a943184 into eclair

* changes:
  Avoid trying to throw multiple exceptions at once.

14 years agoMerge change I6cae32c7 into eclair
Android (Google) Code Review [Thu, 29 Oct 2009 07:55:49 +0000 (03:55 -0400)]
Merge change I6cae32c7 into eclair

* changes:
  When upgrading packages with shared user ids make sure we are eliminating the package about to be deleted or upgraded when updating permissions associated with the shared user. Include a simple null check when retrieving the permission.

14 years agoWhen upgrading packages with shared user ids make sure we are eliminating
Suchi Amalapurapu [Thu, 29 Oct 2009 06:39:46 +0000 (23:39 -0700)]
When upgrading packages with shared user ids make sure we are eliminating
the package about to be deleted or upgraded when updating permissions associated
with the shared user. Include a simple null check when retrieving the permission.

Fix PackageParser to avoid ArrayIndexOutOfBounds exceptions in several places

14 years agoam 3534dadd: docs: fix XSS vulnerability in search
Scott Main [Thu, 29 Oct 2009 06:32:13 +0000 (23:32 -0700)]
am 3534dadd: docs: fix XSS vulnerability in search

Merge commit '3534daddeefefbd42ea0a3819348327e5d85315c' into eclair

* commit '3534daddeefefbd42ea0a3819348327e5d85315c':
  docs: fix XSS vulnerability in search

14 years agounhide AccountManagerResponse
Fred Quintana [Thu, 29 Oct 2009 05:53:51 +0000 (22:53 -0700)]
unhide AccountManagerResponse

14 years agoUse image rect information to display zoomed picture.
Wu-cheng Li [Fri, 23 Oct 2009 09:39:46 +0000 (17:39 +0800)]
Use image rect information to display zoomed picture.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 29 Oct 2009 04:16:52 +0000 (21:16 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoAvoid trying to throw multiple exceptions at once.
Jack Palevich [Thu, 29 Oct 2009 02:38:05 +0000 (19:38 -0700)]
Avoid trying to throw multiple exceptions at once.

The typical usage pattern for the get_char helper function is:

    bool thrown = false;

    n = get_char(env, s, 0, 1000, &thrown);
    n += get_char(env, s, 1, 100, &thrown);
    n += get_char(env, s, 2, 10, &thrown);
    n += get_char(env, s, 3, 1, &thrown);
    if (thrown) return false;

As you can see, get_char is called multiple times before the
thrown flag is checked. If the input text contains multiple
incorrect characters, then we have to guard against throwing
the same exception multiple times. (Because doing so will
cause the Dalvik runtime to abort.)

The fix is simple: modify get_char to check if an exception
has already been thrown before throwing a new exception.

14 years agoFix type in Java enums. Not currently used, easier to fix now than when apps are...
Jason Sams [Thu, 29 Oct 2009 00:40:13 +0000 (17:40 -0700)]
Fix type in Java enums.  Not currently used, easier to fix now than when apps are using it.

14 years ago- add javadoc for the account manager
Fred Quintana [Wed, 21 Oct 2009 20:43:10 +0000 (13:43 -0700)]
- add javadoc for the account manager
- add some checks to the AccountManagerService to keep it from crashing when a null is passed in
- cleaned up the API a bit