3498 Commits

Author SHA1 Message Date
Mike Reed
458a7fb3da am 9bace916: am dbade9d6: expose runtime changes to gamma
Merge commit '9bace91641df27c5b238fe5fc340e25827382473'

* commit '9bace91641df27c5b238fe5fc340e25827382473':
  expose runtime changes to gamma
2009-08-25 11:00:36 -07:00
Mike Reed
dbade9d6a0 expose runtime changes to gamma 2009-08-25 13:47:47 -04:00
Amith Yamasani
7f48e806a7 am 657bf5b7: am 91ba1c3f: Merge change 22521 into eclair
Merge commit '657bf5b751b7d2008dff0f91082a75bc1d699fa9'

* commit '657bf5b751b7d2008dff0f91082a75bc1d699fa9':
  Revert volume if it wasn't okayed by user.
2009-08-25 10:27:42 -07:00
Android (Google) Code Review
91ba1c3f9d Merge change 22521 into eclair
* changes:
  Revert volume if it wasn't okayed by user.
2009-08-25 10:23:29 -07:00
Karl Rosaen
2856d1143e am 16077822: am 678771b8: New strings and utlity method tweaks associated with updated account unlock screen flow.
Merge commit '1607782261f4213aa9b4b7b1cf492d51849cdda5'

* commit '1607782261f4213aa9b4b7b1cf492d51849cdda5':
  New strings and utlity method tweaks associated with updated account unlock screen flow.
2009-08-25 09:35:27 -07:00
Karl Rosaen
678771b811 New strings and utlity method tweaks associated with updated account unlock screen flow.
- 'setPermanentlyLocked(false)' no longer automatically resets the pattern
- new string for "waiting to verify account" progress dialog
- new string for account unlock screen title when you aren't past the too many
attempts, but just hit the 'forgot pattern' button
2009-08-25 08:26:38 -07:00
Chih-Chung Chang
3429d3439c am c607435c: am 4804c3e2: Merge change 22564 into eclair
Merge commit 'c607435cae64d2f9c7af408e10e1e72eb637c458'

* commit 'c607435cae64d2f9c7af408e10e1e72eb637c458':
  Add an extra intent parameter for recording duration limit.
2009-08-25 00:00:50 -07:00
Android (Google) Code Review
4804c3e23b Merge change 22564 into eclair
* changes:
  Add an extra intent parameter for recording duration limit.
2009-08-24 23:56:49 -07:00
Daisuke Miyakawa
f4ddea7690 Refactor VCard handling code, phase 2, 3, 4, 5
Phase 2
Make VCard Importer use Data structures in ContactsContract instead of
using old Conatacts structure.

Phase 3
Developed VCardComposer, which was originally in Contacts package, but
now in base/core/java. Also made it use queryEntries() as per jsharkey's
suggestion.

Phase 4
Added VCardUtils and moved some common methods to it, some of which should be
in public API, but hidden for now.

Phase 5
Made VCardComposer emits (almost) valid vCard 3.0 data.
Confirmed with vCard data emitted by Mac.

Related issue:
1784580, 1728351, 1967349

Note:
Probable next step:
- Add "fast parse" mode in VCradBuilder, in which, VCardBuilder skip parsing the value of
each property. It will make the parsing faster.
-- Note that parsing the parameters of each entry cannot be skipped, since it may contains
the information about Encoding of the property. In other words, if the line is
in Quoted-Printable format, the next line may be the part of the property, not a
separated property, which should be parsed accordingly.

- Needs test
2009-08-25 15:39:06 +09:00
Jeff Sharkey
8cc8c8cd84 am 4ce07160: am f7eab4f7: Don\'t use deprecated API in contact header widget.
Merge commit '4ce07160ec6030b3afdd22867e39ca818c5e44c4'

* commit '4ce07160ec6030b3afdd22867e39ca818c5e44c4':
  Don't use deprecated API in contact header widget.
2009-08-24 22:11:14 -07:00
Jeff Sharkey
f7eab4f78f Don't use deprecated API in contact header widget.
Fixes http://b/2074981
2009-08-24 22:05:35 -07:00
Chih-Chung Chang
eb0098d8e8 Add an extra intent parameter for recording duration limit. 2009-08-25 12:59:54 +08: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
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
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
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
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
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
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
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
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
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
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
Android (Google) Code Review
5e6ad4786d Merge change 22496 into eclair
* changes:
  fix typo
