Automatic translation import

Change-Id: I507d2dc285db33a74998e3b1adb0818d50d3e4cf
Automatic translation import

Change-Id: I25814d97f2154e98c7fb5e462b7c7ba6868ae052
quickcontact: fallback to default secondary action drawable

If the resource package doesn't have a valid resource drawable, then fallback
to default drawable.

Change-Id: I92d36b9e4ac3a444718d924c0c992325185d80a9
JIRA: CYAN-4350
Issue: https://jira.cyanogenmod.org/browse/CYAN-4350
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Merge "quickcontact: fallback to default secondary action drawable" into cm-11.0
Automatic translation import

Change-Id: I0f44707a6b9f58ba1690513243fa8664d506e425
Automatic translation import

Change-Id: I06102f588a2179aff78c4f90141b6aa438a1fb24
Automatic translation import

Change-Id: Ia952745cfc1e180b19fae78dcb0bd4f76141f452
Automatic translation import

Change-Id: I293c3eacf563a5ac3a2a7ad289b64de321c9bb7e
Automatic translation import

Change-Id: If1a4266504bc74282073d0bbcdc6a7e442e7ad71
Contacts: place local contacts in a special local account

Local contacts should be stored in a special account (not the default
one, which has null values for the name, type, and dataset) so that they
are not being taken over by external contact sync services.

Change-Id: Ib7b18d09e32ad3fffaca5edb925602b27a209151
Signed-off-by: Roman Birg <roman@cyngn.com>
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