OSDN Git Service

android-x86/frameworks-base.git
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 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 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

14 years agoMerge change I911458a0 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 23:02:24 +0000 (19:02 -0400)]
Merge change I911458a0 into eclair

* changes:
  Fix x offset for boxed textures

14 years agoMerge change Ic03d28b9 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 22:28:42 +0000 (18:28 -0400)]
Merge change Ic03d28b9 into eclair

* changes:
  Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would have become visible since the keyguard just got dismissed. This causes unnecessary focus changes due to changes in visibility of current window.

14 years agoFix x offset for boxed textures
Marco Nelissen [Wed, 28 Oct 2009 22:10:56 +0000 (15:10 -0700)]
Fix x offset for boxed textures

14 years agoMerge change Id572ffc7 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 22:05:09 +0000 (18:05 -0400)]
Merge change Id572ffc7 into eclair

* changes:
  don't throw an exception when we can't find a pending sync operation in the database

14 years agodon't throw an exception when we can't find a pending sync operation in the database
Fred Quintana [Wed, 28 Oct 2009 19:29:15 +0000 (12:29 -0700)]
don't throw an exception when we can't find a pending sync operation in the database

14 years agofix [2071412] work around mdp 32-bits fade limitation
Mathias Agopian [Wed, 28 Oct 2009 06:33:48 +0000 (23:33 -0700)]
fix [2071412] work around mdp 32-bits fade limitation

in the case where we fade a 32-bits surface (ie: GL_MODULATE w/ a,a,a,a + blending),
we first make a copy of the background into a RGB buffer, then we blend the 32-bits
surface as usual (without the alpha component), and finally blend the copy of
the background on top with 1-a. This uses a lot of bandwidth, but no CPU time.

14 years agoCheck that the window which wants to force hide is visible before setting the flag...
Suchi Amalapurapu [Wed, 28 Oct 2009 21:32:05 +0000 (14:32 -0700)]
Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces
again this flag gets set no matter what since the keyguard window is always present in the list of tokens and this hides the window which would
have become visible since the keyguard just got dismissed.
This causes unnecessary focus changes due to changes in visibility of current window.

This will resolve issues related to current focus and time outs when dispatching key events.

14 years agodocs: fix XSS vulnerability in search
Scott Main [Wed, 28 Oct 2009 16:50:06 +0000 (09:50 -0700)]
docs: fix XSS vulnerability in search

add a function that uses replace() to replace all
instances of '<' and '>' with the HTML entities and use
this wherever the query text is added onto the page.

14 years agoCopy the selection args when creating a CPO since callers often reuse the passed...
Jeff Hamilton [Wed, 28 Oct 2009 19:14:54 +0000 (14:14 -0500)]
Copy the selection args when creating a CPO since callers often reuse the passed in array.

Bug: 2221947
Change-Id: I3b7d5cbef61777d76ca7fc0d7c91c44553e609a9

14 years agoMerge change I8e7f5f07 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 19:09:29 +0000 (15:09 -0400)]
Merge change I8e7f5f07 into eclair

* changes:
  DO NOT MERGE: Fix loss of focus after wakeup into incall screen

14 years agoDO NOT MERGE: Fix loss of focus after wakeup into incall screen
Christopher Tate [Wed, 28 Oct 2009 03:23:28 +0000 (20:23 -0700)]
DO NOT MERGE: Fix loss of focus after wakeup into incall screen

Because of the asynchronous behavior of keyguard, and incall explicitly
disabling keyguard, sometimes the window manager would wind up in a state in
which the "correct" app and activity window were shown, but focus was
recalculated "too soon," at a time when keyguard was just about gone but not
quite, and incall was not yet fully shown.  In this case there was no currently
valid event target, but the final show of the incall window would not prompt a
focus recalculation, so that "no current focus" state would incorrectly persist,
resulting in spurious ANRs until some other phone activity forced a focus
update.

We now detect the problematic case when windows are shown, and make sure to
recalculate focus explicitly thereafter.  This change does *not* fix the
underlying race conditions that have been resulting in mismatched state within
the window manager, but it does force a validation pass that puts things in
order so that normal operation can continue.

