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

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

Snap for 9914775 from 03446940 to udc-release

Change-Id: Ia2e33122d5dc40ff679ca0924e9c0bf3862b6815
parents 0600d23f 03446940
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -547,7 +547,8 @@

        <service
            android:name=".vcard.VCardService"
            android:exported="false"/>
            android:exported="false"
            android:foregroundServiceType="dataSync"/>
        <!-- end vCard related -->

        <!-- Intercept Dialer Intents for devices without a phone.
+5 −0
Original line number Diff line number Diff line
@@ -30,6 +30,8 @@ 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;
@@ -140,6 +142,9 @@ 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;