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

Commit a381d375 authored by John Spurlock's avatar John Spurlock
Browse files

StatusBarNotification cleanup.

Remove obsolete ctor and obsolete accessor comment.

Change-Id: Ib72abc8fbd2a5f9a1b82da986094667f39e0bf62
parent 6108dda2
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -33,23 +33,12 @@ public class StatusBarNotification implements Parcelable {
    private final int uid;
    private final String basePkg;
    private final int initialPid;
    // TODO: make this field private and move callers to an accessor that
    // ensures sourceUser is applied.

    private final Notification notification;
    private final UserHandle user;
    private final long postTime;

    private final int score;

    /** This is temporarily needed for the JB MR1 PDK.
     * @hide */
    @Deprecated
    public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score,
            Notification notification) {
        this(pkg, id, tag, uid, initialPid, score, notification, UserHandle.OWNER);
    }

    /** @hide */
    public StatusBarNotification(String pkg, int id, String tag, int uid, int initialPid, int score,
            Notification notification, UserHandle user) {