9791 Commits

Author SHA1 Message Date
Android (Google) Code Review
54620b1a77 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."
2009-10-26 18:41:19 -04:00
Android (Google) Code Review
6158038a09 Merge change I2811f162 into eclair
* changes:
  Add Authentication Type field to the APN settings.
2009-10-26 18:14:15 -04:00
Mike Lockwood
86328a99bd 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>
2009-10-26 16:18:58 -04:00
Jaikumar Ganesh
2811f1625e 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
2009-10-26 13:11:55 -07:00
Mike Lockwood
3333fa4f3d PowerManagerService: Ensure that recent changes do not effect the hardware ALS case.
Change-Id: I42d2d1331c2a6234dfbdaa99f0cc8ab249f7ce22
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-26 14:52:00 -04:00
Andreas Huber
6e50a8c6f5 Revert "Now that the underlying bug is fixed we can continue using OMX_UseBuffer for this decoder's input buffers."
This reverts commit 7a03b074a554ba3fd08dbc20cfd4b2f37c5f3aaa.
2009-10-26 11:11:02 -07:00
Eric Laurent
a47d153647 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 2184627, 2181005 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.
2009-10-26 09:17:10 -07:00
Android (Google) Code Review
57e824f7c3 Merge change I8db532c1 into eclair-mr2
* changes:
  don't turn off filtering/dithering when we scroll.
2009-10-26 09:16:20 -04:00
Mike Lockwood
0f2a4e6026 am 6897e36b: Add comment warning to not use hardware based autobrightness support.
Merge commit '6897e36b894b2a10fd8b2e3af6587b5f789fde72' into eclair-mr2

* commit '6897e36b894b2a10fd8b2e3af6587b5f789fde72':
  Add comment warning to not use hardware based autobrightness support.
2009-10-25 09:08:31 -07:00
Mike Lockwood
9baeff05a8 am 6eb14c30: PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
Merge commit '6eb14c30387d9c13538887e54bc180a430b2ac40' into eclair-mr2

* commit '6eb14c30387d9c13538887e54bc180a430b2ac40':
  PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
2009-10-25 09:04:50 -07:00
Mike Lockwood
6897e36b89 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>
2009-10-25 11:53:52 -04:00
Mike Lockwood
6eb14c3038 PowerManagerService: Do not enable light sensor if hardware backlight management is being used.
Change-Id: Ic652ac22ec3256d71d12504148927349dfbd3384
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-24 19:43:38 -04:00
Eric Laurent
7ed70c9515 am bf96aaad: Merge change Icf10db28 into eclair
Merge commit 'bf96aaadd46fb5b0884070177faa16ec4f22e2ba' into eclair-mr2

* commit 'bf96aaadd46fb5b0884070177faa16ec4f22e2ba':
  Fix issue 2192181: AudioFlinger must provide separated methods to set VOICE_CALL stream volume and down link audio volume.
2009-10-24 01:38:58 -07:00
Android (Google) Code Review
bf96aaadd4 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.
2009-10-24 04:32:28 -04:00
Andrew Harp
adddd24f31 am 78a50aa1: Merge change If3c30fc9 into eclair
Merge commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40' into eclair-mr2

* commit '78a50aa1db6572ba7d9f9d91c6eb16f993c09f40':
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 19:17:59 -07:00
Android (Google) Code Review
78a50aa1db Merge change If3c30fc9 into eclair
* changes:
  Patching in hidden API to allow app managed preview frame buffers.
2009-10-23 22:08:30 -04:00
Jack Palevich
a2ec1f4cea am 8f89a1a3: Merge change Ic620a52b into eclair
Merge commit '8f89a1a360465e08e81ceca3cb3042606a98668b' into eclair-mr2

* commit '8f89a1a360465e08e81ceca3cb3042606a98668b':
  Add size checks for glBufferData and glBufferSubData
2009-10-23 17:39:47 -07:00
Android (Google) Code Review
8f89a1a360 Merge change Ic620a52b into eclair
* changes:
  Add size checks for glBufferData and glBufferSubData