Change-Id: I8e7f5f0795f0042a0da074aeed385e3fbc210360

14 years agoam d14f1bd7: Merge change Iacb6e122 into eclair-sdk
Scott Main [Wed, 28 Oct 2009 18:40:09 +0000 (11:40 -0700)]
am d14f1bd7: Merge change Iacb6e122 into eclair-sdk

Merge commit 'd14f1bd7e4ba28489bdc472aa736aee5a587cb98' into eclair

* commit 'd14f1bd7e4ba28489bdc472aa736aee5a587cb98':
  docs: add 2.0 video to developer site feature videos

14 years agoam 5a4d6696: Merge change Ib80db923 into eclair-sdk
Dirk Dougherty [Wed, 28 Oct 2009 18:39:55 +0000 (11:39 -0700)]
am 5a4d6696: Merge change Ib80db923 into eclair-sdk

Merge commit '5a4d66965d3c5061d47201fcaa62c90d126e7187' into eclair

* commit '5a4d66965d3c5061d47201fcaa62c90d126e7187':
  doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

14 years agoMerge change Iacb6e122 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 18:27:48 +0000 (14:27 -0400)]
Merge change Iacb6e122 into eclair-sdk

* changes:
  docs: add 2.0 video to developer site feature videos

14 years agodocs: add 2.0 video to developer site feature videos
Scott Main [Wed, 28 Oct 2009 18:12:58 +0000 (11:12 -0700)]
docs: add 2.0 video to developer site feature videos

14 years agoMerge change Id4d04def into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 17:18:39 +0000 (13:18 -0400)]
Merge change Id4d04def into eclair

* changes:
  Fix a race that kept the locale picker from working under heavy CPU load.

14 years agoMerge change Ib80db923 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 15:56:04 +0000 (11:56 -0400)]
Merge change Ib80db923 into eclair-sdk

* changes:
  doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

14 years agoMerge change I4e83a76a into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 15:47:54 +0000 (11:47 -0400)]
Merge change I4e83a76a into eclair

* changes:
  Fix bug 2201417. Whenever the System setting that indicates whether the notifcation stream uses the ring volume changes, the table of stream volume aliases in AudioService is updated. But the name of the alias stored in VolumeStreamState.mVolumeIndexSettingName was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting was updated. This caused the wrong volume setting to be persisted. This change ensures the setting name is updated whenever the volume alias is, and persists the notification volume change right away (instead of after a delay), so that registered observers are notified right away. The notification seekbar in the sound settings is an example of such an observer.

14 years agoMerge change I081f08c1 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 12:46:06 +0000 (08:46 -0400)]
Merge change I081f08c1 into eclair

* changes:
  A better solution for ignoring user activity while the screen is animating off.

14 years agoadded GL test for textured lines
Mathias Agopian [Wed, 28 Oct 2009 09:09:21 +0000 (02:09 -0700)]
added GL test for textured lines

14 years agoMerge change I8d2de438 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 06:42:12 +0000 (02:42 -0400)]
Merge change I8d2de438 into eclair

* changes:
      fix [2143798] Need to figure out how to do video

14 years agoA better solution for ignoring user activity while the screen is animating off.
Mike Lockwood [Wed, 28 Oct 2009 03:07:25 +0000 (23:07 -0400)]
A better solution for ignoring user activity while the screen is animating off.

Fixes a deadlock that occurred because mAnimatingScreenOff was left set to true
after aborting turning off the screen.
This change removes the mAnimatingScreenOff flag and checks for
(mScreenBrightness.animating && mScreenBrightness.targetValue == 0) instead.

Fixes bug b/2219706

Change-Id: I081f08c14ad7585a953fb567867238b1f3db841f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodoc change: some fixes for online sdk docs. update "testing" section of screens suppo...
Dirk Dougherty [Wed, 28 Oct 2009 01:02:29 +0000 (18:02 -0700)]
doc change: some fixes for online sdk docs. update "testing" section of screens support doc.

