9686 Commits

Author SHA1 Message Date
Mike Lockwood
a0b5e3acb4 am 678fa189: am 94db928d: PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
Merge commit '678fa1898f8928cd6b81d2fe60ed54af60be3695'

* commit '678fa1898f8928cd6b81d2fe60ed54af60be3695':
  PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
2009-09-21 21:40:10 -07:00
Mike Lockwood
678fa1898f am 94db928d: PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
Merge commit '94db928d8cf5a69e8c2907fc33a6d656045f263d' into eclair-plus-aosp

* commit '94db928d8cf5a69e8c2907fc33a6d656045f263d':
  PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
2009-09-21 21:32:42 -07:00
Jeff Sharkey
3fabbc83de am 9ca231c5: am 3f0476a4: Basic API for third-party apps to define custom Data rows.
Merge commit '9ca231c5b616f7240021906b0decd1d412df00ab'

* commit '9ca231c5b616f7240021906b0decd1d412df00ab':
  Basic API for third-party apps to define custom Data rows.
2009-09-21 21:20:51 -07:00
Mike Lockwood
94db928d8c PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
This allows us to support binary proximity sensors that only return 0.0 and 1.0

Change-Id: Ifaf3a4e6fc720cb246ac3558e3e733b4b612c95b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-22 00:20:10 -04:00
Jeff Sharkey
9ca231c5b6 am 3f0476a4: Basic API for third-party apps to define custom Data rows.
Merge commit '3f0476a4e283ce4e55caac016293dafe9dca11fa' into eclair-plus-aosp

* commit '3f0476a4e283ce4e55caac016293dafe9dca11fa':
  Basic API for third-party apps to define custom Data rows.
2009-09-21 21:11:32 -07:00
Jeff Sharkey
3f0476a4e2 Basic API for third-party apps to define custom Data rows.
To display styled ContactsContract.Data rows in UI, this
change adds basic styling attributes that third-party apps
can use.  The Contacts app parses these structures before
displaying Data rows with unrecognized MIME-types.

Partially fixes http://b/2126691
2009-09-21 21:05:59 -07:00
Jason Sams
5be7393e3b am da2c7b79: am cd263b5c: Merge change 26322 into eclair
Merge commit 'da2c7b79808f755af148fdb9ee2be30b11e84085'

* commit 'da2c7b79808f755af148fdb9ee2be30b11e84085':
  Implement more type checks on Allocations.
2009-09-21 19:55:48 -07:00
Jason Sams
da2c7b7980 am cd263b5c: Merge change 26322 into eclair
Merge commit 'cd263b5c072703e80fe43e46baa831304441369b' into eclair-plus-aosp

* commit 'cd263b5c072703e80fe43e46baa831304441369b':
  Implement more type checks on Allocations.
2009-09-21 19:50:47 -07:00
Android (Google) Code Review
cd263b5c07 Merge change 26322 into eclair
* changes:
  Implement more type checks on Allocations. Add tracking for allocations created using the "sized" helper. Add more param validation for data upload calls.
2009-09-21 22:42:28 -04:00
Dan Egnor
5529ddb956 am e5910775: am 9bbd5ee4: Merge change 26290 into eclair
Merge commit 'e5910775c892f37ddc05c63eeaf62b74228cfb30'

* commit 'e5910775c892f37ddc05c63eeaf62b74228cfb30':
  Make IBackupTransport.finishBackup() also return an int code, since it too can
2009-09-21 19:41:44 -07:00
Jack Palevich
ed08f7073a am e2317438: am 1167b43c: Merge change 26317 into eclair
Merge commit 'e2317438433d4f2f822fe0c3659e70c89f6a707f'

* commit 'e2317438433d4f2f822fe0c3659e70c89f6a707f':
  Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
2009-09-21 19:41:28 -07:00
Jason Sams
768bc02d81 Implement more type checks on Allocations.
Add tracking for allocations created using the "sized" helper.
Add more param validation for data upload calls.
2009-09-21 19:41:04 -07:00
Dan Egnor
e5910775c8 am 9bbd5ee4: Merge change 26290 into eclair
Merge commit '9bbd5ee49f4a26b87273c40a955557e63f10da3b' into eclair-plus-aosp

