Automatic translation import

Change-Id: I758b7db76c569af0e071c195c6ea35a2f939248a
Contacts: Fix the "Remove photo" doesn't work issue

If popup shown, it will leak when contact editor fragment bind editors.
So it need dismiss with content view remove all views.

Dismiss the popup when context view removes all views.

CRs-Fixed: 537228

Change-Id: Id7ca52f2b7dc470b3c8b6f47ec46721cb05fbf4a
Contacts: Contacts crash when tap "Tag" again

If set ellipsis at middle of text, Array index out Of bounds
exception will happen when calculate ellipsis.

Set ellipsis at end of the text.

CRs-Fixed: 541823

Change-Id: I4daba4fb7c74b827010227ab9a1501416b6307b9
Contacts: After update the displayed members, group can match it again.

Group use a list which contain the displayed members' contact id to avoid
add same member to the group.
After we pause the activity and back again, it will load again. But when
load finished, it will only add the members which existed to the list,
and missed the members which will to be added. So the members which will
to be added can be matched again.

When load finished, the displayed members contain the members which
existed and  will to be added. So we should add the displayed members to
the list.

CRs-Fixed: 556582

Change-Id: I43baa9e44aca0cc00942f0f6edb400faf49af891
Contacts: Should not show None when pick ringtone

When try to set custom ringtone for a contact, we should not
show 'None' option

Remove the None option

CRs-Fixed: 575475

Change-Id: I870fd11648f5b45c02654205c3e384fb7a8ba09a
Contacts: add the multi pick function

- add the new resource for contacts
- add multi pick function for contacts

Change-Id: I187022040ffaf9569aba4c844359b21e4714bbe2
Support editing the contact phone number before calling it

- Allow user to edit the phone number via long click in the
  contact detailed view before dialing

Change-Id: Id3c93821ea388de9233d1bd1beda4d9207a0b000
Add Baidu xCloud feautre.

- Add two menus to enable auto sync contacts to Baidu xcloud
  if BaiDuYun.apk is installed.

Change-Id: I39153658bf2e73cfc83b34d6377c4aa6aae8ac1b
Contacts: Support batch delete operation

 - Add one menu key to support delete multi contacts.

Change-Id: Icab0ee8aa81727185c25e156e9d15a14eec4d1f7
Contacts: add the feature of send contact by sms

- Add one menu in contact detailed view for user to
  send the contact info via SMS.

Change-Id: I47ee026c43cec772f089d73da3a39f2e84a0807e
Contacts: Can't join more than 21 contacts

The size of the operations exceed maximum.

Partition the operations when it's size exceed the maximum.

CRs-Fixed: 539529

Change-Id: I5ed0347fb9e74a6585ba786a1b4288a2a374160d
support to save SIM contacts.

- add the support to save SIM contacts.
- add the support to save anr and email for SIM card

Change-Id: I6c6adf8856c1d87f039ae93509d825a04f742a53
Add contact memory status function

- add one menu to display the used and total contacts number
  in each account.

Change-Id: I28cc791b0a93fb64453185cb2fac6585c2c93cf2
Contacts: Contacts app will stopped

Contacts app will stopped when input the
largest words of name.

Set input maximum length for contact name.

CRs-Fixed: 565427

Change-Id: I91af5947e25d2aac3307df88b5e8f16cf2b901b6
Launcher: It will pop shortcut added when the screen no room

Contacts show a sucesssful toast directly after send broadcast to
laucher evenwhen there is no room in launcher,
Laucher has no response to Contacts, and show the error toast
when there is no room.

When the shortcut put successful, Launcher broadcast an intent
with packagename, so Contacts show the sucessful toast only when
receive this intent.

CRs-Fixed: BZ707

Change-Id: Ice845de41c6f7ed6d14af2ed9baa98f08af33cac
add contacts local group feature

- support add/delete/edit group for Phone account
- support batch add/delete contacts in local group
- support move contacts between groups

Change-Id: I054ccd0664abad187d2dd36ab2888b993cf95818
Support IP call for the contact number

 - Add one menu for user to call the contact via IP prefix.
 - Append the user configured IP prefix ahead of the calling
   number in case of calling via IP.

Change-Id: Ie4ebd24b22991e0febd612f92594aa850f642ce7
Add support to export contacts to SIM card

- support to export contacts to SIM card,dismiss import/export
  dialog when airplane mode is on

Change-Id: Ifaff3bf077901155dbe328522a16323d2a8fc53e
Export multi contacts to vCard

- - add the feature to export multi contacts to vCard

Change-Id: Id1e438d83442b59617cda45c6ff5967dd8620935
add the support to insert contacts to phone/SIM card

- add one menu to copy contacts from phone to SIM card,and auto split
  contacts according to the numbers of phone and email.
- add one menu to copy contacts from SIM card to phone.

Change-Id: I899a10b85ab036ae5bf8f66927b0fb7ebbdfd10f