2009-10-23 20:30:33 -04:00
Android (Google) Code Review
b81199b3ee Merge change I885cfc23 into eclair-mr2
* changes:
  make the password-clearing algorithm smarter
2009-10-23 19:51:26 -04:00
Mathias Agopian
91df63391a am 56d27fec: Merge change I56c3504f into eclair
Merge commit '56d27fecfe02c12ec900aa453d15c32436736271' into eclair-mr2

* commit '56d27fecfe02c12ec900aa453d15c32436736271':
  fix [2211532] improves sholes graphics performance
2009-10-23 16:08:36 -07:00
Android (Google) Code Review
56d27fecfe Merge change I56c3504f into eclair
* changes:
  fix [2211532] improves sholes graphics performance
2009-10-23 19:02:12 -04:00
Mathias Agopian
382e17d46f 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.
2009-10-23 15:37:28 -07:00
Tom Taylor
baf4ca1bba am 246978b8: Add a method to clear info about a contact
Merge commit '246978b8dc89562dda47fea9a7aee61949101242' into eclair-mr2

* commit '246978b8dc89562dda47fea9a7aee61949101242':
  Add a method to clear info about a contact
2009-10-23 14:18:36 -07:00
Tom Taylor
246978b8dc 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
2009-10-23 13:33:25 -07:00
Android (Google) Code Review
d9f3d60df9 Merge change I3b1b7873 into eclair-mr2
* changes:
  New API to instantiate a MediaExtractor given a URI and optional MIME type.
2009-10-23 15:51:44 -04:00
Android (Google) Code Review
48153e7f7f Merge change I064698b3 into eclair-mr2
* changes:
  Add wifi "HANGED" driver state triggering reload.
2009-10-23 15:02:35 -04:00
Android (Google) Code Review
45db67f2e8 Merge change I808651dc into eclair-mr2
* changes:
  bug #2180646: make comparing "404-04" and "40404" return true in PhoneNumberUtils.compare().
2009-10-23 14:31:49 -04:00
Robert Greenwalt
f75aa36fc8 Add wifi "HANGED" driver state triggering reload.
The driver can now report to us that they are hosed and we'll shut
down wifi and restart it - only to be used as a last resort.

Also fixing synch problem with updateWifiState.

bug: 2173119
2009-10-23 11:12:47 -07:00
Andreas Huber
9a12baf929 New API to instantiate a MediaExtractor given a URI and optional MIME type.
Also DataSources now must provide a method initCheck()
and DataSource::reat_at has been renamed to readAt to conform to
standard API naming guidelines.
2009-10-23 10:35:08 -07:00
Android (Google) Code Review
9069aa31ac Merge change I57515f33 into eclair-mr2
* changes:
  Moving the individual extractor headers files to the private include directory.
2009-10-23 13:20:22 -04:00
Andreas Huber
57515f334b Moving the individual extractor headers files to the private include directory. 2009-10-23 09:55:10 -07:00
Android (Google) Code Review
f0990646d5 Merge change I1d96ca06 into eclair-mr2
* changes:
  Show the soft keyboard when pressing center key/trackball on input field
2009-10-23 12:21:26 -04:00
Leon Scroggins
1d96ca06d8 Show the soft keyboard when pressing center key/trackball on input field
Fixes http://b/issue?id=2210234

Consolidate center key/trackball presses on input fields, and show
soft keyboard if the field is not readonly.  Also rename the method
for a center press, and pass a click rather than a touch.  Requires
a change in external/webkit.
2009-10-23 11:49:03 -04:00
Andreas Huber
ad28543022 Make stagefright a little less verbose. Fix heap corruption for real. 2009-10-23 08:48:12 -07:00
Android (Google) Code Review
e847290021 Merge change Ie13526ad into eclair-mr2
* changes:
  Prefer software decoders over hardware for thumbnail extraction.
