7054 Commits

Author SHA1 Message Date
Android (Google) Code Review
45e38f8461 Merge change 22559 into eclair
* changes:
  Filter out worker tests from layout suite because merely disabling worker in webview settings no longer works.
2009-08-24 21:03:20 -07:00
Guang Zhu
8e3a84cd2e Filter out worker tests from layout suite because merely disabling worker in webview settings no longer works. 2009-08-24 21:01:25 -07:00
Dianne Hackborn
9faf1fc62c am d8a0f458: am 0d05be3f: Merge change 22544 into eclair
Merge commit 'd8a0f458981037194841457422fd38c2dadb599d'

* commit 'd8a0f458981037194841457422fd38c2dadb599d':
  Fix bug that would leave old windows around.
2009-08-24 20:25:49 -07:00
Dianne Hackborn
d8a0f45898 am 0d05be3f: Merge change 22544 into eclair
Merge commit '0d05be3f724740eb95ac5acd9819b4db0eccd694' into eclair-plus-aosp

* commit '0d05be3f724740eb95ac5acd9819b4db0eccd694':
  Fix bug that would leave old windows around.
2009-08-24 20:23:11 -07:00
Android (Google) Code Review
0d05be3f72 Merge change 22544 into eclair
* changes:
  Fix bug that would leave old windows around.
2009-08-24 20:20:51 -07:00
Fred Quintana
7be5964e74 - make it ok to modify the accounts before boot
- allow packages in the system image to access any authtokens they wish
2009-08-24 19:35:52 -07:00
Jackson Fan
5e511dbdfa am 8e40bad2: am 094f44ba: Merge change 22545 into eclair
Merge commit '8e40bad232741703bfd584ac4c8fde13bd716162'

* commit '8e40bad232741703bfd584ac4c8fde13bd716162':
  Use correct UUID to authorize AVRCP
2009-08-24 19:09:49 -07:00
Jackson Fan
8e40bad232 am 094f44ba: Merge change 22545 into eclair
Merge commit '094f44ba6c8e70dc38a4f8d9ac5f20890e4477da' into eclair-plus-aosp

* commit '094f44ba6c8e70dc38a4f8d9ac5f20890e4477da':
  Use correct UUID to authorize AVRCP
2009-08-24 19:07:21 -07:00
Android (Google) Code Review
094f44ba6c Merge change 22545 into eclair
* changes:
  Use correct UUID to authorize AVRCP
2009-08-24 19:05:06 -07:00
Jackson Fan
9abcf0982e Use correct UUID to authorize AVRCP 2009-08-24 19:02:58 -07:00
Dianne Hackborn
83360b3167 Fix bug that would leave old windows around.
The problem was instigated by another fix I made to keep
windows around while their tokens are animating or preparing to
animate.  This then hit an issue where if the window's process
died while its token was getting ready to animate, we would
immediately hide the token, and when we then went to start
the token animation we wouldn't do anything, leaving the old
dummy animation in place and not allowing it to run.

Now we clear the animation before hiding the token, to ensure
the dummy animation is gone at this point.

Change-Id: If83fadcce6815bc545c80fbdb82fe6972bbdf5ef
2009-08-24 18:43:32 -07:00
Dianne Hackborn
454efc32d5 am 2fc62546: am 07c82855: Merge change 22537 into eclair
Merge commit '2fc6254638d35e3c3cd0d392929d1326f659613b'

* commit '2fc6254638d35e3c3cd0d392929d1326f659613b':
  Fix build.
2009-08-24 18:31:41 -07:00
Mathias Agopian
978861b30d am 014da082: am 048d51b9: Merge change 22257 into eclair
Merge commit '014da08291e0f8c9f4fa8021a27ef31600d07a73'

* commit '014da08291e0f8c9f4fa8021a27ef31600d07a73':
  first step for fixing [2066786] EGL object lifetime management doesn't respect the EGL spec
2009-08-24 18:31:38 -07:00
Dianne Hackborn
2fc6254638 am 07c82855: Merge change 22537 into eclair
Merge commit '07c8285599f99d5e512269fa68f0233ca8133073' into eclair-plus-aosp

* commit '07c8285599f99d5e512269fa68f0233ca8133073':
  Fix build.
