Revert "contacts: Privacy Guard support"

Also revert "Use MemoryCursor code in framework."

Change-Id: I278e3e41421693ccb309366a69ff53092e03261e
Fix IllegalArgumentException.

Include alternative display name in the phone lookup projection, since
the BT app needs it. Fixes this backtrace:

D BluetoothPbapObexServer: search by number, requestSize=1 offset=0 searchValue=4436029097
E DatabaseUtils: Writing exception to parcel
E DatabaseUtils: java.lang.IllegalArgumentException: Invalid column display_name_alt
E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.computeProjection(SQLiteQueryBuilder.java:632)
E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.buildQuery(SQLiteQueryBuilder.java:447)
E DatabaseUtils: 	at android.database.sqlite.SQLiteQueryBuilder.query(SQLiteQueryBuilder.java:393)
E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:6066)
E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.queryLocal(ContactsProvider2.java:5846)
E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.queryInternal(ContactsProvider2.java:4810)
E DatabaseUtils: 	at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:4773)
E DatabaseUtils: 	at android.content.ContentProvider$Transport.query(ContentProvider.java:189)
E DatabaseUtils: 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:113)
E DatabaseUtils: 	at android.os.Binder.execTransact(Binder.java:351)
E DatabaseUtils: 	at dalvik.system.NativeStart.run(Native Method)

Change-Id: I15f531c5b0ea4b0a4a9de864872dd3256667e568
JIRA:CYAN-2204
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/packages/providers/ContactsProvider into cm-10.2

Android 4.3 Release 3.1
Merge "Revert "contacts: Privacy Guard support"" into cm-10.2
ContactsProvider: Fix polyphones in Chinese.

    Merge the resolution for polyphones in Chinese from https://github.com/ShenduOS/android_packages_providers_ContactsProvider/commit/d232513ba086fd0508def8ef0f7fb7d9cec5d171, thanks the Shendu OS team.

    Patch Set 2:
       Format the code style.

Change-Id: I84d5921ec43502bcfd2a1aefd4cae9fd0600c9d1
Import translations. DO NOT MERGE

Change-Id: I825456df594d3d5be1d56f5cd3ce4c8f80374d65
Auto-generated-cl: translation import
Merge tag 'android-4.4_r1' into cm-11.0

Android 4.4 Release 1.0
Import translations. DO NOT MERGE

Change-Id: If972be004cfc68854a1e3ff646a52ac119a539d1
Auto-generated-cl: translation import
Fix broadcast of CONTACTS_DATABASE_CREATED intent.

The intent needs to be fired after database creation in case the user does
a clear data.  This is needed in addition to the boot receiver to cover
all cases.

Bug: 11570016
Change-Id: Iaa3d952cc6db0a9c0e55e209f5fe41919ae7250a
Merge "Fix broadcast of CONTACTS_DATABASE_CREATED intent." into klp-dev
Merge tag 'android-4.4.1_r1' into HEAD

Android 4.4.1 Release 1
Merge remote-tracking branch 'cm/cm-11.0' into kitkat