2009-10-23 11:42:41 -04:00
Andreas Huber
e13526ad92 Prefer software decoders over hardware for thumbnail extraction.
While our hardware decoders clearly outperform the software decoders in terms
of raw throughput, their startup latency makes them less suitable for thumbnail
extraction.
2009-10-23 08:39:00 -07:00
Android (Google) Code Review
1f64ffe2e4 Merge change Icb64cd2c into eclair-mr2
* changes:
  Still don't know why the heap gets corrupted, but not deleting the OMXNodeInstance appears to prevent this from happening.
2009-10-23 11:34:38 -04:00
Eric Laurent
470687e251 am dd28d563: Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.
Merge commit 'dd28d56368441537ec5eb42150516416fdbf10ad' into eclair-mr2

* commit 'dd28d56368441537ec5eb42150516416fdbf10ad':
  Fix 2209967 Tonegenerator: mutex not release in startTone() upon timeout waiting for the stop sequence to complete.
2009-10-23 08:27:11 -07:00
Leon Scroggins
1d60c5c16b Do not hide the cursor ring when clicking on an input field.
When pressing the trackball on a text input field, do not call
setFollowedLink, which results in the cursor ring disappearing and
the WebTextView being torn down.  Fixes http://b/issue?id=2210127
2009-10-23 11:22:36 -04:00
Eric Laurent
dd28d56368 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.
2009-10-23 06:54:33 -07:00
Andrei Popescu
46a83b4ead Make the VideoView go away automatically at the end of playback.
Fixes http://b/issue?id=2210018
2009-10-23 13:53:14 +01:00
Wei Huang
fd7b4f1d12 bug #2180646: make comparing "404-04" and "40404" return true in PhoneNumberUtils.compare().
- when comparing two numbers whose dialable char length is less than the MIN_MATCH (7), treat them as equal if the dialable portion of the numbers match.
- update unit test.
2009-10-23 01:17:17 -07:00
Andrew Harp
94927dffce Patching in hidden API to allow app managed preview frame buffers.
Commit-Id: If3c30fc932697afa966cc97b17749e9996de92ee
2009-10-23 01:44:47 -04:00
Dianne Hackborn
c6bead14fe am 7580493b: Implement feature #2117336: Create event communication APIs for live wallpaper
Merge commit '7580493b014a2c7ea883cd291255798dc72ebbff' into eclair-mr2

* commit '7580493b014a2c7ea883cd291255798dc72ebbff':
  Implement feature #2117336: Create event communication APIs for live wallpaper
2009-10-22 20:21:07 -07:00
Dianne Hackborn
7580493b01 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
2009-10-22 20:10:53 -07:00
Dirk Dougherty
f0d9c00008 am 86dc4d31: am 61c29c29: Merge change Ieeb0b251 into eclair-sdk
Merge commit '86dc4d312216be0b4c2847a1e79d94efaf4b9559' into eclair-mr2

* commit '86dc4d312216be0b4c2847a1e79d94efaf4b9559':
  doc change: incorporate comments on SDK docs and structure.
2009-10-22 18:30:17 -07:00
Fred Quintana
f397174750 am 0bf653b5: am f4520f3e: Merge change I9161f53d into eclair-sdk
Merge commit '0bf653b531b8582012ed211fe65e50702589a7c4' into eclair-mr2

* commit '0bf653b531b8582012ed211fe65e50702589a7c4':
  update account manager javadoc
2009-10-22 18:29:59 -07:00
Dirk Dougherty
86dc4d3122 am 61c29c29: Merge change Ieeb0b251 into eclair-sdk
Merge commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8' into eclair

* commit '61c29c293adf0ea4e28eefafbd1be948eb2d85c8':
  doc change: incorporate comments on SDK docs and structure.
2009-10-22 18:02:54 -07:00
Dirk Dougherty
a250f0c808 doc change: fix broken link at top of installing doc
Bug: 2160782
2009-10-22 18:02:45 -07:00
Android (Google) Code Review
61c29c293a Merge change Ieeb0b251 into eclair-sdk
* changes:
  doc change: incorporate comments on SDK docs and structure.
2009-10-22 20:53:38 -04:00