Commit Graph

38903 Commits

Author SHA1 Message Date
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
Bjorn Bringert
be5b73c592 Add search_mode flag to intents launched by QSB suggestions
This lets recipents determine whether an intent was launched
by a global search suggestion. This will for example
be used when deciding how to log clicks on web search suggestions.

Needed for http://b/issue?id=2097469

Change-Id: Ifc25ec3477a63be8bad094951bfffa7a5e703e7c
2009-09-21 23:05:23 +01:00
Wei Huang
c3b1e4a88a am 0562eac4: am 31a12429: Merge change 26254 into eclair
Merge commit '0562eac4639573db3b4ce294e4612e7f4d62b6a8'

* commit '0562eac4639573db3b4ce294e4612e7f4d62b6a8':
  fix bug 2134685: fix tests for PhoneNumberUtilsTest.
2009-09-21 14:57:50 -07:00
Wei Huang
0562eac463 am 31a12429: Merge change 26254 into eclair
Merge commit '31a12429b77e87b5047589d251642b975ad35b9a' into eclair-plus-aosp

* commit '31a12429b77e87b5047589d251642b975ad35b9a':
  fix bug 2134685: fix tests for PhoneNumberUtilsTest.
2009-09-21 14:50:01 -07:00
Android (Google) Code Review
31a12429b7 Merge change 26254 into eclair
* changes:
  fix bug 2134685: fix tests for PhoneNumberUtilsTest.
2009-09-21 17:43:20 -04:00
Andy McFadden
fa0a4bde3f Work around gcc 4.0.3 bug.
This appears to fix the sim-eng build on the gDapper build machines.

Basic problem is that LayerBuffer::OverlaySource has a constructor that
calls SurfaceFlinger.signalEvent().  SurfaceFlinger lists LayerBuffer
as a friend, but that's not enough to convince gcc that the embedded
OverlaySource class is also a friend.  I don't see a way to make them
friendly, so I marked signalEvent() as public.
2009-09-21 14:33:20 -07:00
Yu Shan Emily Lau
c52624c2ac am 6bf39fdb: am c2f97178: Merge change 26111 into eclair
Merge commit '6bf39fdbec979908e8a23bf69aa624812d0b377e'

* commit '6bf39fdbec979908e8a23bf69aa624812d0b377e':
  Added a workaround to clear the browser cache.
2009-09-21 14:15:17 -07:00
Yu Shan Emily Lau
6bf39fdbec am c2f97178: Merge change 26111 into eclair
Merge commit 'c2f97178acaf9c406067b9b89776b87ddf9c8558' into eclair-plus-aosp

* commit 'c2f97178acaf9c406067b9b89776b87ddf9c8558':
  Added a workaround to clear the browser cache.
2009-09-21 14:04:26 -07:00
Mark Wagner
74fc136ea4 am af2b7378: am fe6104fb: When manually setting the uri pass it through to the badge widget.
Merge commit 'af2b7378af38dcc6d40a93f708b7a1c0ff0ef6bc'

* commit 'af2b7378af38dcc6d40a93f708b7a1c0ff0ef6bc':
  When manually setting the uri pass it through to the badge widget.
2009-09-21 13:59:40 -07:00
Android (Google) Code Review
c2f97178ac Merge change 26111 into eclair
* changes:
  Added a workaround to clear the browser cache.
2009-09-21 16:58:35 -04:00
Mark Wagner
af2b7378af am fe6104fb: When manually setting the uri pass it through to the badge widget.
Merge commit 'fe6104fbfbba0434e78f9e21f460c71cddfe8449' into eclair-plus-aosp

* commit 'fe6104fbfbba0434e78f9e21f460c71cddfe8449':
  When manually setting the uri pass it through to the badge widget.
2009-09-21 13:53:37 -07:00
Yu Shan Emily Lau
d2ef9e31e6 Added a workaround to clear the browser cache.
modified:   BrowserPowerTest/src/com/android/browserpowertest/PowerMeasurement.java
2009-09-21 13:48:24 -07:00
Jeff Sharkey
e4efc71249 am 9aa0005e: am 88a83d3f: Update getDisplayLabel() API to support new types.
Merge commit '9aa0005e24e4da8004317cd1f632afb567c50ca1'

* commit '9aa0005e24e4da8004317cd1f632afb567c50ca1':
  Update getDisplayLabel() API to support new types.
2009-09-21 13:45:42 -07:00
Chih-Chung Chang
b8f4725d1b Make media scanner read the jpeg orientation tag. 2009-09-22 04:42:02 +08:00
Mark Wagner
fe6104fbfb When manually setting the uri pass it through to the badge widget. 2009-09-21 13:39:02 -07:00
Jeff Sharkey
9aa0005e24 am 88a83d3f: Update getDisplayLabel() API to support new types.
Merge commit '88a83d3f108dcf01443b241439e14eedbd9615f5' into eclair-plus-aosp

* commit '88a83d3f108dcf01443b241439e14eedbd9615f5':
  Update getDisplayLabel() API to support new types.