Bug: 2160782
Change-Id: Ib80db9231f91a36f503db487982378b252c0fcd8

14 years agoFix a race that kept the locale picker from working under heavy CPU load.
Eric Fischer [Wed, 28 Oct 2009 01:55:57 +0000 (18:55 -0700)]
Fix a race that kept the locale picker from working under heavy CPU load.

The locale picker and the activity transition would both change the
configuration, and depending upon the timing, the activity transition
would undo what the locale picker had just done.  Usually it worked right,
but would often fail if the user changed locales just after a data wipe,
when the media scanner was working hard in the background to index
the contents of the SD card.

http://b/issue?id=2216298

14 years agoFix bug 2201417. Whenever the System setting that indicates
Jean-Michel Trivi [Wed, 28 Oct 2009 00:39:30 +0000 (17:39 -0700)]
Fix bug 2201417. Whenever the System setting that indicates
whether the notifcation stream uses the ring volume changes, the
table of stream volume aliases in AudioService is updated. But the
name of the alias stored in VolumeStreamState.mVolumeIndexSettingName
was not updated whenever the NOTIFICATIONS_USE_RING_VOLUME setting
was updated. This caused the wrong volume setting to be persisted.
This change ensures the setting name is updated whenever the volume
alias is, and persists the notification volume change right away
(instead of after a delay), so that registered observers are notified
right away. The notification seekbar in the sound settings is an
example of such an observer.

14 years agoMerge change I95529db1 into eclair
Android (Google) Code Review [Wed, 28 Oct 2009 00:36:13 +0000 (20:36 -0400)]
Merge change I95529db1 into eclair

* changes:
  Add Free Flight ringtone to source tree.

14 years agoAdd Free Flight ringtone to source tree.
Dave Sparks [Wed, 28 Oct 2009 00:31:52 +0000 (17:31 -0700)]
Add Free Flight ringtone to source tree.

14 years agoam 675eb31d: Merge change I1a010c12 into eclair-sdk
Scott Main [Wed, 28 Oct 2009 00:27:13 +0000 (17:27 -0700)]
am 675eb31d: Merge change I1a010c12 into eclair-sdk

Merge commit '675eb31d8d3f349de3d4f8db11631aee0118d85d' into eclair

* commit '675eb31d8d3f349de3d4f8db11631aee0118d85d':
  docs: fix broken link for download page.

14 years agoMerge change I1a010c12 into eclair-sdk
Android (Google) Code Review [Wed, 28 Oct 2009 00:16:58 +0000 (20:16 -0400)]
Merge change I1a010c12 into eclair-sdk

* changes:
  docs: fix broken link for download page.

14 years agodocs: fix broken link for download page.
Scott Main [Wed, 28 Oct 2009 00:02:12 +0000 (17:02 -0700)]
docs: fix broken link for download page.

a script was inserting a path that is no longer needed.
the removed class was the script identifier, so removing
this class means the path won't be added.

14 years agoMerge change Idb328ab7 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 23:02:47 +0000 (19:02 -0400)]
Merge change Idb328ab7 into eclair

* changes:
  Explicitly specify that online-sdk depends on framework-res.

14 years agoMerge change I2e90d640 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 22:44:56 +0000 (18:44 -0400)]
Merge change I2e90d640 into eclair

* changes:
  Remove the activity restart between urls.

14 years agoMerge change I7136220b into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 22:37:48 +0000 (18:37 -0400)]
Merge change I7136220b into eclair

* changes:
  Fix egl cleanup code on context teardown.

14 years agoRemove the activity restart between urls.
Guang Zhu [Tue, 27 Oct 2009 22:21:51 +0000 (15:21 -0700)]
Remove the activity restart between urls.

14 years agoFix egl cleanup code on context teardown.
Jason Sams [Tue, 27 Oct 2009 21:44:31 +0000 (14:44 -0700)]
Fix egl cleanup code on context teardown.

14 years agoMerge change I9c242127 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 20:43:28 +0000 (16:43 -0400)]
Merge change I9c242127 into eclair

