OSDN Git Service

android-x86/frameworks-base.git
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 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 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>
14 years agoPowerManagerService: Do not enable light sensor if hardware backlight management...
Mike Lockwood [Sat, 24 Oct 2009 23:43:38 +0000 (19:43 -0400)]
PowerManagerService: Do not enable light sensor if hardware backlight management is being used.

Change-Id: Ic652ac22ec3256d71d12504148927349dfbd3384
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change Icf10db28 into eclair
Android (Google) Code Review [Sat, 24 Oct 2009 08:32:28 +0000 (04:32 -0400)]
Merge change Icf10db28 into eclair

* changes:
  Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.

14 years agoMerge change If3c30fc9 into eclair
Android (Google) Code Review [Sat, 24 Oct 2009 02:08:30 +0000 (22:08 -0400)]
Merge change If3c30fc9 into eclair

* changes:
  Patching in hidden API to allow app managed preview frame buffers.

14 years agoMerge change Ic620a52b into eclair
Android (Google) Code Review [Sat, 24 Oct 2009 00:30:33 +0000 (20:30 -0400)]
Merge change Ic620a52b into eclair

* changes:
  Add size checks for glBufferData and glBufferSubData

14 years agoMerge change I56c3504f into eclair
Android (Google) Code Review [Fri, 23 Oct 2009 23:02:12 +0000 (19:02 -0400)]
Merge change I56c3504f into eclair

* changes:
  fix [2211532] improves sholes graphics performance

14 years agofix [2211532] improves sholes graphics performance
Mathias Agopian [Wed, 21 Oct 2009 23:27:21 +0000 (16:27 -0700)]
fix [2211532] improves sholes graphics performance

Instead of using glTex{Sub}Image2D() to refresh the textures, we're using an EGLImageKHR object
backed up by a gralloc buffer. The data is updated using memcpy(). This is faster than
glTex{Sub}Image2D() because the texture is not swizzled. It also uses less memory because
EGLImageKHW is not limited to power-of-two dimensions.

14 years agoAdd a method to clear info about a contact
Tom Taylor [Thu, 22 Oct 2009 23:36:53 +0000 (16:36 -0700)]
Add a method to clear info about a contact

Add a method so the ContactInfoWidget will throw away the cached
info it has on a contact (e.g. picture and uri).

Change-Id: Ia8f376e356c6bcf246bbd72239c5ca2a3b7c9574

14 years agoFix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting...
Eric Laurent [Fri, 23 Oct 2009 11:46:30 +0000 (04:46 -0700)]
Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.

Unlock mLock mutex when exiting upon wait stop timeout condition.
Increase timeout delays to avoid timing out when A2DP exits standby.

14 years agoPatching in hidden API to allow app managed preview frame buffers.
Andrew Harp [Tue, 20 Oct 2009 05:47:05 +0000 (01:47 -0400)]
Patching in hidden API to allow app managed preview frame buffers.

Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee

14 years agoImplement feature #2117336: Create event communication APIs for live wallpaper
Dianne Hackborn [Wed, 21 Oct 2009 03:15:20 +0000 (20:15 -0700)]
Implement feature #2117336: Create event communication APIs for live wallpaper

Note: currently only implements an async version (no result), and not yet
actually tested.

Change-Id: Id47ed045a4b0eb309ea8c58daf41a0e03eff1d3a

14 years agoam 61c29c29: Merge change Ieeb0b251 into eclair-sdk
Dirk Dougherty [Fri, 23 Oct 2009 01:02:54 +0000 (18:02 -0700)]
am 61c29c29: Merge change Ieeb0b251 into eclair-sdk

Merge commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8' into eclair

* commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8':
  doc change: incorporate comments on SDK docs and structure.

14 years agodoc change: fix broken link at top of installing doc
Dirk Dougherty [Fri, 23 Oct 2009 01:02:45 +0000 (18:02 -0700)]
doc change: fix broken link at top of installing doc

Bug: 2160782

14 years agoMerge change Ieeb0b251 into eclair-sdk
Android (Google) Code Review [Fri, 23 Oct 2009 00:53:38 +0000 (20:53 -0400)]
Merge change Ieeb0b251 into eclair-sdk

* changes:
  doc change: incorporate comments on SDK docs and structure.

14 years agoam f4520f3e: Merge change I9161f53d into eclair-sdk
Fred Quintana [Fri, 23 Oct 2009 00:53:28 +0000 (17:53 -0700)]
am f4520f3e: Merge change I9161f53d into eclair-sdk

