summaryrefslogtreecommitdiff
path: root/core/java/android/app/NotificationManager.java
diff options
context:
space:
mode:
authorJulia Reynolds <juliacr@google.com>2016-11-22 09:26:46 -0500
committerJulia Reynolds <juliacr@google.com>2016-11-28 08:53:14 -0500
commitb6c1f99bd96d2f38980f4473baf3aa908d059db2 (patch)
tree25764a650fa5b8150e401a01bedcddd312060130 /core/java/android/app/NotificationManager.java
parentd0835e45f7663cb6abef383b9d903429c824cd20 (diff)
Allow listeners more snoozing options.
(snooze indeterminately and unsnooze) Test: runtest systemui-notification and cts tests in same topic. Change-Id: I5ce74638f55ed796bc6b26af167b32b0040f4222
Diffstat (limited to 'core/java/android/app/NotificationManager.java')
-rw-r--r--core/java/android/app/NotificationManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/app/NotificationManager.java b/core/java/android/app/NotificationManager.java
index 2234a3850005..047f349b1e54 100644
--- a/core/java/android/app/NotificationManager.java
+++ b/core/java/android/app/NotificationManager.java
@@ -19,6 +19,7 @@ package android.app;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.SdkConstant;
+import android.annotation.TestApi;
import android.app.Notification.Builder;
import android.content.ComponentName;
import android.content.Context;
@@ -428,6 +429,7 @@ public class NotificationManager
/**
* @hide
*/
+ @TestApi
public ComponentName getEffectsSuppressor() {
INotificationManager service = getService();
try {