* changes:
  PowerManagerService: Animate LCD backlight changes due to autobrightness support.

14 years agoMerge change I8cc42c52 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 20:34:37 +0000 (16:34 -0400)]
Merge change I8cc42c52 into eclair

* changes:
  Add some logging to detect if AsyncPlayer is lagging. Bug 2201082.

14 years agoAdd some logging to detect if AsyncPlayer is lagging. Bug 2201082.
Dave Sparks [Tue, 27 Oct 2009 15:27:45 +0000 (08:27 -0700)]
Add some logging to detect if AsyncPlayer is lagging. Bug 2201082.

14 years ago fix [2143798] Need to figure out how to do video
Mathias Agopian [Tue, 27 Oct 2009 03:12:37 +0000 (20:12 -0700)]
fix [2143798] Need to figure out how to do video

    Use EGLImageKHR instead of copybit directly.
    We now have the basis to use streaming YUV textures (well, in fact
    we already are). When/if we use the GPU instead of the MDP we'll
    need to make sure it supports the appropriate YUV format.

    Also make sure we compile if EGL_ANDROID_image_native_buffer is not supported

14 years agoMerge change I882d2eb8 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 19:50:10 +0000 (15:50 -0400)]
Merge change I882d2eb8 into eclair

* changes:
  do not merge

14 years agoMerge change Idb13ed9a into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 19:47:57 +0000 (15:47 -0400)]
Merge change Idb13ed9a into eclair

* changes:
  Add SDK version for MR1.

14 years agoPowerManagerService: Animate LCD backlight changes due to autobrightness support.
Mike Lockwood [Tue, 27 Oct 2009 19:47:02 +0000 (15:47 -0400)]
PowerManagerService: Animate LCD backlight changes due to autobrightness support.

Change-Id: I9c242127df801125c30f399198d1f7e9c8579612
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix build.
Amith Yamasani [Tue, 27 Oct 2009 18:45:08 +0000 (11:45 -0700)]
Fix build.

14 years agoExplicitly specify that online-sdk depends on framework-res.
Ying Wang [Tue, 27 Oct 2009 18:00:30 +0000 (11:00 -0700)]
Explicitly specify that online-sdk depends on framework-res.

14 years agoDisambiguation between multiple pointers and swipe gestures.
Amith Yamasani [Wed, 21 Oct 2009 23:53:31 +0000 (16:53 -0700)]
Disambiguation between multiple pointers and swipe gestures.

Sometimes quickly touching the screen with two fingers will result
in the firmware thinking one finger moved very quickly. This code
tries to identify the difference between the two based on velocity
of the last N points versus the velocity of the last M points and
figure out if there was mostly acceleration or a sudden deceleration.

It's still not perfect and very dependent on the touch hardware.

14 years agoMerge change I11c3cdc7 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 17:02:43 +0000 (13:02 -0400)]
Merge change I11c3cdc7 into eclair

* changes:
  Change default TIME_DELAYED_TO_RESTART_RADIO to 60secs from 20secs.

14 years agoPowerManagerService: Fix bug resulting in backlights turning on while screen is off.
Mike Lockwood [Tue, 27 Oct 2009 13:32:30 +0000 (09:32 -0400)]
PowerManagerService: Fix bug resulting in backlights turning on while screen is off.

Fixes bugs b/2216879 and b/2197060

Change-Id: I5de3cbdbc0601dd7950dba74cacfff06d41ad18e
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agodo not merge
Mike Reed [Tue, 27 Oct 2009 12:25:02 +0000 (08:25 -0400)]
do not merge

remove the filter when we're scrolling, so we don't degrade the quality

http://b/issue?id=2174463&cookieId=2009300052135424

same change (in spirit) in MR2

https://android-git.corp.google.com/g/#change,30860

14 years agoMerge change Ib0d3d9d0 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 12:01:38 +0000 (08:01 -0400)]
Merge change Ib0d3d9d0 into eclair

* changes:
  PowerManagerService: Clear Binder calling identity around calls to Sensor Manager.

