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

Commit e513a8d1 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Documenting PendingIntent identifying flags

Test: make docs

Bug: 143764310
Change-Id: I04accd4ae6ff3eb260ca96744c00a995e081688c
parent c4f77faf
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -94,6 +94,12 @@ import java.lang.annotation.RetentionPolicy;
 * {@link #FLAG_CANCEL_CURRENT} or {@link #FLAG_UPDATE_CURRENT} to either
 * cancel or modify whatever current PendingIntent is associated with the
 * Intent you are supplying.
 *
 * <p>Also note that flags like {@link #FLAG_ONE_SHOT} or {@link #FLAG_IMMUTABLE} describe the
 * PendingIntent instance and thus, are used to identify it. Any calls to retrieve or modify a
 * PendingIntent created with these flags will also require these flags to be supplied in
 * conjunction with others. E.g. To retrieve an existing PendingIntent created with
 * FLAG_ONE_SHOT, <b>both</b> FLAG_ONE_SHOT and FLAG_NO_CREATE need to be supplied.
 */
public final class PendingIntent implements Parcelable {
    private final IIntentSender mTarget;