diff options
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java index a58ceaa99022..294621ee07f8 100644 --- a/core/java/android/app/ActivityManagerInternal.java +++ b/core/java/android/app/ActivityManagerInternal.java @@ -779,6 +779,16 @@ public abstract class ActivityManagerInternal { * @param started {@code true} if the process transits from non-FGS state to FGS state. */ void onForegroundServiceStateChanged(String packageName, int uid, int pid, boolean started); + + /** + * Call when the notification of the foreground service is updated. + * + * @param packageName The package name of the process. + * @param uid The UID of the process. + * @param foregroundId The current foreground service notification ID, a negative value + * means this notification is being removed. + */ + void onForegroundServiceNotificationUpdated(String packageName, int uid, int foregroundId); } /** |