2009-08-24 18:29:13 -07:00
Mathias Agopian
014da08291 am 048d51b9: Merge change 22257 into eclair
Merge commit '048d51b9f51e646046b9a7ff5153723a27200138' into eclair-plus-aosp

* commit '048d51b9f51e646046b9a7ff5153723a27200138':
  first step for fixing [2066786] EGL object lifetime management doesn't respect the EGL spec
2009-08-24 18:29:10 -07:00
Android (Google) Code Review
07c8285599 Merge change 22537 into eclair
* changes:
  Fix build.
2009-08-24 18:27:55 -07:00
Dianne Hackborn
e1a7ad23e0 Fix build.
Change-Id: I7a21bc2151fb2a9a1135f676b563f40609bc997b
2009-08-24 18:27:08 -07:00
Android (Google) Code Review
048d51b9f5 Merge change 22257 into eclair
* changes:
  first step for fixing [2066786] EGL object lifetime management doesn't respect the EGL spec
2009-08-24 18:26:52 -07:00
Mike Lockwood
dc195bd4d8 am 9e521c10: am 4358731c: Merge change 22534 into eclair
Merge commit '9e521c10b3ca59e170c8edc0b9b292e673e16a02'

* commit '9e521c10b3ca59e170c8edc0b9b292e673e16a02':
  ContactsContract: Fix null pointer exception in openContactPhotoInputStream()
2009-08-24 18:24:53 -07:00
Mike Lockwood
9e521c10b3 am 4358731c: Merge change 22534 into eclair
Merge commit '4358731c98929e2d5af70b0c4983a872386569bd' into eclair-plus-aosp

* commit '4358731c98929e2d5af70b0c4983a872386569bd':
  ContactsContract: Fix null pointer exception in openContactPhotoInputStream()
2009-08-24 18:22:44 -07:00
Android (Google) Code Review
4358731c98 Merge change 22534 into eclair
* changes:
  ContactsContract: Fix null pointer exception in openContactPhotoInputStream()
2009-08-24 18:20:41 -07:00
Mike Lockwood
7d6eb9a4b4 ContactsContract: Fix null pointer exception in openContactPhotoInputStream()
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-24 18:12:51 -07:00
Robert Greenwalt
130764d2ff am 7a47b54f: am 0badd0b7: Note net availability even when apn not enabled
Merge commit '7a47b54f13566892839da8edeac182bfc0f94bc9'

* commit '7a47b54f13566892839da8edeac182bfc0f94bc9':
  Note net availability even when apn not enabled
2009-08-24 17:49:05 -07:00
Robert Greenwalt
7a47b54f13 am 0badd0b7: Note net availability even when apn not enabled
Merge commit '0badd0b700ed618dac421cb6cde4654b51acb3a4' into eclair-plus-aosp

* commit '0badd0b700ed618dac421cb6cde4654b51acb3a4':
  Note net availability even when apn not enabled
2009-08-24 17:47:01 -07:00
Robert Greenwalt
0badd0b700 Note net availability even when apn not enabled
Fixes a problem where mms apn was on when we lost the network (airplane mode) but mms was
off when airplane mode was turned off so it kept thinking we didn't have access and
future mms always failed.

bug: 2075145
2009-08-24 17:41:49 -07:00
Dianne Hackborn
6dcccf59c2 am 964fd32a: am 4a51c20c: I am getting tired of the java doc warnings, so fix them.
Merge commit '964fd32a733e099e7daa15bbf44b3d2b7a1f3571'

* commit '964fd32a733e099e7daa15bbf44b3d2b7a1f3571':
  I am getting tired of the java doc warnings, so fix them.
2009-08-24 17:40:39 -07:00
Dianne Hackborn
964fd32a73 am 4a51c20c: I am getting tired of the java doc warnings, so fix them.
Merge commit '4a51c20ce607c74914f90fd897f04080121ac13b' into eclair-plus-aosp

* commit '4a51c20ce607c74914f90fd897f04080121ac13b':
  I am getting tired of the java doc warnings, so fix them.
2009-08-24 17:39:35 -07:00
Dianne Hackborn
4a51c20ce6 I am getting tired of the java doc warnings, so fix them.
Change-Id: I2205eebae419eaf4a0992c9f5b7cd807eb843fe1
2009-08-24 17:37:32 -07:00
Amith Yamasani
9b4742cf25 Revert volume if it wasn't okayed by user.
During orientation changes or homing, the volume is reverted. Also,
during pause/resume, the original and modified values are remembered and
restored if the dialog was up.
2009-08-24 17:28:17 -07:00
Dianne Hackborn
9ccc6714df am 2f4f63b5: am cf3a0830: Merge change 22400 into eclair
Merge commit '2f4f63b501dfd6cc934d2d8d62850b98b57c6bfc'

