DO NOT MERGE - improved disable state on dialer action buttons (2)

Change-Id: I6ca0ff387bb15ef39f951c6e745ff929e9c92b73
Import revised translations.  DO NOT MERGE

Change-Id: I8996037c577660c0c340fc06fe53f9722a3a5157
am 1da01662: am b8214da0: Fix Close button for 3rd-party SIP accounts in SipSettings.

Merge commit '1da016621c6a347d5ad6eb798f9f8b871784f2d7'

* commit '1da016621c6a347d5ad6eb798f9f8b871784f2d7':
  Fix Close button for 3rd-party SIP accounts in SipSettings.
am cae7d56e: am 2b50131c: Use AtomicFile for saving profile data.

Merge commit 'cae7d56e1eb2365f7830b9bbdcd4151f0088e1a1'

* commit 'cae7d56e1eb2365f7830b9bbdcd4151f0088e1a1':
  Use AtomicFile for saving profile data.
Merge "DO NOT MERGE - improved disable state on dialer action buttons (2)" into gingerbread
Merge "Import revised translations.  DO NOT MERGE" into gingerbread
am 4e4decfd: Merge "DO NOT MERGE - improved disable state on dialer action buttons (2)" into gingerbread

Merge commit '4e4decfd8ae53defcd82ab093123ef2e9cdb147b' into gingerbread-plus-aosp

* commit '4e4decfd8ae53defcd82ab093123ef2e9cdb147b':
  DO NOT MERGE - improved disable state on dialer action buttons (2)
am 024a18bc: Merge "Import revised translations.  DO NOT MERGE" into gingerbread

Merge commit '024a18bc30c748a190daf3181aebf9d7459879ce' into gingerbread-plus-aosp

* commit '024a18bc30c748a190daf3181aebf9d7459879ce':
  Import revised translations.  DO NOT MERGE
am 10c2c466: (-s ours) am 4e4decfd: Merge "DO NOT MERGE - improved disable state on dialer action buttons (2)" into gingerbread

Merge commit '10c2c4669f8963b0df1cd1df0204a2afa39d74ce'

* commit '10c2c4669f8963b0df1cd1df0204a2afa39d74ce':
  DO NOT MERGE - improved disable state on dialer action buttons (2)
am 7719e640: (-s ours) am 024a18bc: Merge "Import revised translations.  DO NOT MERGE" into gingerbread

Merge commit '7719e64002d5f85d8b54c0b8d2a645af80d06e98'

* commit '7719e64002d5f85d8b54c0b8d2a645af80d06e98':
  Import revised translations.  DO NOT MERGE
Merge "Don't try to go to the call log on devices with no call log"
Mark test strings as non-translatable

The apps/Phone/tests package is test code, so nothing there ever needs to
be translated.  So rename strings.xml to donottranslate_strings.xml so
that the translation process will skip it.

(Right now that file only has one string in it, but I'm about to add a few
more, so let's do this cleanup first...)

Also:
  - Actually start using that one string
  - Delete the bogus values-*/strings.xml here which should never have
    been created in the first place

Change-Id: I89b7bd09cd2f6eb1bd95abc3bd1890ea3362becb
Add CALL/DIAL test activity.

This is a test activity that mimics the behavior of 3rd party apps firing
off CALL and DIAL intents, which will be useful when working on bugs
3116684 and/or 3116625 (which cover handling DIAL and CALL gracefully on
non-voice-capable devices.)

Note this activity is part of com.android.phone.tests, which is not
installed by default, and it's not in the LAUNCHER category either.  So to
run it you need to manually build apps/Phone and do an "adb sync", and
then "adb shell am start -n com.android.phone.tests/.CallDialTest".

Bug: 3116625

Change-Id: Ibadbd36bdb06121611a501acfa20ad42ba3f38d7
Update return type of APIs from Set to List.

Change-Id: I3737809395ce02285695c5620b78cdf9450acc64
Import revised translations.  DO NOT MERGE

Change-Id: I15cd83ef55894d92f904bfde942717b0f11bc134
am 73e99be2: Import revised translations.  DO NOT MERGE
am f64b4fe5: (-s ours) am 73e99be2: Import revised translations.  DO NOT MERGE
Disconnect headset when turning Off.

Earlier we were waiting for the DeviceDisconnectRequested signal
from Bluez. But we don't get that when we turn off BT.
It works fine, just that its done more gracefully here.

Change-Id: I40b98bc58ee0b74b4e8fa684edfc9a90479fc138
Check for incoming connections state before making an outgoing connection.

Sometimes SDP record is not available, so we delay connection.
In the meantime an incoming connection can come and we get connected.
We then try to connect, no sdp records, we just set the state to disconnected.
Technically we are connected :-)

This code desperately needs a state machine.

Change-Id: I8b70380c7ca5df3f8d6e77dc584f972019ffb22b
Merge "Disconnect headset when turning Off."