* commit '9bbd5ee49f4a26b87273c40a955557e63f10da3b':
  Make IBackupTransport.finishBackup() also return an int code, since it too can
2009-09-21 19:31:54 -07:00
Jack Palevich
e231743843 am 1167b43c: Merge change 26317 into eclair
Merge commit '1167b43c3d1ca232c9b4e0a75343b6b3cb90f0df' into eclair-plus-aosp

* commit '1167b43c3d1ca232c9b4e0a75343b6b3cb90f0df':
  Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
2009-09-21 19:31:42 -07:00
Android (Google) Code Review
9bbd5ee49f Merge change 26290 into eclair
* changes:
  Make IBackupTransport.finishBackup() also return an int code, since it too can return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).
2009-09-21 22:26:35 -04:00
Android (Google) Code Review
1167b43c3d Merge change 26317 into eclair
* changes:
  Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
2009-09-21 22:22:18 -04:00
Jack Palevich
15e1c6dc7a Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
This API is hidden for now, will expose once it's been tested more.
2009-09-21 19:19:25 -07:00
Dmitri Plotnikov
21d7cfc16c am 4a1d8788: am 0fc0244e: [Issue 2097207] Adding filtering capability to aggregation suggestions
Merge commit '4a1d8788dec5630b7a1874f661c6cbd1fc863328'

* commit '4a1d8788dec5630b7a1874f661c6cbd1fc863328':
  [Issue 2097207] Adding filtering capability to aggregation suggestions
2009-09-21 18:58:23 -07:00
Dmitri Plotnikov
4a1d8788de am 0fc0244e: [Issue 2097207] Adding filtering capability to aggregation suggestions
Merge commit '0fc0244e808925e848ee9e350a3a213bd7574249' into eclair-plus-aosp

* commit '0fc0244e808925e848ee9e350a3a213bd7574249':
  [Issue 2097207] Adding filtering capability to aggregation suggestions
2009-09-21 18:53:37 -07:00
Dmitri Plotnikov
0fc0244e80 [Issue 2097207] Adding filtering capability to aggregation suggestions
Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
2009-09-21 18:47:33 -07:00
Dianne Hackborn
e8cc727c21 am 7ce7f633: am fe2bddfa: Don\'t wake up the screen as soon as the lid opens.
Merge commit '7ce7f6333421feed8468d69c920cfe9826e51704'

* commit '7ce7f6333421feed8468d69c920cfe9826e51704':
  Don't wake up the screen as soon as the lid opens.
2009-09-21 18:38:34 -07:00
Dianne Hackborn
7ce7f63334 am fe2bddfa: Don\'t wake up the screen as soon as the lid opens.
Merge commit 'fe2bddfae1b8c2375f58216871d923cbfe267dd3' into eclair-plus-aosp

* commit 'fe2bddfae1b8c2375f58216871d923cbfe267dd3':
  Don't wake up the screen as soon as the lid opens.
2009-09-21 18:29:39 -07:00
Dianne Hackborn
8f3da4a38b am 3ffe6b12: am 7f3fb7de: Merge change 26130 into eclair
Merge commit '3ffe6b12c78397abb8ab1a3064583d5e8b6ce51c'

* commit '3ffe6b12c78397abb8ab1a3064583d5e8b6ce51c':
  Turn animations on by default.
2009-09-21 17:49:39 -07:00
Dianne Hackborn
3ffe6b12c7 am 7f3fb7de: Merge change 26130 into eclair
Merge commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce' into eclair-plus-aosp

* commit '7f3fb7dec2afdffa37e3067ca8a5b9d01809a9ce':
  Turn animations on by default.
2009-09-21 17:40:06 -07:00
Dianne Hackborn
fe2bddfae1 Don't wake up the screen as soon as the lid opens.
We may need to wait until the lock screen is ready.

