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

Commit d4b519c6 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 9981223 from 92181923 to udc-release

Change-Id: Ib6fc58135e35e671ec44d772adc71b1babc53edb
parents f313d09e 92181923
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@ import android.provider.ContactsContract.QuickContact;
import android.provider.Settings;
import android.text.TextUtils;

import androidx.core.os.BuildCompat;

import com.android.contacts.logging.ScreenEvent.ScreenType;
import com.android.contacts.model.account.GoogleAccountType;
import com.android.contacts.quickcontact.QuickContactActivity;
@@ -142,9 +140,6 @@ public class ImplicitIntentsUtil {
    public static Intent getIntentForAddingAccount() {
        final Intent intent = new Intent(Settings.ACTION_SYNC_SETTINGS);
        intent.setFlags(Intent.FLAG_ACTIVITY_NEW_DOCUMENT);
        if (BuildCompat.isAtLeastU()) {
            intent.setData(Uri.fromParts("package", "com.android.contacts", null));
        }
        intent.putExtra(Settings.EXTRA_AUTHORITIES,
                new String[]{ContactsContract.AUTHORITY});
        return intent;