summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorYuri Lin <yurilin@google.com>2021-10-28 14:27:12 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-10-28 14:27:12 +0000
commit43bfb31275d232e3cdaa0d60ffa91cbd5c30161b (patch)
tree6bc8a4d0449bd19806f38fb16a2fa3738914afc3 /core/java
parentb6571060e9f3da3dc6d233abcad72ff5ba37c66b (diff)
parent8c128dae902b9266d9d2281516e398cbdf118870 (diff)
Merge "Enforce that callers to matchesCallFilter have either listener access or read_contacts permission."
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/NotificationManager.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/app/NotificationManager.java b/core/java/android/app/NotificationManager.java
index 9be4adcbec75..7dbd8148657a 100644
--- a/core/java/android/app/NotificationManager.java
+++ b/core/java/android/app/NotificationManager.java
@@ -2579,6 +2579,9 @@ public class NotificationManager {
* for more information.
* </p>
* <p>
+ * Callers of this method must have notification listener access or permission to read contacts.
+ * </p>
+ * <p>
* NOTE: This method calls into Contacts, which may take some time, and should not be called
* on the main thread.
* </p>