* commit '2f4f63b501dfd6cc934d2d8d62850b98b57c6bfc':
  Add more control over a service's start state.
2009-08-24 17:06:05 -07:00
Dianne Hackborn
2f4f63b501 am cf3a0830: Merge change 22400 into eclair
Merge commit 'cf3a08307d1599eaa91d7cc4e7c601e5fa13037f' into eclair-plus-aosp

* commit 'cf3a08307d1599eaa91d7cc4e7c601e5fa13037f':
  Add more control over a service's start state.
2009-08-24 17:04:01 -07:00
Android (Google) Code Review
cf3a08307d Merge change 22400 into eclair
* changes:
  Add more control over a service's start state.
2009-08-24 17:01:50 -07:00
Dianne Hackborn
f6f9f2d025 Add more control over a service's start state.
One of the problems I have been noticing is background services
sitting around running and using resources.  Some times this is
due to the app developer doing this when they shouldn't, but there
are also a number of issues with the current Service interaction
model that make it very difficult (or impossible) to avoid
getting services stuck in the started state.  This is a
change/enhancement to the Service API to try to address this.

The main change is that Service.onStart() has been deprecated,
replaced with a new Service.onStartCommand() that allows the
service to better control how the system should manage it.  The
key part here is a new result code returned by the function, telling
the system what it should do with the service afterwards:

- START_STICKY is basically the same as the previous behavior,
  where we usually leave the service running.  The only difference
  is that it if it gets restarted because its process is killed,
  onStartCommand() will be called on the new service with a null
  Intent instead of not being called at all.

- START_NOT_STICKY says that, upon returning to the system, if
  its process is killed with no remaining start commands to
  deliver, then the service will be stopped instead of restarted.
  This makes a lot more sense for services that are intended to
  only run while executing commands sent to them.