2009-08-24 15:04:46 -07:00
Wei Huang
cc6bd5a0d3 fix typo 2009-08-24 14:29:44 -07:00
Leon Scroggins
f3c55d5bc8 am d0dcd101: am 7bc08e9d: Merge change 21944 into eclair
Merge commit 'd0dcd1011617e4bed5c1f16f8c2c8f3a9fb7217b'

* commit 'd0dcd1011617e4bed5c1f16f8c2c8f3a9fb7217b':
  Implement new title bar hiding/showing behavior.
2009-08-24 14:18:03 -07:00
Leon Scroggins
b2359262b4 Implement new title bar hiding/showing behavior.
Remove the code that hides the title bar when the page finishes loading.
When the user double taps, if it did not result in changing the viewing
mode (i.e. on a mobile site), send a message to the client so we can
toggle the title bar's visibility.  Required for a change to
packages/apps/Browser

Change-Id: I0040fd183ce5673a4069e943f38eb31599c0ca7d
2009-08-24 16:55:42 -04:00
Satish Roddom
6557ee2570 am aae6751c: am c0234a9d: Merge change 22474 into eclair
Merge commit 'aae6751c48e9690033f73c5a6323ffb82854701c'

* commit 'aae6751c48e9690033f73c5a6323ffb82854701c':
  Compose Message "To" field allows adding sequence of characters as contact
2009-08-24 13:49:58 -07:00
Mike Lockwood
c66fab337c am 2f6d42fc: am 4df8dd8a: Merge change 22470 into eclair
Merge commit '2f6d42fc43dad2b15b3aba4a259ead86241c996f'

* commit '2f6d42fc43dad2b15b3aba4a259ead86241c996f':
  Fix some Javadoc typos.
2009-08-24 13:49:55 -07:00
Android (Google) Code Review
c0234a9df9 Merge change 22474 into eclair
* changes:
  Compose Message "To" field allows adding sequence of characters as contact
2009-08-24 13:45:30 -07:00
Android (Google) Code Review
4df8dd8aea Merge change 22470 into eclair
* changes:
  Fix some Javadoc typos.
2009-08-24 13:15:47 -07:00
Mike Lockwood
725fcbf5ec Fix some Javadoc typos.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-24 13:09:20 -07:00
Cary Clark
1c6646bd69 am decbc3db: am 840b856d: Merge change 22452 into eclair
Merge commit 'decbc3dbc4d4d3c368319ae0784307b5182bd2fe'

* commit 'decbc3dbc4d4d3c368319ae0784307b5182bd2fe':
  don't center zoom on size change if zoom is in progress
2009-08-24 11:52:28 -07:00
Android (Google) Code Review
840b856d2a Merge change 22452 into eclair
* changes:
  don't center zoom on size change if zoom is in progress
2009-08-24 11:47:53 -07:00
Cary Clark
a91874d1f9 don't center zoom on size change if zoom is in progress
The onSizeChange code is called when the device is rotated and
when the title bar is hidden. In the latter case, it is in response
to the zooming transition from overview mode to reading mode, and
the zoom center should not be recomputed.

http://b/issue?id=2060720
2009-08-24 14:08:43 -04:00
Patrick Scott
595159ee0c am ab3803bd: am d507ff21: Merge change 22449 into eclair
Merge commit 'ab3803bd8db8c4d73ae2566764408f9c4a0d24ab'

* commit 'ab3803bd8db8c4d73ae2566764408f9c4a0d24ab':
  Check for a null history item to avoid crashing.
2009-08-24 11:04:38 -07:00
Android (Google) Code Review
d507ff2129 Merge change 22449 into eclair
* changes:
  Check for a null history item to avoid crashing.
2009-08-24 11:00:30 -07:00
Steve Block
c84e475d41 am dbaf246e: am ba9f5f3f: Merge change 22440 into eclair
Merge commit 'dbaf246ef7996db74b41a5f54d8defa336c39644'

* commit 'dbaf246ef7996db74b41a5f54d8defa336c39644':
  Java-side changes to persist Geolocation permissions between browser sessions.
2009-08-24 11:00:11 -07:00
Patrick Scott
af31c3a42d Check for a null history item to avoid crashing.
The history item may be null if this page is loaded through loadDataWithBaseURL
so we cannot count on the item being non-null.

Bug: 2073490
2009-08-24 13:59:55 -04:00
Android (Google) Code Review
ba9f5f3f6b Merge change 22440 into eclair
* changes:
  Java-side changes to persist Geolocation permissions between browser sessions.
2009-08-24 10:56:10 -07:00