OSDN Git Service

android-x86/frameworks-base.git
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 agoFix build.
Amith Yamasani [Tue, 27 Oct 2009 18:45:08 +0000 (11:45 -0700)]
Fix build.

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 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 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.

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

* changes:
  Send "encoding problem" to the network for general errors during SMS dispatch.

14 years agoMerge change I99dc6477 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 11:07:04 +0000 (07:07 -0400)]
Merge change I99dc6477 into eclair

* changes:
  Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.

14 years agoMerge change I53f83502 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 11:06:51 +0000 (07:06 -0400)]
Merge change I53f83502 into eclair

* changes:
  PowerManagerService: Ignore user activity while the screen is animating off.

14 years agodoc change: Add docs for SDK. Support new modular structure. In Android.mk, change...
Dirk Dougherty [Fri, 16 Oct 2009 22:25:15 +0000 (15:25 -0700)]
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.

Change-Id:I368345755dd753b1056fb06ff25e4b32f3020e4d
Bug:2160782

14 years agodoc change: add diff report 4 -> 5
Dirk Dougherty [Fri, 16 Oct 2009 16:00:38 +0000 (09:00 -0700)]
doc change: add diff report 4 -> 5

Bug: 2160782

14 years agoAdd WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.
Mike Lockwood [Thu, 22 Oct 2009 02:58:29 +0000 (22:58 -0400)]
Add WindowManagerPolicy.allowKeyRepeat() method for disabling key repeats.

Part of a fix for bug b/2198537

Change-Id: I99dc64772fa7644b12432d5549603025196ea3e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoPowerManagerService: Ignore user activity while the screen is animating off.
Mike Lockwood [Wed, 21 Oct 2009 20:03:18 +0000 (16:03 -0400)]
PowerManagerService: Ignore user activity while the screen is animating off.

Fixes bug b/2202165 (Often I when pressing power to turn off I get the lock screen)

Change-Id: I53f8350203d57fbb5f143edc44985879caadd78f
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change I959a6f46 into eclair
Android (Google) Code Review [Thu, 22 Oct 2009 02:58:39 +0000 (22:58 -0400)]
Merge change I959a6f46 into eclair

* changes:
  Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.     - Ensure system IMEs are put on the enabled list at startup/install.     - If the default IME is not installed, choose another one whenever building input method list.

14 years agodoc change: edits to the screens support doc.
Dirk Dougherty [Thu, 15 Oct 2009 00:59:32 +0000 (17:59 -0700)]
doc change: edits to the screens support doc.

Bug: 2160782

14 years agodoc change only: add screens support doc
Dirk Dougherty [Sat, 10 Oct 2009 00:14:28 +0000 (17:14 -0700)]
doc change only: add screens support doc

14 years agodocs only.
Scott Main [Fri, 9 Oct 2009 19:38:41 +0000 (12:38 -0700)]
docs only.
fix some typos.

14 years agoFix bug 2194213: Non-default system IMEs are enabled, but not initially shown in...
Brandon Ballinger [Wed, 21 Oct 2009 07:38:13 +0000 (00:38 -0700)]
Fix bug 2194213: Non-default system IMEs are enabled, but not initially shown in input method switcher.
    - Ensure system IMEs are put on the enabled list at startup/install.
    - If the default IME is not installed, choose another one whenever building input method list.

14 years agoSend "encoding problem" to the network for general errors during SMS dispatch.
jsh [Thu, 22 Oct 2009 00:55:31 +0000 (17:55 -0700)]
Send "encoding problem" to the network for general errors during SMS dispatch.

Previously we were returning "other terminal problem" to the network, but this
had the potential of blocking MT SMS messages for days at a time (eg, if the
problematic message is resent).  Sending the "encoding problem" cause code is
reasonable since in most cases the we have encountered an error while trying
to parse the message.

Addresses b/2200412.

14 years agoMerge change I1538dba4 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:56:10 +0000 (18:56 -0400)]
Merge change I1538dba4 into eclair

* changes:
  Make FWK start a wifi scan if supplicant forgets. (do not merge)

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

* changes:
  telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

14 years agoMerge change I7a03b074 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 22:15:20 +0000 (18:15 -0400)]
Merge change I7a03b074 into eclair

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

14 years agoNow that the underlying bug is fixed we can continue using OMX_UseBuffer for this...
Andreas Huber [Wed, 21 Oct 2009 22:06:21 +0000 (15:06 -0700)]
Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers.