2009-09-21 13:36:58 -07:00
Jeff Sharkey
88a83d3f10 Update getDisplayLabel() API to support new types.
We recently added several new phone types, and this change
updates the API that resolves thoses types to strings.  It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
2009-09-21 13:27:38 -07:00
Christopher Tate
2cc1c3b1ec am d4644471: am 9568fb21: Merge change 26164 into eclair
Merge commit 'd4644471db5b8b47fa03d099e3efbf69e170d292'

* commit 'd4644471db5b8b47fa03d099e3efbf69e170d292':
  Reset backup tracking in response to transport data-wipe notification
2009-09-21 13:26:51 -07:00
Leon Scroggins
b845e5c598 am a25ab813: am d3997e55: Make scrolling textfields work better in the browser.
Merge commit 'a25ab813c4ebcac876209e026ec7aef4588d77a3'

* commit 'a25ab813c4ebcac876209e026ec7aef4588d77a3':
  Make scrolling textfields work better in the browser.
2009-09-21 13:23:36 -07:00
Christopher Tate
d4644471db am 9568fb21: Merge change 26164 into eclair
Merge commit '9568fb21766684083ec256303a6ed7949ada7d9f' into eclair-plus-aosp

* commit '9568fb21766684083ec256303a6ed7949ada7d9f':
  Reset backup tracking in response to transport data-wipe notification
2009-09-21 13:21:40 -07:00
Android (Google) Code Review
9568fb2176 Merge change 26164 into eclair
* changes:
  Reset backup tracking in response to transport data-wipe notification
2009-09-21 16:13:48 -04:00
Leon Scroggins
a25ab813c4 am d3997e55: Make scrolling textfields work better in the browser.
Merge commit 'd3997e556eb0509248c72b668c2cd955b7842b55' into eclair-plus-aosp

* commit 'd3997e556eb0509248c72b668c2cd955b7842b55':
  Make scrolling textfields work better in the browser.
2009-09-21 13:11:45 -07:00
Jaikumar Ganesh
e4a15ce2fe am b1d07947: am 163be61c: Merge change 25412 into eclair
Merge commit 'b1d07947050f9b1e703afb6bf0c1b92f24905c0e'

* commit 'b1d07947050f9b1e703afb6bf0c1b92f24905c0e':
  Make ParcelUuid helper functions consistent.
2009-09-21 12:57:01 -07:00
Chia-chi Yeh
6d2bcb5da6 am 91ec57e1: am e3578d60: Merge change 26190 into eclair
Merge commit '91ec57e1bd7eec5c13c4482ba5f3bd46b8260c08'

* commit '91ec57e1bd7eec5c13c4482ba5f3bd46b8260c08':
  KeyStore: rename scan() to saw().
2009-09-21 12:56:50 -07:00
Wei Huang
35fd2e5853 fix bug 2134685: fix tests for PhoneNumberUtilsTest.
Change-Id: I28c4e69775c7ce20983c052b8b77ba2df6d5c63b
2009-09-21 12:56:21 -07:00
Leon Scroggins
d3997e556e Make scrolling textfields work better in the browser.
The touch slop seems to be too large for scrolling
a small textfield, so use a smaller number.  Also,
in WebView, create viewToContentDimension, and use
it for determining the scroll position of the text
field.

Partial fix for http://b/issue?id=2133049

Change-Id: I0ded3be264b179bad39301e6adce86851b649a42
2009-09-21 15:54:21 -04:00
Jaikumar Ganesh
b1d0794705 am 163be61c: Merge change 25412 into eclair
Merge commit '163be61ce5ea85181da3a8908adaa63b5ff56a7e' into eclair-plus-aosp

* commit '163be61ce5ea85181da3a8908adaa63b5ff56a7e':
  Make ParcelUuid helper functions consistent.
2009-09-21 12:46:08 -07:00
Chia-chi Yeh
91ec57e1bd am e3578d60: Merge change 26190 into eclair
Merge commit 'e3578d60c6fbe17c116048a6b4de60b0ac42961f' into eclair-plus-aosp

* commit 'e3578d60c6fbe17c116048a6b4de60b0ac42961f':
  KeyStore: rename scan() to saw().
2009-09-21 12:45:58 -07:00
Android (Google) Code Review
163be61ce5 Merge change 25412 into eclair
* changes:
  Make ParcelUuid helper functions consistent.
2009-09-21 15:37:21 -04:00
Bjorn Bringert
2f2daf8ed4 Fix search intent component bug DO NOT MERGE
This is the Donut version of the fix for http://b/issue?id=2130474
"Shortcuts created by pivoted-in search do not
have intent_component_name set"

This fix is already in Eclair, so it should not be automerged.
2009-09-21 20:28:28 +01:00
Chia-chi Yeh
450fea710a am 907d49f5: am e045e129: Merge change 26188 into eclair
Merge commit '907d49f5e9ab26af9bf488d1c18885c3e55fcc05'

* commit '907d49f5e9ab26af9bf488d1c18885c3e55fcc05':
  keystore: rename scan() to saw().
2009-09-21 12:10:33 -07:00
Android (Google) Code Review
e3578d60c6 Merge change 26190 into eclair
* changes:
  KeyStore: rename scan() to saw().
2009-09-21 15:06:18 -04:00