Merge "Add a PendingIntent flag to mark unaudited PI mutability"

This commit is contained in:
TreeHugger Robot
2020-10-27 20:03:18 +00:00
committed by Android (Google) Code Review

View File

@@ -130,6 +130,7 @@ public final class PendingIntent implements Parcelable {
FLAG_UPDATE_CURRENT,
FLAG_IMMUTABLE,
FLAG_MUTABLE,
FLAG_MUTABLE_UNAUDITED,
Intent.FILL_IN_ACTION,
Intent.FILL_IN_DATA,
@@ -204,6 +205,13 @@ public final class PendingIntent implements Parcelable {
*/
public static final int FLAG_MUTABLE = 1<<25;
/**
* @deprecated Use {@link #FLAG_IMMUTABLE} or {@link #FLAG_MUTABLE} instead.
* @hide
*/
@Deprecated
public static final int FLAG_MUTABLE_UNAUDITED = FLAG_MUTABLE;
/**
* Exception thrown when trying to send through a PendingIntent that
* has been canceled or is otherwise no longer able to execute the request.