14 years agoMake FWK start a wifi scan if supplicant forgets. (do not merge)
Robert Greenwalt [Thu, 8 Oct 2009 00:57:49 +0000 (17:57 -0700)]
Make FWK start a wifi scan if supplicant forgets. (do not merge)

Waits 15sec after getting a DISCONNECTED or INACTIVE state.  Also tracks
the number of supplicant state transitions.  After the period is up
if we haven't received any more supplicant state transitions, it requests a scan.

bug: 2168081

14 years agotelephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing
Naveen Kalla [Mon, 12 Oct 2009 18:08:52 +0000 (11:08 -0700)]
telephony/cdma: Fix Erroneous Roaming Indicators and Latitude-Longitude parsing

When Android Telephony receives response to GET_REGISTRATION_STATE
message from RIL it may contain few fields set to NULL. Due to a parsing
exception encountered while parsing that field, the remaining fields will
not be parsed even if they are valid data. Ignore all fields that are NULL
while letting it parse non-NULL data.

For Latitude and Longitude, the values should not be hexadecimal. They
shall be parsed as decimal values as specified in the 3GPP2 C.S0005-A
specification. Invalid value is changed from -1 to Integer.MAX_VALUE.

Bug: 2201613
Change-Id: I13dd02fcfa2ae7fcb6f21c4b94b830786bd7270c

14 years agoMerge change Ifa8ab30e into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 20:11:23 +0000 (16:11 -0400)]
Merge change Ifa8ab30e into eclair

* changes:
  In onKeyUp for DPAD_CENTER, show the IME for text input.

14 years agoIn onKeyUp for DPAD_CENTER, show the IME for text input.
Leon Scroggins [Wed, 21 Oct 2009 19:35:33 +0000 (15:35 -0400)]
In onKeyUp for DPAD_CENTER, show the IME for text input.

Fixes http://b/issue?id=2201966

Change-Id: Ifa8ab30e205e21e9e69e9a7405a0a6fc86c6c488

14 years agoFix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL...
Eric Laurent [Wed, 21 Oct 2009 15:14:22 +0000 (08:14 -0700)]
Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.

Added setVoiceVolume() method to AudioSystem, AudioFlinger, IAudioFlinger, AudioPolicyService.
Removed call to AudioHardwareInterface::setVoiceVolume() from AudioFlinger::setStreamVolume().

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

* changes:
  Import revised translations.  DO NOT MERGE

14 years agoMerge change Id443ba45 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 18:04:26 +0000 (14:04 -0400)]
Merge change Id443ba45 into eclair

* changes:
  Prevent transparent region from getting out of sync with Surface Flinger

14 years agoAdd size checks for glBufferData and glBufferSubData
Jack Palevich [Wed, 21 Oct 2009 18:02:44 +0000 (11:02 -0700)]
Add size checks for glBufferData and glBufferSubData

Without the size checks it's possible for calls to glBufferData
and glBufferSubData to read off the end of the Buffer object's
data, which can cause page faults.

Fix end-of-line characters for the "spec" files. (That's why
every line of these files is changed.)

Enhance our code emitter to properly handle bounds checks for
possibly-null pointers.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Wed, 21 Oct 2009 17:41:17 +0000 (10:41 -0700)]
Import revised translations.  DO NOT MERGE

Approver: jerryw

14 years agoPrevent transparent region from getting out of sync with Surface Flinger
Jack Palevich [Sat, 10 Oct 2009 00:37:50 +0000 (17:37 -0700)]
Prevent transparent region from getting out of sync with Surface Flinger

The ViewRoot is responsible for calculating the current view's surface's
transparent region and reporting this to the window server, which in
turn notifies Surface Flinger.

To minimize cross-process traffic, ViewRoot keeps track of the
most recent transparent region that it has reported to the window
server, and only sends updates when the region shape changes.

ViewRoot is effectively shadowing the internal state of the window
server, and usually this works fine, because ViewRoot is usually the
only thing that changes this value.

But when the surface is recreated, the window server resets the
transparent region to empty. So in order to properly update the window
server we need to reset our copy of its state to empty too.

Fixes issue #2133090: GL Gears runs at half speed in some cases

14 years agoMerge change Ica1d7b90 into eclair
Android (Google) Code Review [Wed, 21 Oct 2009 04:48:41 +0000 (00:48 -0400)]
Merge change Ica1d7b90 into eclair

* changes:
  Disable known failure math tanhd tests  (DO NOT MERGE)

