diff options
| author | 2023-02-22 00:43:43 +0000 | |
|---|---|---|
| committer | 2023-03-07 18:35:30 +0000 | |
| commit | 3cb095ed57531ecab29449d4b853c6a1b00e2e97 (patch) | |
| tree | 1d3f8ba15e0c6a968f4ef005ef582a08c9b2b827 | |
| parent | 1bcc280abe1521fd80cb74fe83d999ab56df01ee (diff) | |
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
| -rw-r--r-- | core/api/test-current.txt | 1 | ||||
| -rw-r--r-- | core/java/android/credentials/ui/Entry.java | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/core/api/test-current.txt b/core/api/test-current.txt index c17bbae6f459..1a2e61e5d1a9 100644 --- a/core/api/test-current.txt +++ b/core/api/test-current.txt @@ -1110,7 +1110,6 @@ package android.credentials.ui { 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 12665bad53a9..55f2a3eb490b 100644 --- a/core/java/android/credentials/ui/Entry.java +++ b/core/java/android/credentials/ui/Entry.java @@ -70,17 +70,6 @@ public final class Entry implements Parcelable { /** 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); |