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

Commit fcd4addf authored by Alon Albert's avatar Alon Albert
Browse files

Disable Export For Local Search

Bug: 10709571
Change-Id: Ia11119e3b92c9bf95c3840e740328a599bc72942
parent 98b3b9ad
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();