14 years agoam d7bc6546: Fix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 23:20:36 +0000 (16:20 -0700)]
am d7bc6546: Fix spacing to escape "false" correctly.

Merge commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a' into eclair

* commit 'd7bc6546268ccc21954427a3ef56f6365bacef5a':
  Fix spacing to escape "false" correctly.

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

* changes:
  Fix #2201615: getCallingPackage returns calling process instead of calling package

14 years agoFix spacing to escape "false" correctly.
Jeff Sharkey [Tue, 20 Oct 2009 22:57:43 +0000 (15:57 -0700)]
Fix spacing to escape "false" correctly.

14 years agoMerge change I14e833fa into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 22:51:06 +0000 (18:51 -0400)]
Merge change I14e833fa into eclair

* changes:
  If we fail to persist the current settings and fall back to the back settings file when reading settings in PackageManager, we might rename the corrupted settings to backup(in case of power failure between the earlier write failure and file deletion) and end up loosing both files. So just clear up the corrupted current settings file if we have backup. The backup wouldn't exist if everything went well with persisting the earlier settings.

14 years agoFix #2201615: getCallingPackage returns calling process instead of calling package
Dianne Hackborn [Tue, 20 Oct 2009 22:42:38 +0000 (15:42 -0700)]
Fix #2201615: getCallingPackage returns calling process instead of calling package

Change-Id: I1f30f3f1ce8928796c1ab502d0c2dc02de86e8e7

14 years agoDisable known failure math tanhd tests (DO NOT MERGE)
Brett Chabot [Tue, 20 Oct 2009 21:09:28 +0000 (14:09 -0700)]
Disable known failure math tanhd tests  (DO NOT MERGE)

BUG 2139334

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

* changes:
  add "junk path" -k option to aapt (DO NOT MERGE)

14 years agoIf we fail to persist the current settings and fall back to the back settings file
Suchi Amalapurapu [Tue, 20 Oct 2009 18:27:32 +0000 (11:27 -0700)]
If we fail to persist the current settings and fall back to the back settings file
when reading settings in PackageManager, we might rename the corrupted settings to
backup(in case of power failure between the earlier write failure and file deletion)
and end up loosing both files.
So just clear up the corrupted current settings file if we have backup.
The backup wouldn't exist if everything went well with persisting the earlier settings.

We do this in both read and write just in case.

14 years agoMerge change Ie3ffb526 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:52:29 +0000 (15:52 -0400)]
Merge change Ie3ffb526 into eclair

* changes:
  do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

14 years agoMerge change I1932e8f8 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 19:13:05 +0000 (15:13 -0400)]
Merge change I1932e8f8 into eclair

* changes:
  Disable com.android.unit_tests.HeapTest:testExternalOomeLarge.

14 years agodo not merge: The qcom video decoders always output yuv data after adjusting dimensio...
Andreas Huber [Tue, 20 Oct 2009 17:43:48 +0000 (10:43 -0700)]
do not merge: The qcom video decoders always output yuv data after adjusting dimensions to be a multiple of 16.

Add a quirk mode to OMXCodec that makes it aware of this fact for proper display. Also integrate back a change from eclair-mr2 that delays releasing an output buffer briefly after posting it to surface flinger, as we don't know how long it'll take it to actually display the buffer's content.

14 years agoMerge change I1864d098 into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 18:27:55 +0000 (14:27 -0400)]
Merge change I1864d098 into eclair

* changes:
  Improve wallpaper offset handling.

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

* changes:
  Fix issue #2191572: Difficulties drawing window shade

14 years agoMerge change I61741f5a into eclair
Android (Google) Code Review [Tue, 20 Oct 2009 17:10:42 +0000 (13:10 -0400)]
Merge change I61741f5a into eclair

* changes:
  Fix high density bug 2179543: use 'dip' instead of 'px'

14 years agoPowerManagerService: Add missing synchronization in mAutoBrightnessTask.
Mike Lockwood [Tue, 20 Oct 2009 15:08:49 +0000 (11:08 -0400)]
PowerManagerService: Add missing synchronization in mAutoBrightnessTask.

Change-Id: Ie9b93253e991f709b223b28a9148be3b254fb273
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoFix high density bug 2179543: use 'dip' instead of 'px'
Marco Nelissen [Mon, 19 Oct 2009 23:41:21 +0000 (16:41 -0700)]
Fix high density bug 2179543: use 'dip' instead of 'px'