Contacts: can't add member in local group

Set the wrong intent action when startup
multi pick contact activity.

Set the right intent action when startup
multi pick contact activity.

CRs-Fixed: 621087

Change-Id: Iee76307cf955d38751dbed61009d34377b48c890
Contacts: Fixed the long email address display normal and no overlap

In multi pick contacts activity the email address is too long to
display overlaps with other views.

Add a single line display attributes for long text.

CRs-Fixed: 625818

Change-Id: If151b55b9653d04f91960572c2b888524fb6e5ac
Contacts: Make sim contact photo not editable

SIM contact photo should not be editable in contact detail.

When it is a sim contact, forbit to edit the contact photo.

CRs-Fixed: 629442

Change-Id: Ic51028d201247e9e6ac79f605c3785e5ba3f35b6
Contacts: Fix contacts photo display smaller in delete contacts list

The contacts photo cropped from a new photo or the photo from gallery is
smaller than the default contacts photo.

Referring to contacts list view, we fix the photo size in delete list view
to remain contacts photos in the same size.

CRs-Fixed: 630290

Change-Id: I1f960594dd6f1d9abc897877c816af7439bb81c7
Contacts: Fix MultiPickContactActivity shows blank sim contact item issue

We should show the email address for the sim contacts without name or
phone number fields.

If there is no phone number, we will replace it with the email address.

CRs-Fixed: 631652

Change-Id: Icf385dfe0afcc456c060220769cca2d8f109471f
Fix no response when tap internet call field

Except for Phone.CONTENT_ITEM_TYPE, using mPrimaryActionClickListener
to respond the click action for other item type.
For Phone.CONTENT_ITEM_TYPE, there is other onClickListener to respond
it.

CRs-Fixed: 633528

Change-Id: Id72170d7b54e6227c86c072b731468884b4d79c5
Contact: Make email data in SIM inaccessible in airplane mode

When turn on the airplane mode, the selection condition for
email data not changed,so we also can read the data in sim card

Change the selection condition for email data to make the email
data in Sim card not available

CRs-fixed: 631805

Change-Id: Ia775b5b834be841e2fed77aa8b40de25fe3b764d
Contacts: Fix "Click to select group" button disappeared

"Click to select group" button disappeared after delete added
group and rotate screen in contact edit screen. The reason is
that mEntry.mAfter of LocalGroupsSelector will be set to null
when delete added group. Then entry.isVisible() in setValues()
of LabeledEditorView is false, so the visibility of
"Click to select group" button will be set to View.GONE.

Just remove the value of column in mEntry.mAfter instead that
set mEntry.mAfter of LocalGroupsSelector to null.

CRs-Fixed: 630120

Change-Id: Ia1bb5646f3148e7536ca3a0fe226d63bfdeaaf61
change the display name for SIM and phone account

- change the account name and icon for SIM and phone account
- change the SIM name for Ip call

Change-Id: Ieb9626bdf89b646b0073e307e855f7e3e95bd91e
Contacts: Fix "No contact" when rotate screen.

If user rotate screen, the search result in contact
selection activity will disappear. restart loader could
not work properly.

Destory loader before we restart.

CRs-fixed: 637279

Change-Id: I4d67fc2e93fd746fe33bfc165ba15607a9ab96c8
Add SIM power down check in airplane mode judgment

When the property("persist.radio.apm_sim_not_pwdn") is 1,
SIM card can be read and wrote on enabling APM mode. In this
situation, don't need to filter SIM contacts.

CRs-Fixed: 641479 640365

Change-Id: I8af92b628c822277c0b40d2a640a39ff1009ed4f
Add support to select multi call log

- support to delete multi call log
- support to set black/white for multi call log from firewall.

Change-Id: I046f7e20ce1083064c5fc710e04065d48c3db6f3
Add the visible label for unit test

- add the visible label for the method which used to unit test

CRs-Fixed: 652947

Change-Id: I842f36a80826acf5314cec862860086c6e337452
Contacts: Do not observer DB change in MemberListActivity when it paused

While import SIM contacts in background, switching among PeopleActivity,
MemberListActivity and Luncher could cause lots of DB operations and data
change notifications. As a result, the screen will be frozen or dark
during these operations.

Do not observer DB change in MemberListActivity when it paused, since it
will requery in onResume.

CRs-Fixed: 659023

Change-Id: I02866b262c86a9dab4ecda5b7138020b2d035d5c