summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api/system-current.txt1
-rw-r--r--core/java/android/app/prediction/AppTargetEvent.java5
2 files changed, 6 insertions, 0 deletions
diff --git a/core/api/system-current.txt b/core/api/system-current.txt
index c8c94b5fca70..3df88833ca44 100644
--- a/core/api/system-current.txt
+++ b/core/api/system-current.txt
@@ -1928,6 +1928,7 @@ package android.app.prediction {
field public static final int ACTION_DISMISS = 2; // 0x2
field public static final int ACTION_LAUNCH = 1; // 0x1
field public static final int ACTION_PIN = 3; // 0x3
+ field public static final int ACTION_UNDISMISS = 5; // 0x5
field public static final int ACTION_UNPIN = 4; // 0x4
field @NonNull public static final android.os.Parcelable.Creator<android.app.prediction.AppTargetEvent> CREATOR;
}
diff --git a/core/java/android/app/prediction/AppTargetEvent.java b/core/java/android/app/prediction/AppTargetEvent.java
index 51e3953ead4f..91da8ec71dae 100644
--- a/core/java/android/app/prediction/AppTargetEvent.java
+++ b/core/java/android/app/prediction/AppTargetEvent.java
@@ -60,6 +60,11 @@ public final class AppTargetEvent implements Parcelable {
*/
public static final int ACTION_UNPIN = 4;
+ /**
+ * Event type constant indicating an app target has been un-dismissed.
+ */
+ public static final int ACTION_UNDISMISS = 5;
+
private final AppTarget mTarget;
private final String mLocation;
private final int mAction;