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
This commit is contained in:
Reema Bajwa
2023-02-22 00:43:43 +00:00
parent 1bcc280abe
commit 3cb095ed57
2 changed files with 0 additions and 12 deletions

View File

@@ -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();

View File

@@ -67,17 +67,6 @@ public final class Entry implements Parcelable {
mSlice = slice;
}
/** 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.
*/