3716 Commits

Author SHA1 Message Date
Android (Google) Code Review
d31825c6ff Merge change 23403 into eclair
* changes:
  Various infrastructure to support a running services UI.
2009-09-01 12:31:31 -07:00
Eric Fischer
334ef5484b am f84b8034: am b7559e02: am 56205fea: Merge change 23345 into donut
Merge commit 'f84b803478eeb3ce34da55f242d9b9685c6c943d'

* commit 'f84b803478eeb3ce34da55f242d9b9685c6c943d':
  Fix an emoji-measuring bug that caused an exception when editing a contact.
2009-09-01 12:16:01 -07:00
Eric Laurent
554df60ae2 am 0d71db49: am 46c15823: Merge change 23105 into eclair
Merge commit '0d71db4979426c20972e5c1c4488fbf27c3b2863'

* commit '0d71db4979426c20972e5c1c4488fbf27c3b2863':
  Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
2009-09-01 12:15:53 -07:00
Cary Clark
44544ab571 am 1b0f6e82: am 169ae05f: Merge change 23439 into eclair
Merge commit '1b0f6e82f6b4e34109117b77db156cd53da1be94'

* commit '1b0f6e82f6b4e34109117b77db156cd53da1be94':
  if exception getMessage() is null, don't add it to the error
2009-09-01 12:15:22 -07:00
Grace Kloba
27c30a7776 am 75e05a5d: am 5e2a385c: Merge change 23395 into eclair
Merge commit '75e05a5dbbbb75bb8e1b8f0fb3ff52c7baa8968d'

* commit '75e05a5dbbbb75bb8e1b8f0fb3ff52c7baa8968d':
  When we get 304 and switch to cacheLoader, need to set mFromCache to be true.
2009-09-01 12:14:49 -07:00
Evan Millar
b3c4998284 Mimetypes in ContactsProvider2 shouldn't overlap with those in ContactsProvider
This is necessary partly for general hygiene, but mostly because we need
to be able to determine based on the intent type what style URI to
return in the case of startActivityForResult().

Change-Id: Ib313d830b8646a70d5ac3ded11597af614429262
2009-09-01 12:14:12 -07:00
Dmitri Plotnikov
600bdd82f5 Breaking sleep after yield into small quanta.
Rationale: there is no reason to sleep for 4 seconds between
transactions if there is no one using the database.  This long
sleep only makes sense if two threads are actively using 
the database yielding to each other every several seconds.
2009-09-01 12:12:20 -07:00
Daniel Sandler
8a6129d549 am 0c91f5a3: Merge change 23464 into eclair
Merge commit '0c91f5a3b20fea1c937212c2aeec073128f6fdc3' into eclair-plus-aosp

* commit '0c91f5a3b20fea1c937212c2aeec073128f6fdc3':
  Create new hdpi versions of 1x data statusbar icons.
2009-09-01 11:51:53 -07:00
Android (Google) Code Review
0c91f5a3b2 Merge change 23464 into eclair
* changes:
  Create new hdpi versions of 1x data statusbar icons.
2009-09-01 11:49:45 -07:00
Daniel Sandler
f6aa42f968 Create new hdpi versions of 1x data statusbar icons.
Fixes http://b/2086838 with new, original artwork (i.e. not from TAT) to meet
Thursday build deadline.
2009-09-01 14:47:30 -04:00
Jean-Baptiste Queru
85a2c7f1ca merge from open-source master 2009-09-01 11:46:14 -07:00
Eric Fischer
b7559e0280 am 56205fea: Merge change 23345 into donut
Merge commit '56205fea879543a50bb797016832416a8b48cabb' into eclair

* commit '56205fea879543a50bb797016832416a8b48cabb':
  Fix an emoji-measuring bug that caused an exception when editing a contact.
2009-09-01 11:18:43 -07:00
Dianne Hackborn
3025ef332c Various infrastructure to support a running services UI.
Some of this is temporary (in particular the two approaches for getting
process memory, one working but horrible, the other not working but
preferred) until I figure out the best way to do it.

Change-Id: I8c8f25062d481fcea22a47d459b083d2fd8a5040
2009-09-01 11:16:25 -07:00
Android (Google) Code Review
46c158234d Merge change 23105 into eclair
* changes:
  Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
2009-09-01 11:14:00 -07:00
Eric Laurent
4e059280b7 Fix issue 2077333: The volume key will effect both ring and media vol at the same time.
Make sure that the progress bar is refreshed when the max value is changed.
2009-09-01 10:35:15 -07:00
Eric Fischer
a82e99a89b Fix an emoji-measuring bug that caused an exception when editing a contact.
It was measuring the text to try to determine the size that it needed to
scale the emoji character to.  Unfortunately it was accidentally trying
to measure the character under the cursor instead of the emoji character
itself, which is wrong, but more seriously doesn't work at all when the
cursor is at the end of the line.

This was already fixed before in change 144474, but that change never got
merged over to donut.  So this merges it now.

Bug 2087915