Change-Id: Id114f4f37051680ab880056b4c989b1fa8aa02b3
2009-09-21 17:39:15 -07:00
Android (Google) Code Review
7f3fb7dec2 Merge change 26130 into eclair
* changes:
  Turn animations on by default.
2009-09-21 20:34:30 -04:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Jaikumar Ganesh
f4a852e296 am 0bee99f0: am 9197081f: Merge change 26275 into eclair
Merge commit '0bee99f074b848a4fbe5138f4a6a200d6284f78b'

* commit '0bee99f074b848a4fbe5138f4a6a200d6284f78b':
  Send the address of the device with the UUID intent.
2009-09-21 17:19:53 -07:00
Yong Zhang
50d3495006 am 374fd5a1: am 6e81a40d: Merge change 26286 into eclair
Merge commit '374fd5a148213dd269a54ea9e1745a3b95b6d933'

* commit '374fd5a148213dd269a54ea9e1745a3b95b6d933':
  Resolve race conditions with disconnect of CDMA data and airplane mode
2009-09-21 17:19:41 -07:00
Jaikumar Ganesh
0bee99f074 am 9197081f: Merge change 26275 into eclair
Merge commit '9197081f8feca110455740874e06e05771f462c8' into eclair-plus-aosp

* commit '9197081f8feca110455740874e06e05771f462c8':
  Send the address of the device with the UUID intent.
2009-09-21 17:10:46 -07:00
Yong Zhang
374fd5a148 am 6e81a40d: Merge change 26286 into eclair
Merge commit '6e81a40d078269258d75bf22dd00a9dc22f4d0b9' into eclair-plus-aosp

* commit '6e81a40d078269258d75bf22dd00a9dc22f4d0b9':
  Resolve race conditions with disconnect of CDMA data and airplane mode
2009-09-21 17:10:34 -07:00
Android (Google) Code Review
9197081f8f Merge change 26275 into eclair
* changes:
  Send the address of the device with the UUID intent.
2009-09-21 20:04:54 -04:00
Dan Egnor
0144516e19 Make IBackupTransport.finishBackup() also return an int code, since it too can
return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).

For consistency, make other IBackupTransport methods return int instead of
boolean, and handle accordingly.

Make initializeDevice() its own method instead of a flag on performBackup().
This will be needed when un-checking the settings box anyway, and is
conceptually unrelated to whatever happens to be the first post-initialization
backup we perform.  (Note that even if the init is sent separately from the
backup operation, the server will remember that an init has been done and
will *not* return NOT_INITIALIZED for the subsequent backup.)

Fix LocalTransport accordingly (trivial changes).

Handle failures more robustly in BackupManagerService -- most notably,
doQueuedBackups() was ignoring the result code of processOneBackup(), so
a NOT_INITIALIZED error would go past unseen (at least until the next
backup pass).  Keep track of error code returns more universally now.
(This includes finishBackup(), of course.)
2009-09-21 17:04:05 -07:00
Android (Google) Code Review
6e81a40d07 Merge change 26286 into eclair
* changes:
  Resolve race conditions with disconnect of CDMA data and airplane mode
2009-09-21 20:01:55 -04:00
Jaikumar Ganesh
389583cd0c am d86c07a8: am a7719af3: Merge change 26217 into eclair
Merge commit 'd86c07a884aa0242126c4e2dfb37eda526f58e1d'

* commit 'd86c07a884aa0242126c4e2dfb37eda526f58e1d':
  Cache the remote device's service channel.
2009-09-21 16:15:57 -07:00
Jack Palevich
fefd3076fc am 5ac5b68b: am 5222a957: Merge change 26270 into eclair
Merge commit '5ac5b68bf103036843deb2e489d07e46c49c4bbd'

* commit '5ac5b68bf103036843deb2e489d07e46c49c4bbd':
  Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
2009-09-21 16:15:45 -07:00
Jaikumar Ganesh
2d3b98d868 Send the address of the device with the UUID intent.
Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66
2009-09-21 16:11:01 -07:00
Jaikumar Ganesh
d86c07a884 am a7719af3: Merge change 26217 into eclair
Merge commit 'a7719af31290bea50d822b535b6a886ba7a88097' into eclair-plus-aosp

