summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorChris Tate <ctate@android.com>2021-06-03 22:19:23 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-06-03 22:19:23 +0000
commitd3a0befee46866af8fae8c658067811bdfbc9d41 (patch)
tree13159b8e54970d1e337d8e36a33e83e3f3457962 /core/java
parentbf90bb447e50aeeb8fc34d2e8c1e52e5e2fc94c9 (diff)
parent29f1852efd836b803d09002b41a1926871950379 (diff)
Merge "Fix FGS enter/exit statslog semantics" into sc-dev
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/app/ActivityManagerInternal.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java
index d962fa3bc316..25fd254cd9f6 100644
--- a/core/java/android/app/ActivityManagerInternal.java
+++ b/core/java/android/app/ActivityManagerInternal.java
@@ -486,11 +486,11 @@ public abstract class ActivityManagerInternal {
/**
* Callback from the notification subsystem that the given FGS notification has
- * been shown or updated. This can happen after either Service.startForeground()
- * or NotificationManager.notify().
+ * been evaluated, and either shown or explicitly overlooked. This can happen
+ * after either Service.startForeground() or NotificationManager.notify().
*/
- public abstract void onForegroundServiceNotificationUpdate(Notification notification,
- int id, String pkg, @UserIdInt int userId);
+ public abstract void onForegroundServiceNotificationUpdate(boolean shown,
+ Notification notification, int id, String pkg, @UserIdInt int userId);
/**
* If the given app has any FGSs whose notifications are in the given channel,