Change-Id: Ib4804d330a029a966207b3b07271f84e6b2652c0
2009-09-01 10:28:11 -07:00
Android (Google) Code Review
169ae05f9f Merge change 23439 into eclair
* changes:
  if exception getMessage() is null, don't add it to the error
2009-09-01 10:14:10 -07:00
Cary Clark
4e441b711a if exception getMessage() is null, don't add it to the error
Consolidate the error message construction, allowing the
exception getMessage() to fail.
2009-09-01 13:01:33 -04:00
Android (Google) Code Review
5e2a385c0d Merge change 23395 into eclair
* changes:
  When we get 304 and switch to cacheLoader, need to set mFromCache to be true. So that the cache loading will not create a new mCacheResult which overwrites the old cache data.
2009-09-01 09:15:45 -07:00
Patrick Scott
c413349981 am 153b0226: am 05a6f3cd: Merge change 23434 into eclair
Merge commit '153b0226e1f2e60941c420ea1bc8f65cf51c2f50'

* commit '153b0226e1f2e60941c420ea1bc8f65cf51c2f50':
  Fix a docs comment to match the parameter name.
2009-09-01 07:24:06 -07:00
Android (Google) Code Review
05a6f3cde5 Merge change 23434 into eclair
* changes:
  Fix a docs comment to match the parameter name.
2009-09-01 07:20:18 -07:00
Patrick Scott
447811c64f Fix a docs comment to match the parameter name. 2009-09-01 09:57:20 -04:00
Cary Clark
ef8ea7b341 am 9e74bf76: am 278ce05b: accelerate consecutive flings
Merge commit '9e74bf76f7c5c350e133b6f5773f5cf1c4ee8a0d'

* commit '9e74bf76f7c5c350e133b6f5773f5cf1c4ee8a0d':
  accelerate consecutive flings
2009-09-01 06:39:49 -07:00
Cary Clark
278ce05b52 accelerate consecutive flings
Use the fact that the scroller keeps track of the current velocity
to accelerate subsequent flings. The current velocity is added to
the new velocity if the flings are in the same general direction
and if the fling animation hasn't been aborted.

This makes it easier to move to the top or bottom of very large
pages (either in overview mode or reading mode) by taking
consecutive flings as a cue from the user that they want to
page faster. The user can stop the fling with any action as
before.

fixes http://b/issue?id=2066090
2009-09-01 09:34:21 -04:00
Patrick Scott
7ef8e73b08 am d15dcf07: am 05c9ed9c: Fix the documentation for onReceivedError.
Merge commit 'd15dcf07adfa04a3b1ce41c3bcb9455314025264'

* commit 'd15dcf07adfa04a3b1ce41c3bcb9455314025264':
  Fix the documentation for onReceivedError.
2009-09-01 05:42:38 -07:00
Patrick Scott
05c9ed9ce1 Fix the documentation for onReceivedError.
This change adds the EventHandler error codes to WebViewClient for the public
api. Previously, the api was ambiguous about the value of the errorCode
parameter and falsely documented that the values are HTTP status codes.
2009-09-01 08:37:22 -04:00
Steve Block
4b5224bb64 am e2838c2a: am 0c637113: Merge change 23427 into eclair
Merge commit 'e2838c2a1637ca565efc561581d857923137ae3b'

* commit 'e2838c2a1637ca565efc561581d857923137ae3b':
  Moves GoogleLocationSettingManager to its correct location.
2009-09-01 05:27:04 -07:00
Android (Google) Code Review
0c63711338 Merge change 23427 into eclair
* changes:
  Moves GoogleLocationSettingManager to its correct location.
2009-09-01 05:23:26 -07:00
Steve Block
b599315910 Moves GoogleLocationSettingManager to its correct location.
This fixes bug http://b/issue?id=2089259.
2009-09-01 10:18:38 +01:00
Fred Quintana
664614cfa5 am 765f49e2: am 34b6a27e: Merge change 23375 into eclair
Merge commit '765f49e22d7dbf608710baa95e9769b9133d9483'

* commit '765f49e22d7dbf608710baa95e9769b9133d9483':
  re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()
2009-08-31 18:55:36 -07:00
Android (Google) Code Review
34b6a27ea3 Merge change 23375 into eclair
* changes:
  re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync()
2009-08-31 18:51:04 -07:00
Grace Kloba
ef32ee3db8 When we get 304 and switch to cacheLoader, need to set mFromCache to be true.
So that the cache loading will not create a new mCacheResult which overwrites
the old cache data.
2009-08-31 18:43:48 -07:00
Fred Quintana
f892fb3a43 - don't schedule syncs that we will never dispatch
- expedite the INITIALIZATION sync
2009-08-31 18:04:39 -07:00
Romain Guy
6dbc11ca81 am 85655ebc: am 0f44220b: Merge change 23381 into eclair
Merge commit '85655ebcd9dc521e3c11209d24afee432d18b596'