* commit 'a7719af31290bea50d822b535b6a886ba7a88097':
  Cache the remote device's service channel.
2009-09-21 16:09:57 -07:00
Jack Palevich
5ac5b68bf1 am 5222a957: Merge change 26270 into eclair
Merge commit '5222a9571ea2538c989608d376ac71eabe0f09d4' into eclair-plus-aosp

* commit '5222a9571ea2538c989608d376ac71eabe0f09d4':
  Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
2009-09-21 16:09:45 -07:00
Android (Google) Code Review
a7719af312 Merge change 26217 into eclair
* changes:
  Cache the remote device's service channel.
2009-09-21 19:00:40 -04:00
Android (Google) Code Review
5222a9571e Merge change 26270 into eclair
* changes:
  Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
2009-09-21 19:00:37 -04:00
Jack Palevich
1bd888ba2e Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
Until now we had a race condition where the GL rendering thread could
continue rendering a frame after we have returned from the
SurfaceHolder.Callback.surfaceDestroyed notification.
2009-09-21 15:59:17 -07:00
Jaikumar Ganesh
10eac971b3 Cache the remote device's service channel.
Bluez Device implementation is such that when a device
is unpaired, we removes the device and hence there is no
way to interact with it unless you pair again. Remote service
channel call is used to get the rfcomm channel number which
will be used in profiles like OPP which don't require pairing.

Change-Id: I868a6cdfdb1b7d3591dd8b66cd0320f41a9c1b92
2009-09-21 15:58:08 -07:00
Wu-cheng Li
46175d6e2e am 5c5be249: am 36322db5: Add focus API and FLASH_MODE_VIDEO_LIGHT.
Merge commit '5c5be2499f25853d0af2154862e648a10da2e4c6'

* commit '5c5be2499f25853d0af2154862e648a10da2e4c6':
  Add focus API and FLASH_MODE_VIDEO_LIGHT.
2009-09-21 15:50:02 -07:00
Wu-cheng Li
5c5be2499f am 36322db5: Add focus API and FLASH_MODE_VIDEO_LIGHT.
Merge commit '36322db5752c7ec196f59ba94abe5d5a63cc19f5' into eclair-plus-aosp

* commit '36322db5752c7ec196f59ba94abe5d5a63cc19f5':
  Add focus API and FLASH_MODE_VIDEO_LIGHT.
2009-09-21 15:40:13 -07:00
Yong Zhang
e4e8e4d4f2 Resolve race conditions with disconnect of CDMA data and airplane mode
Specifically, wait for data to be deactivated when setPowerStateToDesired()
is called during data activation.

Bug: 2101430
Change-Id: Ia97dd799f779c3f88f66bc1235e7a65958e1e04f
2009-09-21 15:31:09 -07:00
Andy McFadden
a2e0cb428c am 10929d61: am dbe8bad1: Merge change 26253 into eclair
Merge commit '10929d61f1d0ff6c0fc7fb9c01697223204ac2b0'

* commit '10929d61f1d0ff6c0fc7fb9c01697223204ac2b0':
  Work around gcc 4.0.3 bug.
2009-09-21 15:29:45 -07:00
Wu-cheng Li
36322db575 Add focus API and FLASH_MODE_VIDEO_LIGHT. 2009-09-22 06:28:09 +08:00
Andy McFadden
10929d61f1 am dbe8bad1: Merge change 26253 into eclair
Merge commit 'dbe8bad1d2d68e2f5947ff0a8347dbb498e17ede' into eclair-plus-aosp

* commit 'dbe8bad1d2d68e2f5947ff0a8347dbb498e17ede':
  Work around gcc 4.0.3 bug.
2009-09-21 15:22:06 -07:00
Android (Google) Code Review
dbe8bad1d2 Merge change 26253 into eclair
* changes:
  Work around gcc 4.0.3 bug.
2009-09-21 18:12:31 -04:00