summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2016-10-19 13:38:06 +0200
committerDanny Baumann <dannybaumann@web.de>2016-10-20 16:44:25 +0200
commitac7b58ec1c8b07537960bfafe40e31ddc9a94719 (patch)
treeee40ffee4e20ddc0cbfa6a64827b445a4d05ff0d /core
parente05eda22dd6d2e4834b5ff2b364d4258ad590f3e (diff)
downloadframeworks_base-ac7b58ec1c8b07537960bfafe40e31ddc9a94719.zip
frameworks_base-ac7b58ec1c8b07537960bfafe40e31ddc9a94719.tar.gz
frameworks_base-ac7b58ec1c8b07537960bfafe40e31ddc9a94719.tar.bz2
Support enforcing a minimum delay between notification sounds of an app.
Useful e.g. for messenger apps. Change-Id: If8e8cc9e2f02d70537c1f9dc14f22bbd0ec1e9a6
Diffstat (limited to 'core')
-rw-r--r--core/java/android/app/INotificationManager.aidl3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/app/INotificationManager.aidl b/core/java/android/app/INotificationManager.aidl
index 7c51a83..59ff413 100644
--- a/core/java/android/app/INotificationManager.aidl
+++ b/core/java/android/app/INotificationManager.aidl
@@ -58,6 +58,9 @@ interface INotificationManager
void setShowNotificationForPackageOnKeyguard(String pkg, int uid, int status);
int getShowNotificationForPackageOnKeyguard(String pkg, int uid);
+ void setPackageNotificationSoundTimeout(String pkg, int uid, long timeout);
+ long getPackageNotificationSoundTimeout(String pkg, int uid);
+
// TODO: Remove this when callers have been migrated to the equivalent
// INotificationListener method.
StatusBarNotification[] getActiveNotifications(String callingPkg);