* commit '85655ebcd9dc521e3c11209d24afee432d18b596':
  Prevent ListView from scrolling/flinging its content when the content fits on screen.
2009-08-31 17:50:29 -07:00
Jack Palevich
5f95d7e977 am e1f7bcc7: am ad822197: Merge change 23380 into eclair
Merge commit 'e1f7bcc7ab422e2bc87137648dc67250d116b0c6'

* commit 'e1f7bcc7ab422e2bc87137648dc67250d116b0c6':
  Change util_texSubImage2D to call glCompressedTexImage2D correctly.
2009-08-31 17:48:00 -07:00
Android (Google) Code Review
0f44220b34 Merge change 23381 into eclair
* changes:
  Prevent ListView from scrolling/flinging its content when the content fits on screen.
2009-08-31 17:46:47 -07:00
Romain Guy
6198ae8468 Prevent ListView from scrolling/flinging its content when the content fits on screen.
Change-Id: Id46313bca3ae53b0717cd74a4a6f889a01f9fcb1
2009-08-31 17:45:55 -07:00
Android (Google) Code Review
ad82219718 Merge change 23380 into eclair
* changes:
  Change util_texSubImage2D to call glCompressedTexImage2D correctly.
2009-08-31 17:45:03 -07:00
Jack Palevich
106006cbde Change util_texSubImage2D to call glCompressedTexImage2D correctly.
Previously we had been setting the imageSize parameter to 0, which was
incorrect. According to the OpenGL ES spec for glCompressedTexImage2D
this parameter should be the size in bytes of the compressed data.
2009-08-31 17:42:50 -07:00
Fred Quintana
2f20b04c14 am a27b7822: am ec5d9fb4: Merge change 23370 into eclair
Merge commit 'a27b7822200ab8f7a1978ca27ae3e14929b9d665'

* commit 'a27b7822200ab8f7a1978ca27ae3e14929b9d665':
  Revert "- don't schedule syncs that we will never dispatch"
2009-08-31 17:29:03 -07:00
Fred Quintana
fcb14322f4 re-enable cancelation of the sync thread upon receipt of ISyncAdapter.cancelSync() 2009-08-31 17:25:05 -07:00
Android (Google) Code Review
ec5d9fb47d Merge change 23370 into eclair
* changes:
  Revert "- don't schedule syncs that we will never dispatch"
2009-08-31 17:24:17 -07:00
Fred Quintana
c58b611652 Revert "- don't schedule syncs that we will never dispatch"
This reverts commit fae7ff106b3ed791e324ddcec17226c3fe1cd809.
2009-08-31 17:20:08 -07:00
Jaikumar Ganesh
5ba22e9e11 am 2ebf7793: am c91ad28f: Merge change 23218 into eclair
Merge commit '2ebf7793e42df72d4198461487f3bd73f17b32a4'

* commit '2ebf7793e42df72d4198461487f3bd73f17b32a4':
  Fix property being cleared when DeviceFound signal is received.
2009-08-31 16:56:52 -07:00
Android (Google) Code Review
c91ad28ff9 Merge change 23218 into eclair
* changes:
  Fix property being cleared when DeviceFound signal is received.
2009-08-31 16:52:38 -07:00
Daisuke Miyakawa
61e06289bb am 08761779: am 450ff8a4: Merge change 23357 into eclair
Merge commit '08761779616949b496c002bed7ce88eb909c65fc'

* commit '08761779616949b496c002bed7ce88eb909c65fc':
  Fix double-free problem in EmojiFactory.
2009-08-31 16:46:18 -07:00
Daisuke Miyakawa
69a776c27d am 78e9389a: am f66e2e24: Merge change 23344 into eclair
Merge commit '78e9389a213df93a2e1d55b9961ce8aa103e7301'

* commit '78e9389a213df93a2e1d55b9961ce8aa103e7301':
  Make vCard composer handle null of Photo entry correctly.
2009-08-31 16:45:56 -07:00
Daisuke Miyakawa
2d88dfaeed am 08271d05: am cedcb135: Merge change 23343 into eclair
Merge commit '08271d05e338b483b12fae0f52a9519677910176'

* commit '08271d05e338b483b12fae0f52a9519677910176':
  Use Email.TYPE_MOBILE
2009-08-31 16:45:51 -07:00
Fred Quintana
2f449b745b am 91800118: am 7cb08acc: Merge change 23066 into eclair
Merge commit '91800118a129bd63fc19e90da6b52c67036fa424'

* commit '91800118a129bd63fc19e90da6b52c67036fa424':
  - don't schedule syncs that we will never dispatch
2009-08-31 16:45:42 -07:00
Nick Pelly
c53b9cd95c am f7d1c273: am 3e59cf7e: Merge change 23335 into eclair
Merge commit 'f7d1c27327b6832ce97f233f27b2927a05f8b387'

* commit 'f7d1c27327b6832ce97f233f27b2927a05f8b387':
  Set RFCOMM SO_SNDBUF size to 70 KB for large RFCOMM writes.
2009-08-31 16:45:27 -07:00