14 years agoPowerManagerService: Clear Binder calling identity around calls to Sensor Manager.
Mike Lockwood [Tue, 27 Oct 2009 02:10:33 +0000 (22:10 -0400)]
PowerManagerService: Clear Binder calling identity around calls to Sensor Manager.

This fixes a problem that resulted in bogus battery statistics for the prox and light sensors
due to the sensors being enabled in an app's context and disabled in the system context.

Fixes problems reported in bug b/2211960

Change-Id: Ib0d3d9d06f043b386d3b8d494b9bad5bd40bb6e1
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam 946f9d1e: Merge change I020b31e1 into eclair-sdk
Dirk Dougherty [Tue, 27 Oct 2009 01:31:20 +0000 (18:31 -0700)]
am 946f9d1e: Merge change I020b31e1 into eclair-sdk

Merge commit '946f9d1edc25346f42e30e94e1553bcadea2acf5' into eclair

* commit '946f9d1edc25346f42e30e94e1553bcadea2acf5':
  doc change: add SDK sizes, checksums, small changes for online SDK doc set, add layoutopt doc.

14 years agoam 08c57535: docs: add 2.0 highlights doc and updated homepage
Scott Main [Tue, 27 Oct 2009 01:31:04 +0000 (18:31 -0700)]
am 08c57535: docs: add 2.0 highlights doc and updated homepage

Merge commit '08c57535d180469bf902e75fc90c9f87c5ceb9a7' into eclair

* commit '08c57535d180469bf902e75fc90c9f87c5ceb9a7':
  docs: add 2.0 highlights doc and updated homepage

14 years agoam a250f0c8: doc change: fix broken link at top of installing doc
Dirk Dougherty [Tue, 27 Oct 2009 01:30:30 +0000 (18:30 -0700)]
am a250f0c8: doc change: fix broken link at top of installing doc

Merge commit 'a250f0c808ff01f7a5c9fe393ef2bdf4266a7d9f' into eclair

* commit 'a250f0c808ff01f7a5c9fe393ef2bdf4266a7d9f':
  doc change: fix broken link at top of installing doc

14 years agoMerge change I020b31e1 into eclair-sdk
Android (Google) Code Review [Tue, 27 Oct 2009 01:24:44 +0000 (21:24 -0400)]
Merge change I020b31e1 into eclair-sdk

* changes:
  doc change: add SDK sizes, checksums, small changes for online SDK doc set, add layoutopt doc.

14 years agodoc change: add SDK sizes, checksums, small changes for online SDK doc set, add layou...
Dirk Dougherty [Sat, 24 Oct 2009 02:17:12 +0000 (19:17 -0700)]
doc change: add SDK sizes, checksums, small changes for online SDK doc set, add layoutopt doc.

Bug:2160782
Change-Id: I020b31e10f2733223aa37d03687cf8a63843afa7

14 years agoMerge change I96458368 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 01:10:48 +0000 (21:10 -0400)]
Merge change I96458368 into eclair

* changes:
  Fixed the H263 video duation which caused the incorrect video validation.

14 years agoFixed the H263 video duation which caused the incorrect video validation.
Yu Shan Emily Lau [Tue, 27 Oct 2009 00:58:52 +0000 (17:58 -0700)]
Fixed the H263 video duation which caused the incorrect video validation.

14 years agoMerge change I7c0d20a7 into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 01:00:46 +0000 (21:00 -0400)]
Merge change I7c0d20a7 into eclair

* changes:
  Run the metadataretriever at background priority. Bug 2187133.

14 years agoMerge change I5535bbdf into eclair
Android (Google) Code Review [Tue, 27 Oct 2009 00:59:29 +0000 (20:59 -0400)]
Merge change I5535bbdf into eclair

* changes:
  Disable flaky and failing tests.

14 years agoDisable flaky and failing tests.
Brett Chabot [Tue, 27 Oct 2009 00:44:38 +0000 (17:44 -0700)]
Disable flaky and failing tests.

Bugs 21182682176089

14 years agoAdd SDK version for MR1.
Dianne Hackborn [Fri, 23 Oct 2009 19:32:45 +0000 (12:32 -0700)]
Add SDK version for MR1.

