ContactsCommon: fix "share visible contacts" showing up blank

Change-Id: I44e2233f1291584c152aa7578976f10a16f7ba11
Signed-off-by: Roman Birg <roman@cyngn.com>
ContactsCommon: fix exporting SIM contacts the first time

Iff the ICC cache hasn't populated before the cursor query - let it
populate, then get the free count.

Change-Id: Ic3e2d96e657ed61863b332d817d865ddbd107e55
Signed-off-by: Roman Birg <roman@cyngn.com>
ContactsCommon: use formatted sim name when displaying msim cards

Change-Id: If8295d553cd33308c055429f8c1355b3a8b6c24b
Signed-off-by: Roman Birg <roman@cyngn.com>
ContactsCommon: always create local phone AccountType

We assumed this was created by an adapter, but no adapter exists to
create local contacts. This account type is always available, and any
new contacts created will properly be added to this account type.

Change-Id: Id2b68ade6ee26b63b6e2eb5cdc65ba04b2b52f5a
Signed-off-by: Roman Birg <roman@cyngn.com>
Merge branch 'cm-11.0' of https://github.com/CyanogenMod/android_packages_apps_ContactsCommon into kitkat