Remove unused constructor from Entry class
This constructor (test api only) is no longer needed and should be cleaned-up. Surfaced in API review.
Test: built locally
Bug: 264717022
Change-Id: I496c159852ddfd874427a1edaa83cf7f69fc8146
diff --git a/core/api/test-current.txt b/core/api/test-current.txt
index c17bbae..1a2e61e 100644
--- a/core/api/test-current.txt
+++ b/core/api/test-current.txt
@@ -1110,7 +1110,6 @@
public final class Entry implements android.os.Parcelable {
ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice);
- ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, @NonNull android.app.PendingIntent, @NonNull android.content.Intent);
ctor public Entry(@NonNull String, @NonNull String, @NonNull android.app.slice.Slice, @NonNull android.content.Intent);
method public int describeContents();
method @Nullable public android.content.Intent getFrameworkExtrasIntent();
diff --git a/core/java/android/credentials/ui/Entry.java b/core/java/android/credentials/ui/Entry.java
index 12665ba..55f2a3e 100644
--- a/core/java/android/credentials/ui/Entry.java
+++ b/core/java/android/credentials/ui/Entry.java
@@ -70,17 +70,6 @@
/** Constructor to be used for an entry that requires a pending intent to be invoked
* when clicked.
*/
- // TODO: Remove this constructor as it is no longer used
- public Entry(@NonNull String key, @NonNull String subkey, @NonNull Slice slice,
- @NonNull PendingIntent pendingIntent, @NonNull Intent intent) {
- this(key, subkey, slice);
- mPendingIntent = pendingIntent;
- mFrameworkExtrasIntent = intent;
- }
-
- /** Constructor to be used for an entry that requires a pending intent to be invoked
- * when clicked.
- */
public Entry(@NonNull String key, @NonNull String subkey, @NonNull Slice slice,
@NonNull Intent intent) {
this(key, subkey, slice);