- START_REDELIVER_INTENT is like START_NOT_STICKY, except if
  the service's process is killed before it calls stopSelf()
  for a given intent, that intent will be re-delivered to it
  until it completes (unless after 4 or more tries it still
  can't complete, at which point we give up).

Change-Id: I978f5ca420d70023d1b5e7f97de639d09381f8ad
2009-08-24 17:00:54 -07:00
Robert Greenwalt
e426654676 am 123d6f37: am ec9fe467: Fix a race condition for data change notification
Merge commit '123d6f372fcd7bdc18245cac984005bab3d534af'

* commit '123d6f372fcd7bdc18245cac984005bab3d534af':
  Fix a race condition for data change notification
2009-08-24 16:41:29 -07:00
Robert Greenwalt
123d6f372f am ec9fe467: Fix a race condition for data change notification
Merge commit 'ec9fe4672a46eb928ab710d8e3caf2ce046100d4' into eclair-plus-aosp

* commit 'ec9fe4672a46eb928ab710d8e3caf2ce046100d4':
  Fix a race condition for data change notification
2009-08-24 16:39:35 -07:00
Robert Greenwalt
ec9fe4672a Fix a race condition for data change notification
We could sometimes not be told about network state changes breaking subsequent mms access.
Turning on more logging too.

bug: 2069106
2009-08-24 16:19:42 -07:00
Mike Lockwood
335dd4e5e4 am ce80db46: am 2e951b55: Merge change 22493 into eclair
Merge commit 'ce80db469b3b4c229445548bdaa46a74a28a2912'

* commit 'ce80db469b3b4c229445548bdaa46a74a28a2912':
  Add resources to specify display rotation when in keyboard open or docked state.
2009-08-24 15:45:13 -07:00
Mike Lockwood
ce80db469b am 2e951b55: Merge change 22493 into eclair
Merge commit '2e951b5511750ebfbba28263ee5384bfa7f45128' into eclair-plus-aosp

* commit '2e951b5511750ebfbba28263ee5384bfa7f45128':
  Add resources to specify display rotation when in keyboard open or docked state.
2009-08-24 15:43:29 -07:00
Android (Google) Code Review
2e951b5511 Merge change 22493 into eclair
* changes:
  Add resources to specify display rotation when in keyboard open or docked state.
2009-08-24 15:41:30 -07:00
Scott Main
f6c0e74878 am 639dfb2e: am e120cfd4: am b385508d: Add more code samples to the online docs. Add build rules to include the development samples in the droiddoc build process. Add all the sample screenshots to a new samples/images/ directory Revise the samples homepage to include
Merge commit '639dfb2ed77fc1ad0ddc46e1d10f24837c79b63d'

* commit '639dfb2ed77fc1ad0ddc46e1d10f24837c79b63d':
  Add more code samples to the online docs.
2009-08-24 15:39:50 -07:00
Mike Lockwood
391305e740 Add resources to specify display rotation when in keyboard open or docked state.
Also added constant for SW_LID input event.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-24 15:38:47 -07:00
Scott Main
639dfb2ed7 am e120cfd4: am b385508d: Add more code samples to the online docs. Add build rules to include the development samples in the droiddoc build process. Add all the sample screenshots to a new samples/images/ directory Revise the samples homepage to include links to new
Merge commit 'e120cfd49fa27d04ed119e6922568eca2a9d6f9e' into eclair-plus-aosp

* commit 'e120cfd49fa27d04ed119e6922568eca2a9d6f9e':
  Add more code samples to the online docs.
2009-08-24 15:37:08 -07:00
Scott Main
e120cfd49f am b385508d: Add more code samples to the online docs. Add build rules to include the development samples in the droiddoc build process. Add all the sample screenshots to a new samples/images/ directory Revise the samples homepage to include links to new samples
Merge commit 'b385508d89747e4c383979f1cc6fa2814b1cedbd' into eclair

* commit 'b385508d89747e4c383979f1cc6fa2814b1cedbd':
  Add more code samples to the online docs.
2009-08-24 15:35:28 -07:00
Wei Huang
84018fd342 am b664235f: am 5e6ad478: Merge change 22496 into eclair
Merge commit 'b664235fd3210cda7e0be71d67bed3d9b60303fe'

* commit 'b664235fd3210cda7e0be71d67bed3d9b60303fe':
  fix typo
2009-08-24 15:09:41 -07:00
Wei Huang
b664235fd3 am 5e6ad478: Merge change 22496 into eclair
Merge commit '5e6ad4786d599e17c1736cf52e5846a44e19d374' into eclair-plus-aosp

* commit '5e6ad4786d599e17c1736cf52e5846a44e19d374':
  fix typo
2009-08-24 15:07:01 -07:00
Android (Google) Code Review
5e6ad4786d Merge change 22496 into eclair
* changes:
  fix typo
2009-08-24 15:04:46 -07:00
Cynthia Wong
cdf7d88e72 am 9633f565: am cb7d3838: Subscribe to subscribedfeeds whenever the accounts change, this is basically a giant hack to let the gsync server know about the subscriptions for accounts.
Merge commit '9633f565911003ce1913ca90ec8ea70097184d24'

* commit '9633f565911003ce1913ca90ec8ea70097184d24':
  Subscribe to subscribedfeeds whenever the accounts change, this is basically a giant hack to let the gsync server know about the subscriptions for accounts.
2009-08-24 14:45:30 -07:00
Scott Main
b385508d89 Add more code samples to the online docs.
Add build rules to include the development samples in the droiddoc build process.
Add all the sample screenshots to a new samples/images/ directory
Revise the samples homepage to include links to new samples
2009-08-24 14:45:00 -07:00
Cynthia Wong
9633f56591 am cb7d3838: Subscribe to subscribedfeeds whenever the accounts change, this is basically a giant hack to let the gsync server know about the subscriptions for accounts.
Merge commit 'cb7d38380cb2ca57e98cd39a96b32a1e804bf00b' into eclair-plus-aosp

* commit 'cb7d38380cb2ca57e98cd39a96b32a1e804bf00b':
  Subscribe to subscribedfeeds whenever the accounts change, this is basically a giant hack to let the gsync server know about the subscriptions for accounts.
2009-08-24 14:44:11 -07:00
Cynthia Wong
cb7d38380c Subscribe to subscribedfeeds whenever the accounts change, this is basically a giant hack to let the gsync server know about the subscriptions for accounts. 2009-08-24 14:31:28 -07:00