Merge commit 'f4520f3e03e120ed109a579c1936994b142523c3' into eclair

* commit 'f4520f3e03e120ed109a579c1936994b142523c3':
  update account manager javadoc

14 years agoMerge change I9161f53d into eclair-sdk
Android (Google) Code Review [Fri, 23 Oct 2009 00:44:12 +0000 (20:44 -0400)]
Merge change I9161f53d into eclair-sdk

* changes:
  update account manager javadoc

14 years agodoc change: incorporate comments on SDK docs and structure.
Dirk Dougherty [Thu, 22 Oct 2009 23:08:32 +0000 (16:08 -0700)]
doc change: incorporate comments on SDK docs and structure.

Bug: 2160782

14 years agoupdate account manager javadoc
Fred Quintana [Wed, 21 Oct 2009 20:43:10 +0000 (13:43 -0700)]
update account manager javadoc

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

* changes:
  Update the names of the widgets when the locale changes.

14 years agoMerge change Ie7105dae into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 22:37:51 +0000 (18:37 -0400)]
Merge change Ie7105dae into eclair

* changes:
  Handle bad SIM message

14 years agoUpdate the names of the widgets when the locale changes.
Eric Fischer [Thu, 22 Oct 2009 22:22:50 +0000 (15:22 -0700)]
Update the names of the widgets when the locale changes.

Bug 1814373, Bug 2152730

14 years agoHandle bad SIM message
Tom Taylor [Thu, 22 Oct 2009 18:42:10 +0000 (11:42 -0700)]
Handle bad SIM message

When trying to view the saved sms messages on my SIM, I ran into a null ref.
With this fix, we don't try and wrap a null message, but just skip it.
This is part one of three fixes for BC-triaged bug 2205782.

Change-Id: Ie7105dae7e3134b98681deabcc14f5db555902f3

14 years agoMerge change Ia3f7ef64 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 20:24:05 +0000 (16:24 -0400)]
Merge change Ia3f7ef64 into eclair

* changes:
  PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.

14 years agoPowerManager: Don't poke user activity in setKeyboardVisibility unless the state...
Mike Lockwood [Thu, 22 Oct 2009 19:45:37 +0000 (15:45 -0400)]
PowerManager: Don't poke user activity in setKeyboardVisibility unless the state actually changed.

Fixes bug b/2158297 (lock screen should time out after 7 seconds)

Change-Id: Ia3f7ef6464129ab78283923dbfd7f7472136e676
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoam ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android...
Dirk Dougherty [Thu, 22 Oct 2009 18:22:12 +0000 (11:22 -0700)]
am ee58d1bf: doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

Merge commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137' into eclair

* commit 'ee58d1bf9c54eaed623c4419e1d9db269a9c4137':
  doc change: Add docs for SDK. Support new modular structure. In Android.mk, change @since level identifier to 5.xml, expose adt downloadable vars. Fix links that pointed to @sdkCurrent.

14 years agoam 6797b9fa: doc change: add diff report 4 -> 5
Dirk Dougherty [Thu, 22 Oct 2009 18:21:47 +0000 (11:21 -0700)]
am 6797b9fa: doc change: add diff report 4 -> 5

Merge commit '6797b9fa06b4c86b92da117a7f84277f7a380820' into eclair

* commit '6797b9fa06b4c86b92da117a7f84277f7a380820':
  doc change: add diff report 4 -> 5

14 years agoam 439bf97c: doc change: edits to the screens support doc.
Dirk Dougherty [Thu, 22 Oct 2009 18:21:23 +0000 (11:21 -0700)]
am 439bf97c: doc change: edits to the screens support doc.

Merge commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0' into eclair

* commit '439bf97ca5adb3e33eaf15faf25034b012a7d9d0':
  doc change: edits to the screens support doc.

14 years agoam f4b5540b: doc change only: add screens support doc
Dirk Dougherty [Thu, 22 Oct 2009 18:21:12 +0000 (11:21 -0700)]
am f4b5540b: doc change only: add screens support doc

Merge commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c' into eclair

* commit 'f4b5540b35a37ae5b999a50c2195bb43eb125f3c':
  doc change only: add screens support doc

14 years agoam f90178d0: docs only. fix some typos.
Scott Main [Thu, 22 Oct 2009 18:20:55 +0000 (11:20 -0700)]
am f90178d0: docs only. fix some typos.

Merge commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69' into eclair

* commit 'f90178d08d3a6cdb500a6f4d1069c38036b3db69':
  docs only.