Merge "Revert "Add Extra Parameter for Intent"" am: b68d1e13df

Original change: https://android-review.googlesource.com/c/platform/packages/apps/Contacts/+/2565931

Change-Id: I9c1c3c28037d136c310bfc70f2d91ae9dfc5b7c8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/src/com/android/contacts/util/ImplicitIntentsUtil.java b/src/com/android/contacts/util/ImplicitIntentsUtil.java
index e1377e0..a1ab896 100644
--- a/src/com/android/contacts/util/ImplicitIntentsUtil.java
+++ b/src/com/android/contacts/util/ImplicitIntentsUtil.java
@@ -30,8 +30,6 @@
 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 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;