Change-Id: Idb13ed9a35397effbfb72a934a7db5f5a882c79c

14 years agodocs: add 2.0 highlights doc and updated homepage
Scott Main [Thu, 22 Oct 2009 21:57:09 +0000 (14:57 -0700)]
docs: add 2.0 highlights doc and updated homepage

14 years agoRun the metadataretriever at background priority. Bug 2187133.
Dave Sparks [Mon, 26 Oct 2009 23:28:26 +0000 (16:28 -0700)]
Run the metadataretriever at background priority. Bug 2187133.

This change forces metadata retreiver threads to background priority.
Uses an inner class to encapsulate the priority change so that it
automatically restores priority when returning to the client.

14 years agoChange default TIME_DELAYED_TO_RESTART_RADIO to 60secs from 20secs.
Wink Saville [Mon, 26 Oct 2009 22:59:50 +0000 (15:59 -0700)]
Change default TIME_DELAYED_TO_RESTART_RADIO to 60secs from 20secs.

This is the simple fix for bug 2199271 which increases the timeout
for DEACTIVATE thus allowing more time to complete before SETUP_DATA_CALL
is retried. This should fix some occurrences of this bug as the current
time is known to be too short.

Bug: 2199271
Change-Id: I11c3cdc74678399de5f812133c83d687d0ed9937

14 years agoMerge change I6e50a8c6 into eclair
Android (Google) Code Review [Mon, 26 Oct 2009 22:41:19 +0000 (18:41 -0400)]
Merge change I6e50a8c6 into eclair

* changes:
  Revert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers."

14 years agoMerge change I2811f162 into eclair
Android (Google) Code Review [Mon, 26 Oct 2009 22:14:15 +0000 (18:14 -0400)]
Merge change I2811f162 into eclair

* changes:
  Add Authentication Type field to the APN settings.

14 years agoLocationManagerService: clear calling identity in mock provider calls.
Mike Lockwood [Fri, 23 Oct 2009 12:38:25 +0000 (08:38 -0400)]
LocationManagerService: clear calling identity in mock provider calls.

Fixes bug b/2198028 (testDirectionsFromScratchByTyping fails because of android.permission.ACCESS_WIFI_STATE)

Change-Id: I44e95981d805189ed6d906d388c5189ee788802f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd Authentication Type field to the APN settings.
Jaikumar Ganesh [Mon, 26 Oct 2009 20:11:55 +0000 (13:11 -0700)]
Add Authentication Type field to the APN settings.

Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700

14 years agoPowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
Mike Lockwood [Mon, 26 Oct 2009 18:50:42 +0000 (14:50 -0400)]
PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.

Change-Id: I42d2d1331c2a6234dfbdaa99f0cc8ab249f7ce22
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoRevert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer...
Andreas Huber [Mon, 26 Oct 2009 18:11:02 +0000 (11:11 -0700)]
Revert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers."

This reverts commit 7a03b074a554ba3fd08dbc20cfd4b2f37c5f3aaa.

14 years agodo not merge - Fix for issue 2184627 cherry picked from eclair-mr2
Eric Laurent [Fri, 16 Oct 2009 16:16:26 +0000 (09:16 -0700)]
do not merge - Fix for issue 2184627 cherry picked from eclair-mr2

Bluetooth A2DP suspend-resume improvements.

This change will reduce the occurence rate of A2DP sink suspend resume failures observed in issues 21846272181005 and possibly 2189628.

More robust suspend/resume logic.
Use only the suspend request to audio hardware to avoid having two concurent suspend resume control paths.

14 years agoAdd comment warning to not use hardware based autobrightness support.
Mike Lockwood [Sun, 25 Oct 2009 15:53:52 +0000 (11:53 -0400)]
Add comment warning to not use hardware based autobrightness support.

This is deprecated and will be removed in the next release.

Change-Id: I23c5e711fd8e6768da2f5190d1b6c9fa77de41a6
Signed-off-by: Mike Lockwood <lockwood@android.com>