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

Commit 3cb095ed authored by Reema Bajwa's avatar Reema Bajwa
Browse files

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
parent 1bcc280a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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();
+0 −11
Original line number Diff line number Diff line
@@ -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.
     */