Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfb566ac authored by Alon Albert's avatar Alon Albert Committed by Android (Google) Code Review
Browse files

Merge "Disable Export For Local Search" into klp-dev

parents fd4df88d fcd4addf
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -389,10 +389,11 @@ public class ContactLoader extends AsyncTaskLoader<Contact> {
        if (accountName != null) {
            final String accountType = json.getString(RawContacts.ACCOUNT_TYPE);
            contact.setDirectoryMetaData(directoryName, null, accountName, accountType,
                    Directory.EXPORT_SUPPORT_SAME_ACCOUNT_ONLY);
                    json.optInt(Directory.EXPORT_SUPPORT,
                            Directory.EXPORT_SUPPORT_SAME_ACCOUNT_ONLY));
        } else {
            contact.setDirectoryMetaData(directoryName, null, null, null,
                    Directory.EXPORT_SUPPORT_ANY_ACCOUNT);
                    json.optInt(Directory.EXPORT_SUPPORT, Directory.EXPORT_SUPPORT_ANY_ACCOUNT));
        }

        final ContentValues values = new ContentValues();